Changing Google language hats

Będąc Polakiem, który mieszka w Niemczech i chętnie czyta po angielsku, chcę czasami oglądać Googla z tych 3 perspektyw. Bardzo ciekawe, ze to co widzisz zmienia się, kiedy zmieniasz kapelusz. Zmienia się je bardzo łatwo dodając
&hl=pl albo &hl=de albo &hl=en
do googlowego URL.
Als Pole, der in Detschland lebt und gerne Englisch liest, betrachte ich gerne das Google aus diesen 3 Perspektiven. Es ist faszinierend zuzusehen, wie die Antworten je nach Sprachenhut ausfallen. Ein einfaches Trick um die Perspektive zu wechseln ist es, etwas wie

my .gemrc for Hanna

%userprofile%\.gemrc for Hanna template:

gem: --no-ri  
# Needs --inline-source, otherwise uninitialized constant Doc::Generator::HTML::HANNA::SRC_PAGE
rdoc:  --inline-source --format=html --template=hanna   

Remove RI docs

  1. # Remove ri - many many files I never use.
  2. require 'find'
  3. require 'rubygems'
  4. require 'fileutils'
  5. Find.find(Gem.dir + '/doc') do |path|
  6. next unless path =~ /\/ri$/
  7. puts path
  8. FileUtils.rm_rf(path)
  9. end

bdoc - Great gem doc helper

One way to access the ruby gem documentation quickly is gem server which starts a http server at http://localhost:8808. This does not work on my Vista laptop, which prefers http://127.0.0.1:8808/. What disturbs me is another busy server console along the rails console and 5 others which I keep open. Recently I came accross the bdoc gem, which links to my rdocs on the fly using jQueried html.

Cmd.exe here

A small tip for me to remember how to add "Cmd.exe here" to the context menu of folders in explorer. This is great for scripting and other command-line work:
Explorer, Menu Extras/Ordneroptionen, Dateitypen Dateiordner, Erweitert, neue Aktion, Cmd here/Cmd.exe
This is German Windows XP, but you get the picture.
Obviously edit function ("Bearbeiten") does not seem to work, but who cares.

Algodoo/Phun generator in Ruby

I played a bit with a fun physics simulator Algodoo. After just a few simulations I bought the thing to support the briliant idea. There is also free Phun which lags behing the commercial version.
Julia created a shower simulation:

Zima w Bielsku

Była sobie raz wielka zima w Bielsku-Białej:
 
A potem przyszła piękna wiosna

Hello everybody!

Hello, and welcome to our new site!

Syndicate content