Enable JavaScript to use search. / 検索を使用するには JavaScript を有効にしてください。
Posts
Mon, July 16, 2018
1 min read
2018 Recovery Projection for Companies That Raised Hundreds of Millions in 2014
Introducing The Startup's 2018 review of 100 companies that raised big rounds in 2014, and reacting to being on the unrecoverable list.
read more →
Thu, July 5, 2018
4 min read
Stopped MAC Address Filtering Function
Why I turned off office Wi-Fi MAC address filtering after finding the security benefit didn't justify the maintenance cost.
Tue, July 3, 2018
2 min read
[MongoDB] Search Conditions for Deeply Nested Fields
Why dot notation matches nested MongoDB fields but object-form conditions require an exact match.
Thu, June 28, 2018
docker rmi Command to Delete Docker Images
How to delete Docker Images with docker rmi and reclaim disk space, including dangling image cleanup.
Tue, June 26, 2018
[Node.js] How to Resolve Error: ENFILE: file table overflow, open xxx
Fixing Node.js's ENFILE: file table overflow on macOS by raising the file descriptor limit with launchctl plist files.
Thu, June 21, 2018
Using Google Spreadsheets for Q&A Management Almost Led to Collapse
Migrating cross-company Q&A management from Google Spreadsheets to GitHub Issues after it started to break.
Mon, June 18, 2018
Retirement-Driven Development (RDD)
Retirement-Driven Development: using a teammate's departure to convert tacit knowledge and drop busywork.
Thu, June 14, 2018
SSL/TLS 1.0 Must Be Disabled by June 30, 2018
A short reminder that SSL/TLS 1.0 must be disabled by June 30, 2018.
Tue, June 12, 2018
3 min read
Setting up SSL with Let's Encrypt [CentOS + Nginx Edition]
Setting up a Let's Encrypt SSL certificate on CentOS + Nginx with certbot-auto.
Sat, June 9, 2018
yum upgrade from CentOS 6.6 to 6.9
Upgrading a server from CentOS 6.6 to 6.9 via yum, with before/after PHP and MySQL versions.
Thu, June 7, 2018
Upgrading Nginx Version with yum ~ CentOS 6
Steps to upgrade Nginx to a newer version with yum on CentOS 6.
Tue, June 5, 2018
How to Write crontab Considering Daylight Saving Time PST/PDT
A crontab notation example that accounts for PST/PDT daylight saving time shifts.
Thu, May 31, 2018
[Fluentd] The Origin of .pos File Name is Position
The Fluentd .pos file gets its name from 'position' — where the tail input last read to.
Thu, May 24, 2018
[MongoDB] How to Resolve Error: getMore: cursor didn't exist on server, possible restart or timeout?
Tuning indexes first, then falling back to the noTimeout cursor option to fix MongoDB's getMore cursor error.
Tue, May 22, 2018
IPO Salaries Typically Range from 4.2 to 5 Million Yen
A look at Mercari's and ZUU's 2018 securities reports and typical IPO-era salaries in Japan.
Thu, May 17, 2018
Checking Elasticsearch Index List
curl one-liners to list Elasticsearch indexes and to delete a specific index by name.
Tue, May 15, 2018
java.io.IOException: Missing root object specification in trailer Error with easy-pdf-merge
Working around a PDFBox bug in the easy-pdf-merge npm package by using a maintained fork.
Sat, May 12, 2018
Changed Evernote Paid Plan from Monthly to Annual Payment
Switched Evernote Plus from monthly to annual billing and saved about 1,220 yen a year.
Thu, May 10, 2018
Engineers/Programmers Will Eventually Become Cheap Labor
Notes on a book's prediction that engineering will commoditize, and what still matters in an AI-driven era.
Tue, May 8, 2018
Purchased a Used Office Chair for Remote Work Base
Picking up a used Okamura Adfit office chair for a remote work base via Office Busters.
Sat, May 5, 2018
301 Redirects After Web Service Closure are Good for SEO
How to handle 301 redirects after shutting down a web service, and why 3-6 months is enough from an SEO perspective.
Thu, May 3, 2018
[JavaScript] fast-safe-stringify is Convenient for Preventing TypeError: Converting circular structure to JSON
Use fast-safe-stringify to serialize circular references as [Circular] and avoid JSON.stringify TypeErrors.
Tue, May 1, 2018
npm Juice Converts CSS in style Tags to Inline Styles - Convenient for HTML Emails
A quick look at npm Juice for inlining CSS in HTML emails, plus an online converter and Gmail notes.
Sat, April 28, 2018
The Best Time for 1on1s is Thursday 3-5 PM
Why the book Yahoo's 1on1 recommends Thursday 3-5 PM as the best slot for 1on1 meetings.
Thu, April 26, 2018
Using MongoDB's findOneAndUpdate with Replica Set Awareness to Reduce Load on Primary DB
Prefixing findOneAndUpdate with a secondaryPreferred findOne to offload reads from the MongoDB primary.
Tue, April 24, 2018
Solution for No space left on device error ~ inode depletion edition
Tracking down a No space left on device error on Linux to inode depletion caused by wp-file-cache.
Sat, April 21, 2018
CDN Implementation Proposal
A CDN proposal covering the basics, trade-offs, and choosing between CloudFront and Fastly.
Thu, April 19, 2018
How to Remove WordPress Cache Plugin WP File Cache
How I deactivated and completely removed the WP File Cache plugin after it exhausted the server's inodes.
Tue, April 17, 2018
[Ionic] How to Clear Cache When Building for Android/iOS
How I recovered from Ionic + Cordova build failures by clearing the cache via platform remove / add.
Thu, April 12, 2018
PayPal RefundTransaction API cannot refund after 180 days from payment date
The PayPal RefundTransaction API cannot refund after 180 days — notes on workarounds with MassPay and DoNonReferencedCredit APIs.
Wed, April 11, 2018
Encounter with the Pomodoro Technique
How Rebuild.fm and the book SOFT SKILLS led me to finally try the Pomodoro Technique.
Thu, April 5, 2018
npm json2csv for converting JSON to CSV format is super convenient
A quick guide to converting JSON to CSV with npm json2csv, including sample code and why to avoid custom CSV.
Tue, April 3, 2018
How to specify TLS version with cURL
How to probe TLS 1.0 / 1.1 / 1.2 support individually using cURL's --tlsv1.x options.
Sun, April 1, 2018
Presented 'What We Practice for Continuous npm update' at We Are JavaScripters! @17th #wejs
My talk 'What We Practice for Continuous npm update' at the We Are JavaScripters! @17th meetup.
Sat, March 31, 2018
For Sakura Cloud and VPS CPU specifications, you have to check cpuinfo yourself
Sakura support won't share physical host CPU specs — you have to check /proc/cpuinfo yourself.
Tue, March 27, 2018
About AWS EC2 instance-specific network bandwidth and bandwidth guarantee
Measured per-instance EC2 network bandwidth references and confirmation that AWS does not guarantee it.
Thu, March 22, 2018
[npm] How to remove packages not in package.json from node_modules
A short memo on using npm prune to remove packages missing from package.json out of node_modules.
Tue, March 20, 2018
AWS EC2 instance selection meeting Wowza Streaming Engine minimum recommended specifications
Choosing AWS EC2 instance types that meet Wowza Streaming Engine's minimum recommended specifications.
Sat, March 17, 2018
[Nginx] Access restriction configuration to block specific IP addresses
Adding a deny directive inside a location block to block a specific IP address in Nginx.
Tue, March 13, 2018
[MongoDB] Query to find documents with specific ObjectId from all collections
A mongo shell snippet that scans every collection to locate a document when all you have is its ObjectId.
Thu, March 8, 2018
[JavaScript] Quick solution for URI malformed / malformed URI sequence errors
A quick try...catch workaround for the URIError raised by decodeURIComponent on invalid input.
Tue, March 6, 2018
[MongoDB] Index names can only be set up to a maximum of 127 bytes
Reproducing MongoDB's 127-byte index name limit with successful and failing createIndex calls.
Sat, March 3, 2018
[Git] Solution for fatal: unable to access: SSL certificate problem: Invalid certificate chain
A quick workaround for the Invalid certificate chain error by toggling `http.sslVerify`.
Thu, March 1, 2018
Solution for large /tmp/magick-xxx files created by ImageMagick and policy.xml configuration changes
Cleaning up massive /tmp/magick-xxx files and tuning ImageMagick's policy.xml resource limits.
Mon, February 26, 2018
[Linux] Commands to check CPU core count
How to check CPU core count and processor details on Linux with nproc, getconf, and /proc/cpuinfo.
Sat, February 24, 2018
Using cordova-plugin-safariviewcontroller with Ionic Framework
Sample code for opening external URLs with cordova-plugin-safariviewcontroller in Ionic Framework, with an InAppBrowser fallback.
Thu, February 22, 2018
[Ionic] How to use InAppBrowser to open URLs in default browser
Sample code for opening URLs in the device's default browser via Ionic's InAppBrowser using the '_system' target.
Sat, February 17, 2018
How to launch iOS apps in simulator with Ionic Framework
Build with ionic cordova build ios, open the .xcodeproj in Xcode, and run the app in the iOS Simulator.
Thu, February 15, 2018
Getting started with ionic start
The options I chose when creating an Ionic Framework project with ionic start — starter, Cordova, and Ionic Pro SDK.
Tue, February 13, 2018
Greenkeeper service that automatically runs npm update & creates pull requests is convenient
Setup notes for Greenkeeper, which opens automated npm update pull requests on your GitHub repositories.