Enable JavaScript to use search. / 検索を使用するには JavaScript を有効にしてください。
Posts
Sat, April 7, 2012
1 min read
[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.
read more →
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
2 min read
[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.
Sat, March 3, 2012
How to Change Custom Tab Images on Facebook Page Timeline
A short note with a reference link on changing custom tab images on Timeline-style Facebook Pages.
Fri, March 2, 2012
4 min read
[Column] Notes from Reading 'How to Deal with the Programmer 35-Year Age Limit Theory?'
Notes from a roundtable article on how programmers should deal with the '35-year age limit theory'.
[PostgreSQL][8.0.4] Sequence Function Arguments are text Type, not regclass Type (ERROR: cannot cast type text to regclass)
Fixing the PostgreSQL 8.0.4 'cannot cast type text to regclass' error in nextval.
Mon, February 27, 2012
[SSH] Things to Be Careful About When Setting Up Public Keys and How to Handle 'Permission denied (publickey,gssapi-with-mic).'
Fixing 'Permission denied' during SSH public key auth by adjusting .ssh and authorized_keys permissions.
Sun, February 26, 2012
[Ruby on Rails 3.1] How to Enable Autoload for Custom Libraries in the lib Directory
Re-enable autoload for lib/ in Rails 3.1 by adding paths to config.autoload_paths in application.rb.
[Ruby] String and Array Conversion Methods
Notes on using String#split and Array#join to convert between strings and arrays in Ruby.
Fri, February 24, 2012
[Ruby] Use rvmsudo instead of sudo in RVM environment
In an RVM environment, use `rvmsudo` instead of `sudo` for ruby and rails commands.
Tue, February 21, 2012
[ClamAV] WARNING: Clamd was NOT notified: Can't connect to clamd through /var/run/clamav/clamd.sock
Silence freshclam's clamd.sock warning by commenting out NotifyClamd in freshclam.conf when clamd is not running.
Sat, February 18, 2012
[Cacti] Monitoring Target Addition Procedure Memo
A quick memo on adding a new monitoring host to Cacti and placing it in a Graph Tree.
Thu, February 16, 2012
Summary of Helpful Articles When Getting Started with SNMP
A link roundup of ITmedia and CodeZine articles I used to get started with SNMP.
Wed, February 15, 2012
[SSH][Putty] Permission denied (publickey,gssapi-with-mic). When Trying SSH Public Key Authentication Login
Fixing multi-hop SSH Permission denied errors in PuTTY by enabling Pageant agent forwarding.
Sat, February 11, 2012
WARNING: UNPROTECTED PRIVATE KEY FILE When Copying SSH Public/Private Key Files
How I cleared the `WARNING: UNPROTECTED PRIVATE KEY FILE` error by tightening private key permissions with `chmod 600`.
[Mac] How to Configure ll Command to Execute ls -l Command
Adding an alias in `.bashrc` so `ll` works as `ls -l` on Mac.