Enable JavaScript to use search. / 検索を使用するには JavaScript を有効にしてください。
Posts
Thu, January 3, 2019
2 min read
[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.
read more →
Tue, January 1, 2019
1 min read
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
3 min read
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.
Sat, November 17, 2018
[Nuxt.js] How to fix the bug where npm run dev doesn't start after npx create-nuxt-app
Fixing a fresh Nuxt.js project that won't run npm run dev by swapping ctx.isClient for process.client.
Thu, November 15, 2018
Praise in public, scold in 1-on-1
A management note from The Manager's Path: praise in public, scold in 1-on-1 — and ask first.
Tue, November 13, 2018
Shortened URLs should not be used for internal sharing - they're full of disadvantages
Why shortened URLs are a poor fit for internal sharing — opacity, redirects, unsearchable, and shutdown risk.
Thu, November 8, 2018
JavaScript sample code to mention User Group via Slack API
Mention a Slack User Group with <!subteam^ID|handle> and a JavaScript chat.postMessage sample.
Tue, November 6, 2018
[AWS EC2] Instance Store - Ephemeral Disk (volatile disk) can be used for free
AWS EC2 instance store (Ephemeral Disk) is free to use, with the caveat that data is wiped on instance stop.
Thu, November 1, 2018
[macOS] Migrated memory cleaner from "Dr. Cleaner" to "Memory Cleaner"
Losing trust in Trend Micro and migrating from Dr. Cleaner to Nektony's Memory Cleaner on macOS.
Sat, October 27, 2018
5 min read
How to resolve node-gyp errors during npm install
Four ways I've fixed recurring node-gyp rebuild errors during npm install.
Thu, October 25, 2018
[Google Forms] JavaScript Sample Code to Get Radio Button, Checkbox, and Dropdown Options
JavaScript sample code to extract radio, checkbox, and dropdown options from a Google Form.
Tue, October 23, 2018
How to Completely Erase macOS Disk
Standard macOS clean install plus a full-wipe path using diskutil secureErase from a bootable installer.
Tue, October 16, 2018
[WordPress] Migrated from All in One SEO Pack to Yoast SEO
Migrating a WordPress SEO plugin from All in One SEO Pack to Yoast SEO after Twitter Card errors appeared.
Sat, October 13, 2018
The Type of Person Who Doesn't Want 'Friendly Relationships' at Work
Why an engineering manager might not want 'friendly relationships' at work, sparked by a passage from The Manager's Path.
Thu, October 11, 2018
Ideas for Not Working with 'People You Don't Want to Work With'
Practical options — from direct feedback to changing jobs — for not working with people you'd rather not.
Tue, October 9, 2018
How to Meet Non-Functional Requirements?
How to avoid shipping features that meet functional but not non-functional requirements, using GitHub issues and Sprint Review.
Tue, October 2, 2018
[Mongoose] Setting validation runValidators: true in update() and findOneAndUpdate()
Turn on validators for Mongoose update() and findOneAndUpdate() with the runValidators: true option.
Thu, September 27, 2018
Amazon SQS Message Limits per Queue
A quick summary of Amazon SQS's per-queue inflight message limits for standard and FIFO queues.
Sat, September 22, 2018
Are iPhone Earphones the Best for Remote Work?!
Why I ended up going back to Apple's EarPods with 3.5 mm Headphone Plug for remote work.
Tue, September 18, 2018
[MongoDB] How to Fix "$err" : "Can't canonicalize query: BadValue cannot compare to undefined", "code" : 17287
Reproducing and guarding against the MongoDB code 17287 undefined-comparison error.
Sat, September 15, 2018
7 min read
Wise Words from 'Don't Read the Air' (『空気を読んではいけない』の金言)
Wise words from Shinya Aoki's 'Don't Read the Air,' viewed through an engineer's lens.
Thu, September 13, 2018
How to Fix Japanese and Chinese Character Display Issues in wkhtmltopdf
Getting Japanese and Chinese to render in wkhtmltopdf via IPAex Font and Noto Sans CJK.
Tue, September 11, 2018
[Nginx] How to Exclude Specific URLs from Basic Authentication
Using satisfy any and allow all to exempt specific URLs or static assets from Nginx Basic auth.
Wed, September 5, 2018
Migrating Domain Registrar from DNSimple to Amazon Route 53
Steps for migrating a domain registrar from DNSimple to Amazon Route 53.
Tue, September 4, 2018
Number Abbreviations: No. and # (Number Sign)
A quick look at abbreviations for Number (No., #, №) and how to use them concisely.
Sat, September 1, 2018
instagram-scraper: A Python Tool for Downloading Instagram Images and Videos
How to install and use the Python CLI tool instagram-scraper to download Instagram images and videos.
Thu, August 30, 2018
Manually Renewing Let's Encrypt SSL [CentOS + Nginx Edition]
Manually renewing a Let's Encrypt SSL certificate on CentOS + Nginx with certbot-auto.
Tue, August 28, 2018
How to Install Python 3 on macOS High Sierra
Run brew install python3 on macOS High Sierra to get Python 3.7, then verify python3 and pip3.
Thu, August 23, 2018
I Think Not Being Able to Buy Additional Coupons During IIJmio OFF-Time Communication Restrictions is a Lost Opportunity
IIJmio's off-time throttling makes even buying more data impossible — a real-world lost-opportunity story.
Tue, August 21, 2018
Setting Google Calendar to Display Time for Each TimeZone
Enable Show world clock in Google Calendar to keep multiple time zones visible in the sidebar.
Thu, August 16, 2018
Remote Work May "Potentially Degrade Social Skills"
A favorite illustration from The Oatmeal on how remote work may quietly degrade your social skills.
Tue, August 14, 2018
github-changes Can Auto-Generate CHANGELOG.md from Commit Messages
How to use github-changes to auto-generate CHANGELOG.md from commit messages, with a real-world PR example.
Sun, August 12, 2018
When Mining Ether on Ethereum Private Network, eth.blockNumber Stays at 0 Because DAG Generation Isn't Complete
eth.blockNumber stayed at 0 on an Ethereum private net because DAG generation wasn't done yet.
Sat, August 11, 2018
Installing geth (go-ethereum) and Connecting to Private Network [MacOS Edition]
Install geth on macOS via Homebrew and connect to an Ethereum private network.
Tue, August 7, 2018
[MongoDB] $pull and $pullAll for Removing Specific Elements from Array Fields
$pull and $pullAll examples for removing single or multiple elements from a MongoDB Array field.