Enable JavaScript to use search. / 検索を使用するには JavaScript を有効にしてください。
Posts
Tue, July 18, 2017
1 min read
Build with docker-compose build --no-cache Without Using Cache
A quick note on docker-compose build --no-cache to rebuild without the build cache.
read more →
Mon, July 17, 2017
2 min read
[JavaScript/ES6] Promise Usage, Introduction, and Learning Resources Summary
Introductory articles, an e-book, a Workshopper module, and explainers for learning ES6 Promises.
Sun, July 16, 2017
3 min read
How to Auto-Renew Let's Encrypt SSL Certificates with certbot and crontab
Setting up monthly auto-renewal of Let's Encrypt certificates with certbot and crontab.
[Ubuntu] Solution for 'sudo: add-apt-repository: command not found' Error
Fixing 'add-apt-repository: command not found' on Ubuntu by installing software-properties-common.
Sat, July 15, 2017
[JavaScript] Extract Only the Domain Part After @ from Email Address
A short sample that uses String.prototype.split() to pull the domain part out of an email address.
Fri, July 14, 2017
PDXNode Presentation Night July 2017 Participation Report
A recap of PDXNode Presentation Night in July 2017, the Portland Node.js community meetup.
Thu, July 13, 2017
Mac App 'Muzzle' That Can Turn Off Notifications During Video Calls is Super Convenient
Introducing Muzzle, a Mac app that silences notifications during video calls.
Wed, July 12, 2017
PO (purchase order) = Purchase Order, Order Form, Purchase Instruction
PO = Purchase Order, and sometimes Product Owner or Project Owner — a quick reference to disambiguate the term.
Tue, July 11, 2017
4 min read
[WordPress] Couldn't Edit Category from Admin Panel, So Resolved by Updating Database
Working around a WordPress category permission error by updating wp_terms directly in MySQL.
Mon, July 10, 2017
Make life easier with cron format checking services
Two web services that make cron expressions easier: crontab.guru for English and Cron Builder for Japanese GUI users.
Sun, July 9, 2017
[macOS Sierra] Solution to Stop Showing 'Enter passphrase for key' Every Time
Adding UseKeychain and AddKeysToAgent to ~/.ssh/config stops macOS Sierra from asking for the SSH passphrase every time.
Fri, July 7, 2017
Leadership Anti-patterns
Five leadership anti-patterns I identified from a real workplace experience.
Thu, June 29, 2017
USPS Tracking Numbers are Recycled and Not Unique Values
Why treating USPS tracking numbers as unique values is dangerous — they get recycled after delivery.
Tue, June 20, 2017
Compared reset.css and normalize.css and Decided to Recommend normalize.css
Comparing reset.css and normalize.css and choosing normalize.css for its keep-what-works philosophy.
Sun, June 18, 2017
Q) 'If You Were to Introduce a CSS Preprocessor?' A) 'I'd Go with PostCSS' ~ Rough Comparison of PostCSS, Stylus, Sass, Less
Comparing PostCSS, Stylus, Sass, and Less to decide which CSS preprocessor fits your team.
Fri, June 9, 2017
WordPress 'Currently under maintenance, temporarily unavailable.' - How to fix
Recovering a WordPress site stuck on the maintenance message by deleting the .maintenance file.
Thu, June 8, 2017
git add -p is Short for git add --patch
git add -p is short for --patch, not --partial — a small discovery from the git add help output.
Thu, June 1, 2017
Using Regular Expressions to Append Specific Strings After Image URL Extensions .jpeg .jpg .png
A JavaScript regex snippet that appends .webp after .jpeg / .jpg / .png in image URLs, query parameters included.
Tue, May 30, 2017
[Bash] Shell Script to List URLs That Return HTTP Status Code 200
A Bash snippet using curl and a for loop to list only URLs that return HTTP 200.
Thu, May 25, 2017
[JavaScript] 46 Ways to Convert Strings to Boolean
Several approaches for turning strings into Booleans in JavaScript — the !! idiom, strict comparison, and a toBoolean helper.
Mon, May 22, 2017
[PayPal] TOKEN Valid Time is 3 Hours by Default, Maximum 72 Hours
The PayPal SetExpressCheckout TOKEN is valid for 3 hours by default and up to 72 hours on request.
Tue, May 16, 2017
[Mongoose] Saving Error Objects to Schema.Types.Mixed Fields
Convert Error objects with toString() or lodash.toPlainObject() before saving them to a Mongoose Schema.Types.Mixed field.
Wed, May 10, 2017
[atom-ternjs] Solution for 'Failed to find plugin node-express'
Fixing atom-ternjs's 'Failed to find plugin node-express' error by installing the tern-node-express plugin.
Tue, May 9, 2017
Steps to Install Latest Stable Nginx on Ubuntu LTS 16.04
Add the official Nginx apt repository to Ubuntu 16.04 and install the latest stable 1.12.0.
Mon, May 8, 2017
Collection of Japanese and English Articles to Understand the Difference Between git merge --ff and --no-ff
Reference articles on `git merge --ff` vs `--no-ff`, plus how I use `--no-ff` by default.
Sun, May 7, 2017
ConoHa VPS is Recommended for Server Cost Discounts Through Shareholder Benefits
How GMO Internet's shareholder benefit knocks 5,000 yen off ConoHa VPS server costs, plus pros and cons.
Tue, May 2, 2017
How to use moment.js and moment-timezone in MongoDB shell
Load moment.js and moment-timezone into the MongoDB shell — with a mongorc.js snippet for automatic loading.
Fri, April 28, 2017
Mastodon Default Image Locations, Sizes and Other Information for Administrators
Where Mastodon v1.3.1 keeps its default images (app/assets/images), with a size-annotated file listing.
Thu, April 27, 2017
How to fork from GitHub to Bitbucket as Private repository while developing
How to run a public GitHub repository as a fork inside a free Bitbucket private repository.
Wed, April 26, 2017
[Docker] How to resolve Error response from daemon: Container xxx is restarting, wait until the container is running
How I recovered from Docker's 'container is restarting' error using docker rm and docker-compose up -d.
Sun, April 23, 2017
Mastodon email sending configuration - Gmail Edition
How to configure a self-hosted Mastodon instance to send email through Gmail via .env.production SMTP settings.
Sat, April 22, 2017
[Linode] How to find Coupon Code and Referral Code
Finding Linode coupon codes and using a referral code at signup.
Mastodon usage guide, server setup, and useful tools summary
Curated references on Mastodon usage, server setup on Sakura Cloud / VPS / AWS, and useful tools.
Web scraping with Google Apps Script ~ Checking if a page contains specific text
A Google Apps Script sample for checking whether a page contains a specific string via UrlFetchApp.
Thu, April 20, 2017
[Mac] terminal-notifier is convenient for notifying when Terminal commands complete!
How to install and use terminal-notifier to get Mac notifications when long Terminal commands finish.
Sun, April 16, 2017
Useful articles for getting started with Apache Cordova
A curated list of articles and docs that helped me get started with Apache Cordova alongside the Ionic framework.
Sat, April 15, 2017
How to check Ionic Framework version
How to check the Ionic Framework main and CLI versions with npm info, ionic --version, and package.json.
Wed, April 12, 2017
Which CSS framework should engineers who aren't good at frontend adopt? → Bootstrap is still recommended
In-house engineers weigh in on Bootstrap, Semantic UI, Foundation, and Materialize — Bootstrap wins.
Mon, April 10, 2017
Google Sheets Data Validation that only allows null string or 1 ~ 100
A Google Sheets custom validation combining OR / AND / ISNUMBER / GTE / LTE to allow only 1-100 or a null string.
Sun, April 9, 2017
[Ubuntu] How to handle messages saying packages can be updated or updates are security updates
How to handle the 'packages can be updated' message on Ubuntu with apt-get update and upgrade.
Thu, April 6, 2017
Points to check when configuration file specified in Serposcope's Dserposcope.conf is not loaded
Serposcope ignored `-Dserposcope.conf` because I had the `java` command options in the wrong order.
Wed, April 5, 2017
[MySQL] How to configure my.cnf (Mac + Homebrew Edition)
How to configure my.cnf for MySQL installed with Homebrew on Mac.
Sun, April 2, 2017
Change MySQL character encoding to UTF8
Steps to switch MySQL 5.7's character encoding to UTF8 via my.cnf.
Sun, March 26, 2017
Free VPN Service Tunnello Recommended
How to install and use Tunnello, a Chrome extension VPN service with 1GB free per month.
Sat, March 25, 2017
[Mocha] Execution order of before, beforeEach, after, afterEach
The execution order of Mocha's before, beforeEach, afterEach, and after hooks with sample code.
Fri, March 17, 2017
Vue.js Tokyo v-meetup="#3" Participation Report #vuejs_meetup3
A personal summary of the sessions I attended at Vue.js Tokyo v-meetup #3.
Wed, March 15, 2017
CAPTCHA Frequency with Search Ranking Checker Tool Serposcope
A case study of tuning Serposcope to keep CAPTCHA occurrences under 10 across about 6000 keywords.
Sun, March 12, 2017
[MongoDB] Query to Get Documents with nth Decimal Places and Update with mth Decimal Place Values
Use $where and `toFixed(2)` to round prices with 3+ decimal places down to two.
Sat, March 4, 2017
How to use Windows on Mac for free (IE, Edge only)
Set up IE and Edge testing on a Mac for free using VirtualBox and ievms.
Thu, March 2, 2017
6 min read
Inside Frontend #1 Participation Report #insideFE
Notes and impressions from the sessions I attended at the Inside Frontend #1 conference.