Enable JavaScript to use search. / 検索を使用するには JavaScript を有効にしてください。
Posts
Thu, March 21, 2019
1 min read
Command to Convert Line Endings from CR+LF (Windows) to LF (Linux) [Linux, macOS Edition]
Batch convert CR+LF line endings to LF on Linux/macOS with a one-liner using the tr command.
read more →
Tue, March 19, 2019
3 min read
Investigation Summary for Utilizing G Suite Audit Logs
Notes on G Suite audit log capabilities, retention, and downloading logs via the Reports API.
Sat, March 16, 2019
ImageMagick Sample Code for Converting Images to @2x, @3x, @4x Sizes
Sample code that uses ImageMagick's convert to emit @2x, @3x, and @4x variants of an image.
Thu, March 14, 2019
2 min read
How to Fix the Issue Where @username Mentions Don't Notify in Slack API
Why @username mentions no longer notify via Slack API, and how to look up @userID with users.list.
Tue, March 12, 2019
[GNU Make] Summary of Reference Information for Learning How to Write Makefiles
A reading list of official manuals, tutorial articles, and books I used to learn how to write Makefiles with GNU Make.
Sat, March 9, 2019
What's the Recommended VPS for Hosting WordPress for US Audience?
Comparing Amazon Lightsail, DigitalOcean, and Linode for hosting WordPress targeted at a US audience.
Thu, March 7, 2019
[macOS] Random String Generation Command for Passwords: pwgen
Installing and using pwgen on macOS to generate random password strings, including symbol characters.
Tue, March 5, 2019
[Git] Command to delete all merged local branches
Delete all merged local Git branches (except master / develop) and wrap the command in a .gitconfig alias.
Thu, February 28, 2019
Summary of research for creating engineer recruitment page on bosyu
Research for creating an engineer recruitment page on bosyu, including service overview and real examples.
Tue, February 26, 2019
[MongoDB] How to resolve SyntaxError: Unexpected end of input, Unexpected token }
When a regex literal breaks the MongoDB shell with SyntaxError, use the RegExp constructor instead.
Sat, February 23, 2019
MacBook Pro 2018 (13 inch) PC case 'KIZUNA' purchase report
A purchase report on the KIZUNA PC case bag for the 13-inch MacBook Pro 2018.
Thu, February 21, 2019
Purchased 'Apple USB-C - 3.5 mm Headphone Jack Adapter MU7E2FE/A' to use wired earphones with MacBook Pro
A short note on buying Apple's USB-C to 3.5 mm headphone jack adapter for MacBook Pro.
Tue, February 19, 2019
MacBook Pro 2018 compatible 'Satechi Thunderbolt 3 (USB-C) Multi Hub' purchase report
A photo unboxing report of the Satechi Thunderbolt 3 (USB-C) Multi Hub, purchased for a MacBook Pro 2018.
Sat, February 16, 2019
Articles and learning materials for Go language introduction [2019 Edition]
A free-materials-focused reading list I used to get started with Go as an experienced developer. (2019 edition)
Thu, February 14, 2019
Error: Cannot find module '../build/Release/sodium' solution [macOS Edition]
Fixing the Node.js 'Cannot find module sodium' error on macOS with Homebrew's libsodium and a fresh npm install.
Tue, February 12, 2019
Steps to build specific version Elasticsearch [Docker Edition]
How to run a specific Elasticsearch version on Docker, from docker run to curl verification.
Sat, February 9, 2019
Steps to build specific version Redis server [Docker Edition]
How to run a specific Redis version on Docker and verify it via redis-cli INFO Server.
Thu, February 7, 2019
Steps to build specific version MongoDB server [Docker Edition]
Run a specific MongoDB version locally with docker run, then verify from the mongo CLI.
Tue, February 5, 2019
MySQL Setup Procedure for Specific Version [Docker Edition]
How to run a specific MySQL version on Docker, including the GRANT tweaks Docker for Mac needs.
Sat, February 2, 2019
Books and articles to get a general understanding of antisocial forces
Primer articles and books for a general understanding of antisocial forces reaching into the Japanese startup industry.
Thu, January 31, 2019
macOS System Preferences memo [2019 Edition]
The macOS System Preferences I revisit whenever I set up a new Mac, listed category by category.
Tue, January 29, 2019
Useful information for getting internal approval for engineer PC renewal
How I got internal approval for an engineer PC refresh — angles, references, and depreciation timing.
Sat, January 26, 2019
How to simultaneously log in to multiple Google/Gmail accounts
Stay signed in to multiple Google accounts simultaneously using Chrome's multi-login feature.
Thu, January 24, 2019
Go language version management tool gvm installation [macOS Edition]
Installing gvm on macOS and switching between specific golang versions.
Tue, January 22, 2019
Android Studio installation for macOS
Installing Android Studio on macOS Mojave and clearing the SDK-license error.
Sat, January 19, 2019
SNS strategies learned from 'Achieving Dreams Through SNS'
Reading notes on 'Achieving Dreams Through SNS' — differentiating posts by platform and starting with no risk.
Thu, January 17, 2019
[Mac] Memory cleaning apps are deprecated since OS X 10.9.x Mavericks
Why memory-cleaner apps are no longer recommended since OS X Mavericks, and how to check memory usage with Activity Monitor.
Tue, January 15, 2019
[Xcode 10] How to solve Multiple commands produce error
Resolving the Xcode 10 Multiple commands produce error by switching to the Legacy Build System.
Sat, January 12, 2019
G Suite Team Drive introduction and customization settings
Customization settings I enabled when introducing G Suite Team Drive on the Business plan.
Thu, January 10, 2019
Steps to set up AWS Lambda local development environment [Serverless Framework Edition]
Setting up AWS Lambda local development with serverless-offline and companion plugins.
Tue, January 8, 2019
How to delete all services deployed with Serverless Framework
Cleaning up leftovers from `serverless remove` — deleting the S3 Bucket, DynamoDB Table, and CloudFormation stack from the AWS Console.
Sat, January 5, 2019
Migrated from GitHub to GitLab to use Private Repository for free
GitLab's GitHub import errored out, so I migrated by creating a Blank project and re-pointing git remote before pushing.
Thu, January 3, 2019
[AWS Lambda] We recommend npm install serverless --global to reduce node_modules file size
Global-installing Serverless Framework cut the AWS Lambda deployment .zip by about 10 MiB.
Tue, January 1, 2019
How to fix the problem of double-displayed titles in Yoast SEO
Fixing doubled titles after installing Yoast SEO by enabling Force rewrite titles on the Search Appearance page.
Mon, December 31, 2018
6 min read
Reflecting on 2018 [Work, Family, Learning]
Looking back on 2018 as Engineering Lead — hiring, warehouse relocation projects, 1on1s, family, and learning.
Thu, December 27, 2018
Services I paid for in 2018 [Subscription Edition]
The subscription services I paid for in 2018 — LastPass, Backblaze, Evernote, Amazon Prime, Google One, and Family Album Mitene.
Tue, December 25, 2018
[Node.js] Sample code to get href values with cheerio
You need to chain .find('a') before .attr('href') to read an anchor's href with cheerio.
Sat, December 22, 2018
Upload from AWS Lambda function to S3 [Serverless Framework Edition]
Uploading HTML from an AWS Lambda function to S3, with Serverless Framework handling bucket and IAM setup.
Thu, December 20, 2018
How to check the list of AWS Lambda default environment variables
Listing AWS Lambda's default environment variables via docs and a Node.js process.env dump.
Tue, December 18, 2018
Email and Slack message templates for announcing 2FA activation to your company
Email and Slack message templates for asking coworkers to turn on 2FA, with Google and Slack help links.
Sat, December 15, 2018
How to fix Task timed out after 6.00 seconds error [Serverless Framework][AWS Lambda]
My Lambda function hit the default 6 s timeout, so I bumped the `timeout` value in `serverless.yml`.
Thu, December 13, 2018
Deploying to AWS Lambda with Serverless Framework
Installing Serverless Framework and deploying to AWS Lambda using the aws-nodejs template.
Tue, December 11, 2018
How to register and use multiple AWS accounts with AWS CLI
Register multiple AWS accounts with `aws configure --profile` and switch between them via --profile.
Sat, December 8, 2018
Immediately installed Classic Editor plugin after updating to WordPress 5.0
Reverting from Gutenberg to the Classic Editor plugin after upgrading to WordPress 5.0.
Thu, December 6, 2018
4 min read
The role of Engineering Lead
Mapping the Engineering Lead role from The Manager's Path onto my actual day-to-day work.
Tue, December 4, 2018
[Node.js] JavaScript heap out of memory can be resolved with --max-old-space-size
Working around a Node.js JavaScript heap out of memory in CI by raising --max-old-space-size to 2048 MB.
Tue, November 27, 2018
Steps to create an Ionic PWA and release it to Netlify
Creating an Ionic PWA with the create-stencil ionic-pwa starter and deploying it to Netlify from GitHub.
Sat, November 24, 2018
Recommended ways to increase audio input for engineers who have no time due to childcare and housework
For time-strapped engineers with families, a guide to boosting audio input via Podcasts, Audible, and Voicy.
Thu, November 22, 2018
[Mongoose] How to fix RangeError: attempt to write outside buffer bounds
The RangeError: attempt to write outside buffer bounds in Mongoose comes from BSON's 16MB per-document limit.
Tue, November 20, 2018
MongoDB document size can be obtained with Object.bsonsize()
Measure the byte size of a MongoDB document with `Object.bsonsize()` in the mongo shell.