2008-01-01から1年間の記事一覧
Packages installation: pacman -Sy package_name - packages installation and local packages db sync pacman -S package_name - packages installation along with dependencies pacman -Sl repository_name - display packages list of a given reposito…
After the rumors about locked GMail accounts, decided to backup my important emails. The article How to back up your Gmail on Linux in four easy steps helped me a lot. My setting in ~/.getmail/getmail.gmail are (IMAP, Maildir): [retriever]…
When trying to push to github received: $ git push To git@github.com:zh/laconica.git ! [rejected] master -> master (non-fast forward) error: failed to push some refs to 'git@github.com:zh/laconica.git'The solution $ git pull .... $ git push
I converted my old Mephisto-based blog to WordPress and moved it to Freehostia.
Trying to install the development version of merb , i've got: no such file to load -- extlib/tasks/releaseSeems the extlib gem is too old for merb. Fix: $ git clone git://github.com/sam/extlib.git $ cd extlib $ rake gem $ sudo gem install …
Created tinyurl ramaze application - everything in one file - model, view, controller. Required gems: sqlite3-ruby, sequel, validatable, ramaze.Even have an API: $ curl -O turl.rb http://zhware.net/code/ruby/ramaze/turl.rb.txt $ ruby turl.…
On 17-May-2008 there was 26th Ruby Kansai Workshop in Kyoto. A lot of fun like always :) The chatlog from the presentations is available on lingr.I gave a presentation "Ruby off Rails" about developing web applications in Ruby, but without…
merb-book on github and Online Merb Book ramaze-book on github The Django Book
In the spirit of “Fork me if you like me" I forked the Rack project on github and applied my ‘X-Sendfile’ related changes. Now you can have download acceleration with: use Rack::Static, :urls => ["/files"], :root => "public", :extra => { '…
After I found the Rails X-Sendfile plugin, decided to code something similar for Rack (and Ramaze). The result: Rack::XStatic middleware. Example usage: xfile.ru rackup file. Start it with: rackup -s thin -p 7000 xfile.ruFor using it with …
Original articleWhat worked for me (tamanegi/open-uri branch): # create local branch $ git checkout -b open-uri # pushing branch $ git push origin open-uri # pulling remote branch $ git branch -d open-uri $ git branch -f open-uri origin/op…
After reading Rails Plugin: Throttler I created a Throttler Ramaze Helper . What is it for? ”...The throttling plugin monitors the load of your server and allows you to disable certain features of your app when the load is too high...” How…
Problem (after any package install i've got): perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE = (unset), LC_ALL = (unset), LANG = "en_US.UTF-8" are supported and installed on your syste…
Semi-official Rails GIT repositories, maintained by Michael Koziarski (Koz): GitHub Gitorius $ git clone git://github.com/NZKoz/koz-rails.git
I made a mistake to clone from my GitHub Public Clone URL(git://github.com/zh/raplanet.git) . When trying to push the changes, there was a message: fatal: The remote end hung up unexpectedly error: failed to push to 'git://github.com/zh/ra…
Last night I stayed from 2:00 to 4:00 o'clock, following the online coverage of MacWorld 2008 Conference and & Expo. Some thoughts: In fact all sites following the presentation was not fully functional - connection errors, slow refresh. Li…