Dirk - dirk.net - Dirk.Net

Latest News:

Caused by: java.lang.RuntimeException: No such var: json/pprint 30 May 2013 | 03:55 am

If you get (for example when using later version lf cljsbuild): Caused by: java.lang.RuntimeException: No such var: json/pprint You may need https://github.com/clojure/data.json/ Hope it helps.

Hippo CMS and PostgreSQL - The Setup 18 Oct 2012 | 12:39 pm

The original instructions on the Hippo site are somewhat outdated. Moreover, the linked blog post is currently down but archive.org still has a copy: http://web.archive.org/web/20101026204317/http://g...

Date Formats in Clojurescript 14 Jul 2012 | 04:53 pm

Formatting dates in JavaScript can be tricky, even getting the name of the month. It’s possible to use the clunky $.datepicker.formatDate (); from jquery.ui, but in Clojurescript we have the Google C...

Thumbs from Downloaded Images in Clojure 13 May 2012 | 06:23 am

The code creates a thumb from either a local file or a remote URI. It combines ideas from a blog post dealing with image downoads in clojure and an older post dealing with thumbnail creation. Example...

Naïveté to Brilliance 21 Feb 2012 | 09:12 pm

Unlike Scala, even beginning learners of Clojure will experience the fun of functional programming almost immediately. Converting the Rails function “simple_format” from Ruby def simple_format(text....

LessCss / Less.js With –watch Option Watching Included Files 10 Dec 2011 | 08:56 am

Needed a less css compiler who watches changes to a main .less file as well as all those include with an @import statement. Weighing the options: One could just use an old version of the less gem th...

Debugging Scala with IntelliJ and the SBT Plugin 10 Oct 2011 | 12:30 pm

Here’s the correct setup, including the remote build configuration: http://blog.morroni.com/2011/06/30/debugging-scala-projects-in-intellij/comment-page-1/ You may have to restart the IDE to get the...

Rails Migration to Convert all Table Names and Column Names to underscore 31 Aug 2011 | 09:52 am

This may be useful for legacy database, whose table and column names are in CamelCase. Use with extreme caution: class ChangeAllColumnsToUnderscore < ActiveRecord::Migration include ActiveRecord::C.....

Gitosis Installation on OpenSuse 22 Aug 2011 | 12:50 pm

The repo info is here (click and expand that page’s silly javascript widgets), so for OpenSuse 11.4 (use sudo for all commands that need it): zypper addrepo http://download.opensuse.org/repositories/...

Install RubyGems Legacy Versions 22 Aug 2011 | 12:46 am

To install a legacy version of RubyGems, you will need some version installed first, so use aptitude, yum, zypper etc: apt-get install rubygems Then revert to an older version (for example 1.3.6): ...

Related Keywords:

silent !wmctrl -r :active: -b, failed password for git, jquery cycle text overlay, reimers google map listner, mssql regular expressions, netbeans lesscss plugin, netbeans lesscss, netbeans less, yaml dropdown menu, ruby-debug 1.9.2

Recently parsed news:

Recent searches: