Enable JavaScript to use search. / 検索を使用するには JavaScript を有効にしてください。
Posts
Sat, September 21, 2013
1 min read
[WordPress] Solution for 'Could not remove old plugin'
Resolving WordPress 'Could not remove old plugin' with a chown to nginx.
read more →
[Linux] How to Change Hostname
Changing a CentOS server hostname via /etc/hosts and /etc/sysconfig/network.
[iOS] Code Sign error: No matching provisioning profile found: Your build settings specify a provisioning profile with the UUID
Fixing an iOS Code Sign error by removing the stale PROVISIONING_PROFILE line from project.pbxproj.
Thu, September 19, 2013
[MongoDB] Backup with mongodump and Restore with mongorestore
mongodump / mongorestore commands for backing up and restoring a whole DB or a single collection.
[jQuery] How to Get Checked Checkbox Values and Store Them in an Array
A memo on collecting checked checkbox values into an array using jQuery's :checked selector and each().
Wed, September 18, 2013
[G Suite] Email and Group Message Sending Limits
Official G Suite help links for email and Google Groups sending limits, plus a DAEMON error tip.
Sun, September 15, 2013
[CoffeeScript] Object Iterator is for of
In CoffeeScript, iterate over object keys with `for key of object` instead of `for in`.
[Nginx] How to Check Compile Options
Use nginx -V to inspect the configure arguments and enabled modules of an installed Nginx binary.
[PHP-FPM] recv() failed (104: Connection reset by peer)
Raising PHP-FPM's request_terminate_timeout to 120s to stop frequent 502 Bad Gateway errors.
[WordPress] Solution for WP Super Cache WPTouch Error
Fix the WPTouch helper plugin error when combining WP Super Cache and WPTouch by enabling it in WP Super Cache settings.
5 min read
Steps to Build WordPress Environment with Nginx + php-fpm + MySQL on CentOS 6.3 (Sakura VPS)
Building a WordPress environment with Nginx + php-fpm + MySQL on Sakura VPS running CentOS 6.3.
[Sakura VPS] Installing Ubuntu 12.04
Installed Ubuntu 12.04 on Sakura VPS by following the official custom OS installation guide.
[Mac] Setup Method for Using Sakura VPS VNC Console on Mountain Lion
To use the Sakura VPS VNC console on Mountain Lion, revert Java from 7 back to Java 6.
Sat, September 14, 2013
[Pinterest] Displaying Share Count (Pin Count) Above or Beside the Pin It Button
Using Pinterest's Widget builder to add a Pin Count next to the Pin It button.
Wed, September 11, 2013
Librato Metrics - Service for Metrics, Monitoring, and Alerts
A bookmark note on Librato Metrics, a SaaS for metrics, monitoring, and alerts.
Sun, September 8, 2013
2 min read
[RVM] Should Migrate from .rvmrc to .ruby-version and .ruby-gemset
Migrating from .rvmrc to .ruby-version and .ruby-gemset for cross-manager Ruby configuration.
3 min read
[Mac] Installing PHP5.4 with Homebrew
Tap josegonzalez/homebrew-php and install PHP 5.4 on Mac with fpm, intl, and pgsql options.
[Node.js] Reverse Reference Memo
A reverse-reference memo for common Node.js tasks like checking whether a file exists.
Email Marketing Services Summary (MailChimp, Mad Mimi)
A quick link memo of HTML email marketing services for newsletters: MailChimp and Mad Mimi.
Wed, September 4, 2013
Got a Path T-shirt!
I received a T-shirt from the social networking app Path. American sizes were big, so I went with Small.
Sun, September 1, 2013
[WordPress] Bogo Plugin for Easy Per-User Language Switching Between Japanese and English in Admin Dashboard
Switching WordPress admin dashboard language per user between Japanese and English with the Bogo plugin.
[CoffeeScript] Eliminating that = this with @ and =>
A short link memo pointing to an article on avoiding that = this with CoffeeScript's @ and =>.
Fri, August 30, 2013
[Stripe] About Refund Cancellation/Reversal Processing
Stripe refunds can't be cancelled — the workaround is to re-charge via Create Payment in the Stripe dashboard.
[Jade] Getting Both Element and Index with each
In Jade, `each item, index in list` exposes the loop index alongside the element.
Fri, August 9, 2013
[WordPress] Disable wp-cron
A one-line wp-config.php change to disable WordPress wp-cron.
Thu, August 8, 2013
[jQuery] How to Clear, Reset, and Empty Form Values
A jQuery snippet for clearing form values across a whole form or within a specific area such as a modal.
Tue, August 6, 2013
How to Install CoffeeScript
Install nvm and Node.js, then run npm install -g coffee-script to get CoffeeScript up and running.
Fri, August 2, 2013
[Mongoose] How to Specify Two or More Different OR Conditions
To combine two or more different OR conditions in Mongoose, wrap the $or clauses inside an explicit $and.
Wed, July 31, 2013
Site for Downloading Currency Codes as CSV Files
The Google Adsense Host API docs expose ISO 4217 currency codes as a direct CSV download.
Thu, July 25, 2013
[iOS] Work Memo for App Update Submissions
How I answered the encryption and legal-issue prompts shown during an iPhone app update submission.
Cloud Services for Android and iOS Apps: BaaS (Backend as a Service) Summary
A 2013 snapshot of Backend as a Service (BaaS) options for Android and iOS apps.
[Github] How to update a forked repository to the latest state
Update a forked repository to the latest upstream by pointing git pull at the original repository URL.
Wed, July 24, 2013
[Android] OAuth2 Authentication Implementation Methods
Reference links for three ways to implement OAuth2 in Android apps: scribe-java, WebView, and AccountManager.
Tue, July 23, 2013
Amazon Mobile App Distribution Program Registration Method
Registering as a developer on the Amazon Mobile App Distribution Program to publish an Android app on the Amazon Appstore.
[WordPress] 'Duplicate Post' Plugin for Duplicating Articles
Duplicating WordPress posts with the Duplicate Post plugin's Clone and New Draft actions.
Mon, July 22, 2013
JavaScript Sample Code for URL Scheme Launch on Android and iPhone with Store Redirect if App Not Downloaded
JS sample that launches an app via URL scheme, redirecting to the app store on failure.
QR Code Specifications and Creation Services Summary
A collection of reference links covering QR code specifications, Micro QR Code, and web-based QR code generator services.
Fri, July 19, 2013
[Android] Application#onCreate is Called Before Activity, Service, and Receiver Objects Are Created
Application#onCreate fires before Activities, Services, and Receivers — placing analytics there can skew session counts.
[GitHub] How to Configure Private Repository Sharing
Configure sharing for a GitHub private repository from the Organization's teams page.
[SSH] Managing SSH Connections to Multiple Hosts with ~/.ssh/config
Using ~/.ssh/config to manage SSH connections to multiple hosts.
Thu, July 18, 2013
[iOS] How to Execute Run Script Only During Release Builds
Guard an Xcode Run Script with the CONFIGURATION variable so it runs only on Release builds.
Wed, July 17, 2013
[iOS] Campaign Tracking with Google Analytics
How Google Analytics campaign tracking works on iOS, and why I decided against adopting it.
[iOS] For Exception Tracking in Google Analytics 2.0, Use trackUncaughtExceptions = YES
Enabling uncaught exception tracking in Google Analytics 2.0 on iOS with trackUncaughtExceptions = YES.
[Android] Points to Check When Google Play Shows 'Your device isn't compatible with this version'
How to fix "Your device isn't compatible with this version" on Google Play by tuning uses-feature settings.
[iOS] CrashMonkey - Automatic Testing with Random Operations
Trying CrashMonkey for random-operation automated iOS testing, plus fixing the xcode-select startup error.
Tue, July 16, 2013
[Mac] How to Configure Sublime Text for Command Line Use
Enabling the subl command on macOS by symlinking Sublime Text's helper into /usr/local/bin.
[Android] How to Display 'Developer Options' and Enable 'USB Debugging' on Nexus 7
Tap the Build number seven times to reveal Developer Options on the Nexus 7 and enable USB Debugging.
Sun, July 14, 2013
[Mac] Installing Nginx with Homebrew
brew install nginx on Mac and set it to auto-start via LaunchAgents with launchctl.
List of Free Project Management Tools
A short comparison of Redmine, Cybozu Live, and Backlog as free project management options.
Wed, July 10, 2013
[iOS] TSMessages v0.9.3 Added dismissActiveNotification Method to Hide Currently Active View
Notes on the dismissActiveNotification method added in TSMessages v0.9.3.