Enable JavaScript to use search. / 検索を使用するには JavaScript を有効にしてください。
Posts
Sat, April 21, 2012
2 min read
How to Add a Facebook App as a Tab on a Facebook Page
How to install a Facebook app as a Page tab using the /dialog/pagetab endpoint and its parameters.
read more →
Thu, April 19, 2012
1 min read
[Eclipse] How to Display Dot Files "." Files (.htaccess etc.)
A short memo on making Eclipse Indigo show dot files like .htaccess in the Explorer view.
Wed, April 18, 2012
[Python] The Zen of Python
The original PEP 20 The Zen of Python side by side with a Japanese translation.
Mon, April 16, 2012
[Ruby][Rails] Curated Libraries and Tools Summary by WEB+DB PRESS Vol.67
A memo of curated Ruby/Rails libraries and tools by purpose from WEB+DB PRESS Vol.67.
Sun, April 15, 2012
[Ruby on Rails][SQLite3] SQLException: Cannot add a NOT NULL column with default value NULL
The cause of the SQLite3 NOT NULL column error in Rails migrations, and two ways to fix it.
Sat, April 14, 2012
[Coda] How to Set HAML/SASS Coloring (Syntax Highlighting)
Enable HAML and SASS syntax highlighting in the Coda editor by dropping mode files into the Coda Modes folder.
[Facebook] How to Configure The New Auth Dialog
Notes on configuring The New Auth Dialog for a Facebook App, with settings and dialog screenshots.
[Facebook] Received Warning Email "Notice of Violation: Privacy Policy"
The Facebook privacy policy violation warning email and how to fix it in the Auth Dialog settings.
Fri, April 13, 2012
[Ruby] How to Get Currently Logged-in User ID with User Authentication Engine "Devise"
Getting the currently logged-in user's ID from Devise via current_user.id.
[Haml] Solution for "syntax error, unexpected keyword_ensure, expecting keyword_end" Error
Fixing a Haml keyword_ensure syntax error caused by missing indentation inside an if branch.
Thu, April 12, 2012
[Git] Solution for "error: There was a problem with the editor 'vi'" Error
Fixing the git commit vi editor error by setting core.editor to your Vim path.
[Git] How to Set Files to Ignore in All Git Repositories Using Global .gitignore
How to configure `core.excludesfile` so a single `.gitignore` applies to every Git repository.
Mon, April 9, 2012
[Ruby on Rails] Reference Articles for User Authentication Engine "Devise"
Reference articles for introducing Devise into a Ruby on Rails application.
Sat, April 7, 2012
[Ruby on Rails] "erb2haml" for Converting erb to haml
Notes on converting erb view files to haml using the erb2haml gem and rake haml:convert_erbs.
The Difference Between Authentication and Authorization
A quick memo on an ITmedia article and diagram that clearly explain authentication vs. authorization.
[DB] Free ER Diagram GUI Editor "ER Master"
ER Master, a free ER-diagram GUI editor that runs as an Eclipse plugin.
[Mac][Lion] How to check kernel bit count and switch between 32/64bit
Checking the kernel bit count on Mac OS X Lion and switching between 32-bit and 64-bit.
[Mac] How to identify whether Intel CPU is 32-bit or 64-bit
Reference links for checking whether an Intel Mac has a 32-bit or 64-bit CPU.
[Video] "Venture-oriented Programmer" by Naoya Ito
A quick note on watching Naoya Ito's Venture-oriented Programmer lecture video.
Fri, April 6, 2012
[Ruby] "libiconv is missing" Error During nokogiri Installation with bundle install
Fixing the 'libiconv is missing' error during bundle install of nokogiri with bundle config build.nokogiri.
Thu, April 5, 2012
[Ruby on Rails] How to Skip Creating Test::Unit Files When Creating an App
Use `rails new APP -T` to skip Test::Unit file generation in Rails 3.2 when you plan to use RSpec.
Tue, April 3, 2012
[JavaScript] Collection of CoffeeScript Beginner Articles
A link roundup of CoffeeScript beginner articles, commentary, sample code, and js2coffee.
Mon, April 2, 2012
[Facebook API] How to Post Photos to Albums and Tag People
A memo of reference links for posting photos to a Facebook album and tagging people via the Graph API.
Sun, April 1, 2012
[Ruby] Summary of Helpful Articles for Web Scraping with Nokogiri
A curated list of reference articles for web scraping with the Nokogiri Ruby gem.
[Ruby] How to Install Nokogiri [Mac Version]
Installing Nokogiri on Mac with Homebrew's libxml2/libxslt and a source-built libiconv.
Sat, March 31, 2012
How to Update and Upgrade Homebrew
The difference between brew update and brew upgrade, and how to use each command.
Fri, March 30, 2012
[Mac] How to Install wget
Installing wget on a Mac quickly via Homebrew.
Thu, March 29, 2012
[Ruby] Shinjuku.rb #3 Memorandum
Notes from Shinjuku.rb #3, including talks on Padrino, mocktra, and a Rails3 Recipe Book reading group.
Tue, March 27, 2012
[SQLite] Firefox Add-on 'SQLite Manager' is Convenient!
Recommending the Firefox add-on 'SQLite Manager' as a convenient GUI for SQLite.
[PostgreSQL] ERROR: Cannot insert a duplicate key into unique index
Quick note on PostgreSQL's duplicate-key error when INSERT hits a UNIQUE constraint.
Wed, March 21, 2012
[WinSCP] How to configure exclusion settings to avoid transferring SVN files
Exclude .svn from WinSCP transfers by setting `.svn/;` in the transfer mask.
Fri, March 16, 2012
[Heroku] Architecture components and request flow
Pointer to a helpful diagram of Heroku's architecture components and request flow.
[Eclipse] How to configure PHP code recognition and coloring in files with extensions like html
Configuring Eclipse so that PHP code inside .html files opens with the PHP editor and syntax coloring.
[PHP] Studying "PHP Code Optimization Tips"
Study notes from reading the "PHP Code Optimization Tips" articles trending on Hatena Bookmark.
[Ruby on Rails] How to Redirect Facebook External Access to Facebook Page App
Detecting off-Facebook access in Rails via `params[:signed_request]` and redirecting to the on-Facebook page app.
Thu, March 15, 2012
[MySQL] SQLSTATE[HY000]: General error: 1030 Got error 28 from storage engine
The MySQL 'Got error 28 from storage engine' error is caused by a full disk.
Sun, March 11, 2012
5 min read
[PostgreSQL] Configuration for Connecting from Other PCs
Configuring `listen_addresses` and pg_hba.conf so PostgreSQL accepts connections from other hosts.
Sat, March 10, 2012
[Facebook] Summary of Useful Articles for Smartphone App Development
A curated list of Facebook Developer resources for building smartphone apps, split into mobile web, iOS, and Android tracks.
Thu, March 8, 2012
[PostgreSQL] The Convenient COALESCE Function That Returns the First Non-NULL Argument
Using PostgreSQL's COALESCE function to substitute a default value when a column or aggregate returns NULL.
[Ruby] How to get User Agent
Reading the User Agent in Rails and redirecting iPhone / Android traffic to a mobile-specific page via before_filter.
Tue, March 6, 2012
[Facebook] Offline Access Permission to be Completely Discontinued on May 1, 2012
A note on Facebook's plan to fully retire the offline_access permission on May 1, 2012, and what it means for users and developers.
Mon, March 5, 2012
[Windows7] How to Configure Settings to Use the telnet Command
How to enable the telnet command on Windows 7 — a quick reference note.
[PostgreSQL] Check table permissions when ERROR: permission denied for ~ error occurs
Fixing PostgreSQL's permission denied error by checking table privileges with `\z` and running GRANT.
[jQuery] ClockPick Library for Easy Time Input is Convenient!
Setup notes for the jQuery time-input library ClockPick, configured for 24-hour format with 5-minute intervals.
Sun, March 4, 2012
[Oracle] DESCRIBE Command to Check Table Definition
Oracle DESCRIBE plus the equivalent table-definition commands for MySQL and PostgreSQL.
[Oracle] Displaying Table List
Listing user tables in Oracle, MySQL, and PostgreSQL, side by side.
Collection of Good Articles for Getting Started with Git
A curated collection of articles and slides for getting started with Git.
[Facebook] Developer Spotlight Summary
Links to Facebook Developer Spotlight case studies — Pinterest, Goodreads, The Guardian, and more.
Collection of Articles That Help Understand DNS Propagation
A short link collection of articles that explain how DNS propagation works.
How to Install Vim on Mac OS X Lion with Homebrew
Reinstalling Vim with +ruby on Mac OS X Lion via Homebrew, working around a libruby link error by switching to Ruby 1.8.7.