Enable JavaScript to use search. / 検索を使用するには JavaScript を有効にしてください。
Posts
Sat, April 23, 2016
1 min read
[Node.js] npm package executable files exist as symbolic links in node_modules/.bin
How npm-installed executables end up as symlinks under node_modules/.bin, with a real directory listing.
read more →
Sun, April 10, 2016
3 min read
What I want you to do if you're aiming to be a supportive type of leader
A prioritized to-do list for supportive-style leaders — hand off work, catch up on the team, join meetings, own cross-team coordination.
Sat, April 9, 2016
Linking Google Analytics and AdSense
Linking Google Analytics and AdSense to analyze the relationship between sessions, PV/UU, and AdSense revenue.
Thu, April 7, 2016
[Google Analytics] How to resolve 'A security issue has occurred. Please reload the page. Unable to verify your account credentials. Please check your account information and log in again.'
Resolving the 'security issue' error in Google Analytics caused by the authuser URL parameter.
Sun, April 3, 2016
Comparing online storage services for backup purposes
Comparing Google Drive, Dropbox, OneDrive, MEGA, S3, and Backblaze B2 for personal backup on price and usability.
Sun, March 27, 2016
[Gmail] Setting and using multiple stars other than the default star
Enabling Gmail's multiple stars and narrowing them down to a small set that stays manageable in daily use.
E-commerce sites can expect SEO benefits by displaying reviews on product pages
Notes on why showing many product reviews helps SEO, with a look at how Amazon.co.jp lays out customer reviews.
Sat, March 19, 2016
Use printjson() to output Objects in MongoDB shell
Use printjson() instead of print() to inspect Object values inside the MongoDB shell.
Thu, March 17, 2016
Engineers aren't wizards who can do everything
Engineering roles are highly specialized — a note on setting realistic expectations across them.
Tue, March 15, 2016
Set WordPress author name to be hidden
Hiding the WordPress author name on single-author sites via a theme option.
Fri, March 11, 2016
[Linux] For deleting tab characters and spaces, tr command with -d option is simple and recommended
Use tr -d to strip tabs and spaces on Linux or macOS, plus a quick reference for tr's main options.
2 min read
Proposals from people without track records are like entrepreneurs with ideas but no execution ability
An email excerpt on why cross-team proposals need a track record and completed personal work behind them.
Thu, March 10, 2016
Summary of information I referenced to complete tax filing with e-Tax
A collection of references I used to complete tax filing with Japan's e-Tax system.
Mon, March 7, 2016
Recommended PoE-compatible network hubs [Spring 2016]
PoE network switches recommended by a LAN contractor in spring 2016: BUFFALO and NETGEAR.
Fri, March 4, 2016
[Mac] Steps to install ionice command
Download ionice.c from GitHub, build it with gcc, and install it into /usr/local/bin/ to use ionice on Mac.
Tue, March 1, 2016
Mac app 'Disk Speed Test' for HDD and SSD disk speed testing
Blackmagic Disk Speed Test — a free Mac App Store tool for benchmarking HDD and SSD read/write speeds.
Fri, February 19, 2016
[Wi-Fi] Difference between 'wireless connection/joining' and 'simultaneous communication after wireless connection'
Q&A memo distinguishing Yamaha WLX302's wireless connection limits from its simultaneous communication limits.
Thu, February 18, 2016
How to share videos with specific people using YouTube and Google+
Record with QuickTime Player, upload to YouTube as Private, then share via Google+ with only the people you want.
Sun, February 7, 2016
How to grant guests permission to modify events in Google Calendar
How to grant guests permission to modify Google Calendar events, and why it can't be an org-wide default.
Sat, February 6, 2016
For 2FA apps, 'Authy' is more recommended than 'Google Authenticator'
Why I switched my 2FA app from Google Authenticator to Authy for PC support and backup-based recovery.
Mon, February 1, 2016
[CircleCI] Writing [ci skip] in commit message skips CI execution
Including [ci skip] in a commit message tells CircleCI to skip the build for that commit.
Fri, January 15, 2016
YAMAHA WLX302 Configuration
Notes on the YAMAHA WLX302 wireless AP — max client counts, link-speed channel profiles, and SSID operation plans.
Configuration Method for Setting Up Two AirMac Extreme Units
Extending Wi-Fi with two AirMac Extreme units: factory reset, Google Public DNS, and reference links.
Thu, December 31, 2015
[ssh] How to fix 'Warning: the RSA host key for 'server_name' differs from the key for the IP address 'xxx'
How I cleared the ssh RSA host key mismatch warning by deleting the offending line from known_hosts.
Mon, December 28, 2015
When Google Drive files are completely deleted, Google might be able to restore them?
Google support may restore completely deleted Drive files within a limited window if you ask soon.
Wed, December 23, 2015
[jQuery] Understanding slick.js carousel library's lazyLoad
Using slick.js's lazyLoad option and understanding the difference between ondemand and progressive modes.
Mon, December 21, 2015
[Linux] Multi-hop ssh/scp configuration
Using ProxyCommand in .ssh/config to run multi-hop ssh/scp in a single command.
Thu, December 17, 2015
Converting Mongoose documents to JSON and returning response
Use Mongoose's lean() to return documents as a JSON response from Express with res.json.
Wed, December 16, 2015
Understanding Load Average
Notes on reference articles for understanding load average on multi-core Linux systems.
Mon, December 14, 2015
[Node.js] Converting CSV to JSON files using CSVTOJSON
A small Node.js snippet that pipes csvtojson between fs read and write streams to turn a CSV file into a JSON file.
Wed, December 2, 2015
[Twitter] Capturing custom events from tweet button and executing something when clicked
A JavaScript snippet that binds a callback to the Twitter tweet button click event via twttr.events.bind.
Sat, November 28, 2015
[Mac App] Timer app 'Alinof Timer' is simple and easy to use
A short look at Alinof Timer, a simple Mac timer app I use to time internal meeting presentations.
[MongoDB] Field Naming Conventions
Since the MongoDB manual mixes snake_case and lowerCamelCase, standardize on whichever is easier for your application code.
Thu, November 5, 2015
[Atom] How to fix 'The editor has crashed' error #AtomEditor
How I resolved Atom's 'The editor has crashed' error by uninstalling suspect packages one by one to find the culprit.
Mon, October 26, 2015
[Mongoose] Trouble with Stream Processing Only Default batchSize When Sorting by Unindexed Field
A Mongoose stream sorted by an unindexed field stops at 1000 docs — cause and workarounds.
Fri, October 9, 2015
avn: Automatically Switch Node.js Versions
Set up avn to automatically switch Node.js versions from a .node-version file when you cd into a project.
Thu, October 1, 2015
Difference Between China's Country Codes CN and C2 #country_code
The difference between PayPal's CN and C2 country codes for China, and how to use each in cross-border e-commerce.
Thu, September 24, 2015
[Heroku] Migrating to cedar-14 Stack
Migrating a Heroku app to the cedar-14 stack with heroku stack:set and an empty git commit.
Upgrading Heroku Command Version
Upgrading heroku-toolbelt to Heroku Toolbelt v4 with heroku update after stack:set was unavailable.
Wed, September 16, 2015
[Node.js] How to Fix Error: spawn ENOENT
child_process.spawn's Error: spawn ENOENT was caused by a missing ImageMagick binary.
Mon, September 14, 2015
[MongoDB] Difference Between Code 11000 and 11001 in E11000 duplicate key error index
Reproducing why MongoDB 2.4.5 returned both 11000 and 11001 for duplicate key error index, and confirming 3.0.2 unified them to 11000.
Thu, September 10, 2015
Site That Shows Global Email Client Market Share
A reference site for global email client market share, useful when deciding which clients to test HTML emails on.
Tue, September 8, 2015
[Amazon Redshift] TEXT type is converted to VARCHAR(256)
Amazon Redshift converts TEXT columns to VARCHAR(256) — a gotcha when coming from MySQL or PostgreSQL.
Mon, September 7, 2015
Chrome Extensions to Make Trello More Convenient for Scrum
Four Chrome extensions that make Trello more useful for Scrum-based Kanban.
Mon, August 31, 2015
[MongoDB] Check the dbpath where database files are stored
Look up MongoDB's dbpath from `db.serverCmdLineOpts()` in the mongo shell.
Sun, August 23, 2015
4 min read
[MySQL] Check the size of database and tables
SQL to check MySQL database and table sizes, and how to wrap it as a stored procedure.
Sat, August 22, 2015
"YAPC::Asia Tokyo 2015" 8/22(Sat) Retrospective #yapcasia
Day 2 recap of YAPC::Asia Tokyo 2015 — session notes and impressions up to the closing session.
5 min read
"YAPC::Asia Tokyo 2015" 8/21(Fri) Retrospective #yapcasia
Day 1 recap of YAPC::Asia Tokyo 2015 — session notes and impressions from the 10th and final edition.
Wed, August 19, 2015
Recommended Atom Editor Packages Summary
Recommended Atom editor packages grouped by use case, plus an apm star snippet that installs them all at once.
Sun, August 9, 2015
[Node.js] Difference between module.exports and exports
A short note on module.exports vs exports in Node.js — when in doubt, use module.exports.