Enable JavaScript to use search. / 検索を使用するには JavaScript を有効にしてください。
Posts
Thu, June 29, 2017
2 min read
USPS Tracking Numbers are Recycled and Not Unique Values
Why treating USPS tracking numbers as unique values is dangerous — they get recycled after delivery.
read more →
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
3 min read
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
1 min read
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
4 min read
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.
Mon, February 27, 2017
[Mongoose] Using Only createdAt with timestamp options
How to keep only createdAt in Mongoose by implementing it yourself in pre save/update hooks.
Thu, February 23, 2017
How to Build a Proxy Server with Squid3
Steps for building an HTTP proxy server on Ubuntu using Squid 3.x.
Wed, February 22, 2017
Price Comparison of CAPTCHA Breaking Services Compatible with Search Ranking Checker Tool Serposcope
A price comparison of four CAPTCHA breaking services that work with Serposcope, with a monthly cost estimate.
Tue, February 21, 2017
Practicing the Pomodoro Technique with the Toggl App
Turning on Pomodoro timer settings in the Toggl app to run the technique in a familiar tool.
Sat, February 18, 2017
I Tried Using Free Proxies with Search Ranking Checker Tool Serposcope but It Didn't Work
I hooked Serposcope up to free proxies, but CAPTCHAs made it completely unusable.
Wed, February 15, 2017
Steps to Install Search Ranking Checker Tool Serposcope on Ubuntu
Install the Serposcope 2.6.0 deb package on Ubuntu and start the service to expose the rank checker.
How to Install Java 8 on Ubuntu 16
Add the webupd8team PPA and install Oracle Java 8 on Ubuntu 16.04 for a serposcope host.
Mon, February 13, 2017
Free WordPress Cache Plugin Comparison
Comparing free WordPress cache plugins from an Nginx + PHP-FPM operator's perspective.
Fri, February 10, 2017
Installing iftop on Mac
After brew install iftop, the binary wasn't on PATH, so I symlinked it into /usr/local/bin/.
Thu, February 9, 2017
Options I Use with ssh-keygen When Creating SSH Public and Private Keys
The ssh-keygen options (-t, -b, -f, -C, -l) I regularly use to create SSH key pairs.
[JavaScript] How to Get the Number of Decimal Places
A getDecimalPlace helper that uses toString().split('.') to count decimal places in JavaScript.
Sun, February 5, 2017
[JavaScript] Remove All Elements with Specified ID or Class Name
Pure JavaScript functions to remove DOM elements by id or class name, no jQuery required.