January 2012
1 post
Performance comparision of NeoDatis and PostgreSQL
Neodatis_vs_PostgreSQL.pdf
Jan 7th
October 2011
1 post
1 tag
Hash extension - no more hash.try(:[], key)
Oct 26th
July 2011
2 posts
pow + nginx configuration
Jul 28th
2 notes
Total git cleanup
Jul 27th
May 2011
2 posts
3 tags
coffee-script compiler plugin for sbt (works with... →
May 30th
4 notes
2 tags
Neodatis OdbConfiguration printout
In case I might need this again…
May 4th
1 note
April 2011
2 posts
4 tags
Setting up Intel Cluster Compiler with XCode 4
I just spent an hour fighting with dump Intel license server (for trial version). I’m to angry to write, so here is the solution. The easy part Download Composer XE for Mac from Intel website, run .dmg, click .pkg, click, click, blah, select XCode integration, click, done. It will install everything under /opt/intel and … under /Developer/ (no, symlinks, separate install - well,...
Apr 18th
6 notes
2 tags
Rails: timeline_fu and workflow integration
Quick tip on how to integrate timeline_fu and workflow callbacks.
Apr 18th
1 note
March 2011
1 post
1 tag
Simple scala benchmark utility
Very, very simple. Strongly influenced by Ruby’s Benchmark Usage … .. and the result
Mar 8th
January 2011
9 posts
1 tag
Scala specs cheatsheet
Based on MatchersGuide
Jan 31st
rawler: Crawl your website and find broken links... →
thechangelog: Need a quick-and-dirty way to find broken links on your web site? Rawler from Oscar Del Ben is a Ruby gem that gives you a command line tool to crawl your site, looking for errors. Install via Rubygems: gem install rawler For usage, just execute the command rawler --help: ~ » rawler --help ~ 255 ↵ Rawler is a...
Jan 25th
25 notes
2 tags
akka singleton actor
If you ever want to do something like this: DON’T! NEVER. Even in tests or something, doesn’t matter, never! Using singleton actor object + scala-specs = silen fail with message “null” and one big WTF.
Jan 24th
1 note
1 tag
akka actors cheatsheet
Small cheatsheet for great akka library
Jan 22nd
1 tag
Scala: Combine several Partial Functions into one
Jan 21st
1 tag
Good old C-style for loop in scala
Jan 21st
1 tag
Handle exceptions inside Actor
and then
Jan 16th
1 tag
Decompile scala
Jan 16th
1 tag
Scala collections #collect
Jan 14th
November 2010
3 posts
Disk image converter →
Nov 28th
VM Icon Replacement →
Nov 23rd
Octave for OSX 10.6 →
Nov 20th
October 2010
2 posts
1 tag
Scala remote actors
Server Client
Oct 7th
1 tag
Scala String replace
Worth remembering, thx to lopex
Oct 2nd
September 2010
1 post
dwaite's gist-osx-service at master - GitHub →
Sep 13th
August 2010
8 posts
1 tag
Run irb from file
In case I forgot.
Aug 24th
1 tag
safari json formatter - must have! →
Aug 18th
4 tags
Rails 3 remote update form
Rails 3 brings some nice unobstrusive javascript. This very short tutorial will show how to make simple yet powerful ajax update form. First, grab jquery-ujs file (or gem). Next, create some model and REST controller. Controller needs a small change: Thats pretty self explaining: when object is valid send notice message, else send errors as json array. View: Only the :remote => true part...
Aug 17th
1 note
Quickly get some random image placeholders
Big thanks to placehold.it!
Aug 14th
1 tag
stJhimy - Improving TextMate "Go To File" function →
Aug 14th
2 tags
Uploadify, Paperclip, Rails 3 and Sessions by... →
Aug 11th
1 tag
Textmate split view
Aug 11th
3 tags
Better (scoped) rails engines routing
Rails engines are really great, but they are missing one thing - putting in router scope. Fortunately, this can be easily fixed. Instead of engine`s config/routes.rb file put all router stuff in lib/engine.rb like that: And now it is possible to add scope: Done! Example gist
Aug 3rd
July 2010
2 posts
Best Scala TextMate bundle →
Jul 25th
protocool's AckMate at master - GitHub →
Awesome “Find in project” for TextMate
Jul 16th
June 2010
5 posts
WatchWatch
Elise Huard (by Krakow Tech Conferences)
Jun 30th
1 tag
Good Scala TextMate bundle →
Jun 26th
3 tags
2,5 times faster heckle
RSpec has built-in support for heckle, but executing every “$ spec spec_file —heckle my_method” from command line is boring. Why not use rake? Yeah, nice one! Well, not really. “$ rake heckle_all” takes about 87 seconds to complete. First line executes shell script “spec” that runs ruby, then spec with heckle, then next line starts its own ruby again and...
Jun 26th
Intellij IDEA Monokai color theme
Port of Monokai theme for Textmate. Download the Monokai.jar. Select File –> Import Settings within IntelliJ IDEA
Jun 14th
1 note
1 tag
SSH tunels with iChat and Colloquy
University`s internet connection sucks. The only open ports are 22,80 and 433. I wanted to have access to jabber and IRC but those ports are blocked. Solution? - SSH tunnels and some scripting to switching it on and off quickly. (This is just setup for iChat and Colloquy, not a ssh-tunnels tutorial! Requirements All you need is server with ssh on port 22. Setup iChat I created two accounts in...
Jun 8th
May 2010
1 post
Flushing DNS cache in OS X →
May 31st
April 2010
2 posts
Apr 29th
149 notes
3 tags
Merb app with Scala models →
Apr 13th
March 2010
3 posts
2 tags
Liftweb 2.0 API →
Mar 30th
2 tags
Scala swing auto-resizable TabbedPane
Mar 25th
1 tag
Scala proxy class
Mar 3rd
February 2010
5 posts
2 tags
Lift: Form fields attributes
+ = one - The most basic tag, there are no attributes in code nor markup. two - Same as above but with id attribute set in markup. As you can see in generated html this attribute is lost. three - -%> syntax preserves markup attributes. four - Other way of setting html attributes. five - When setting attributes in both code and markup the second one has higher priority.
Feb 17th
2 tags
Lift: "if(loggedIn)" in view
Via: http://wiki.github.com/dpp/liftweb/logging-in-users-without-any-db (there is a bug) View: Boot.scala:
Feb 16th
1 tag
scala note: NonLocalReturn
andrei-pamula: This code will print “1” and then exit. via: http://dev.bizo.com/2010/01/scala-supports-non-local-returns.html
Feb 16th
1 tag
Best scala 2.8 API →
Feb 13th
1 tag
Webapp testing with Webrat and [your language]
Webrat was written mainly to improve Rails` web applications testing. But what if webapp is written in something else? The answer is simple - webrat! Requirements: Ruby Installation: gem install mechanize webrat Done. Now create file test.rb and put in there: To run tests use command: spec test.rb For colorful and more readable output use: spec --color --format...
Feb 12th