Enable JavaScript to use search. / 検索を使用するには JavaScript を有効にしてください。
Posts
Wed, May 14, 2014
2 min read
[iOS][CocoaPods] Psych::SyntaxError - ( .cocoapods/repos/master/CocoaPods-version.yml): mapping values are not allowed in this context at line 3 column 4
Fixing pod install's Psych::SyntaxError by upgrading CocoaPods and re-running pod setup on the master repo.
read more →
Mon, May 12, 2014
1 min read
[Apple] Handling 'Your iOS Distribution Certificate will expire in 30 days.'
Renewing an expired iOS Distribution Certificate and rebuilding the provisioning profiles.
Mon, May 5, 2014
[Ghost] How to change blog theme
Installing the free Scriptor theme from Ghost Marketplace under content/themes and activating it from the admin panel.
Deploying Ghost, a Node.js Blog Platform, to Heroku
Getting Ghost running locally and deploying it to Heroku to start a new blog.
Mon, April 21, 2014
[Node.js] Getting File Extensions with path.extname
Extracting file extensions with Node.js's path.extname, illustrated with a few short examples.
Sun, April 20, 2014
[AWS] aws s3 sync ./upload_dir s3://xxx --region ap-northeast-1
Fixing the `aws s3 sync` PermanentRedirect error by passing --region for the bucket's region.
Sat, April 19, 2014
G Suite Customer Support Contact Information
G Suite customer support is hard to find from the admin dashboard — here's the link and my take on it.
[Node.js] RangeError: Maximum call stack size exceeded
Notes on working around Node.js's RangeError: Maximum call stack size exceeded using the --stack-size option.
Fri, April 11, 2014
[Node.js] Checking File Existence
Using fs.stat to check for a view file and redirect via Express when it's missing.
[JavaScript] js2coffee Converts arguments to arguments_
Js2coffee silently renamed arguments to arguments_ and caused a runtime error.
Wed, April 9, 2014
[MongoDB] How to output query results to standard output and save to file
Piping MongoDB query results straight into a file with mongo --quiet and shell redirection.
[Regular Expression] Enclosing text with single quotes
A quick regex search-and-replace snippet for wrapping text on a line in quotes.
Tue, April 8, 2014
[Linux] Command to split CSV, text files, etc. by specified number of lines
Use split to break a CSV into 100-line chunks, then restore the .csv extension with a short for loop.
Fri, April 4, 2014
[WordPress] Sample using category name in backlink (external link) text
A sample of injecting the current category name from get_the_category() into the anchor text of an outbound link.
Thu, March 27, 2014
[MongoDB] How to start two instances on different ports (Mac / Homebrew)
Run two Homebrew MongoDB instances side by side on ports 27017 and 27018 with a second config.
[Mac] Command to check processes using a specific port: lsof -i
Using lsof -i on macOS to find the process listening on a specific port.
Sun, March 23, 2014
The dangers of managing tasks with email
A short note on why managing tasks in Gmail is risky, after misaddressing a mail almost right away.
How to stop the secondary SSID on Aterm WR8750N
How to disable the secondary SSID on the Aterm WR8750N router from the Quick Setup Web UI.
Sat, March 22, 2014
DeployGate starts providing iOS app distribution functionality!
DeployGate opens an iOS distribution beta with permanent unlimited perks for early signups.
Collection site of interesting HipChat emoticons
A site that gathers HipChat's amusing emoticons in one place.
Fri, March 21, 2014
Resetting Aterm WR8750N to factory default state
How to factory-reset the Aterm WR8750N router with the physical RESET switch.
Mon, March 17, 2014
Let's have witty communication on GitHub
GitHub PR chatter was getting stiff, so we shifted to a more relaxed, witty tone and it noticeably helped.
Sat, March 15, 2014
Programmers and eyes
A short reflection on eye pain from staring at a display all day as a programmer.
Thu, March 13, 2014
[HTTP] Status code when returning errors for non-xhr requests
A note on choosing HTTP 400 Bad Request when rejecting non-xhr requests as errors.
Sun, March 9, 2014
Snippet to display only days with jQuery Countdown
A jQuery Countdown snippet using compact and format: 'D' to show only the remaining days.
[Google Apps] How to disable Gmail spam filter settings
The three types of spam filters in Google Apps Gmail and how to disable each of them.
[Windows7] How to localize English version to Japanese
Localize English Windows 7 to Japanese via Region and Language settings.
[Apache][Windows7] Solution for 'No listening sockets available' Error That Prevents Startup
Fixing Apache's port 80 conflict on Windows 7 by changing Skype's port settings.
Sat, March 8, 2014
[Mac] How to fix Wi-Fi (wireless LAN) connection issues
A reference-link memo for a Mac Wi-Fi troubleshooting guide that resolved my connection issue.
Hacker News translation blog
Discovering a Japanese-language translation blog for Hacker News stories.
Changing the time display format of jQuery Countdown
A snippet memo for customizing jQuery Countdown's display with its separator and label_* options.
Listen to Rebuild.fm on repeat
Listening to Rebuild.fm on repeat during train rides turned out better than I imagined.
Fri, March 7, 2014
[Gmail] Does GIF Image Files Have a Bug Where They Display Partially Cropped?
Some GIFs render partially cropped through Gmail's image proxy cache — swapping to PNG was the workaround.
Mon, March 3, 2014
[JavaScript] Change Date Type Timezone to JST with moment.js
A short moment.js snippet for converting a Date value to the Asia/Tokyo timezone.
Sun, March 2, 2014
[WordPress] Changing 'WP-OGP' Thumbnail Image og:image
How I replaced the WP-OGP default thumbnail by changing the image filename and updating wp-ogp.php.
Fri, February 28, 2014
[iOS] The binary you uploaded was invalid. The key CFBundleVersion in the Info.plist file must contain a higher version than that of the previously uploaded version.
A note on hitting the CFBundleVersion validation error while submitting an iPhone app update to the App Store.
Fri, February 21, 2014
What I Learned from One Week of Hard Work
One week of hard work — takeaways on energy, input, and spotting DEV team tech debt.
[Node.js][node-csv] Error: Invalid closing quote at line 1; found " " instead of delimiter "\ "
Working around a node-csv Invalid closing quote error caused by stray double quotes in tab-separated input.
Thu, February 13, 2014
[JavaScript] Get Maximum or Minimum Value from Array
A short snippet for getting the max and min from a JavaScript array with Math.max/min.apply.
Wed, February 12, 2014
[Heroku] Ruby on Rails 4 + Mongoid + MongoHQ '500 Internal Server Error'
Fixing the Mongoid ':consistency is an unknown option' 500 error on Heroku by trimming mongoid.yml.
Tue, February 11, 2014
[Heroku] Log Management Add-on Papertrail
Adding the Papertrail add-on on Heroku and opening its docs and dashboard from the CLI.
[Heroku] How to git push Branches Other Than master
Deploy a non-master local branch to Heroku with git push heroku branch_name:master.
Sat, February 8, 2014
[iOS] Use 'iRate' for Review Requests, 'iVersion' for Version Update Notifications
iRate for review requests and iVersion for version update notifications, discovered via Rebuild.fm.
[Ruby on Rails 4] group :assets do … end is Deprecated
Rails 4 removed the group :assets block from Gemfile — delete it when upgrading from Rails 3.
Contracted with AsahiNet for Provider-Only Service to Use Static IP
Signing up for AsahiNet's provider-only plan just to get a static IP address.
Thu, February 6, 2014
[MongoDB] Checking for Array Field Element Existence
Use `'arrayField.0': { $exists: true }` to find documents whose array field is not empty.
[AWS] List of S3 Regions
A quick-reference table mapping Amazon S3 region names to their endpoints and protocols.
Mon, February 3, 2014
[Express.js] Solution for Error: Request Entity Too Large
Fixing Express.js `Request Entity Too Large` by raising the bodyParser limit, with three patterns.
Tue, January 28, 2014
Gradle Introduction Articles Summary
A link roundup of Gradle introduction articles referenced when starting Android development.
How to Remove iOS App Under Review from iTunes Connect
Use Reject Binary on iTunes Connect to move an under-review iOS app to Developer Rejected.