Member since 02/07/2011

12 snippets

1245 profile views

0 Comment(s) Posted

View their favorites



first submission:submitting first snipplet

ef's Recent Snippets

« Prev 1 Next »
Replaces string 'sth' with 'sth-new' in all files in current directory.
0 302 posted 8 years ago by ef
Title tells everything
0 343 posted 9 years ago by ef
Example of filtering by using case
0 344 posted 9 years ago by ef
Way to install jsontools jar. Inspired by http://maven.apache.org/guides/mini/guide-3rd-party-jars-local.html
0 301 posted 9 years ago by ef
Command list subdirectories in current directory.
0 340 posted 9 years ago by ef
Function strips HTML tags from string.
0 589 posted 9 years ago by ef
Gets function by name.
0 351 posted 9 years ago by ef
Better way of generating date in ISO 8601 format (e.g. "2011-12-12T20:50:22+0100"). Needs to require [clj-time.core :as time] and [clj-time.format :as time-format].
0 519 posted 9 years ago by ef
Return string representing current date in ISO 8601 format, e.g. "2011-12-12T20:50:22+0100". java.util.Calendar and java.text.SimpleDateFormat have to be imported first. NOTICE: Use this instead: http://snipplr.com/view/62060/clojure-iso-8601-curre...
0 735 posted 9 years ago by ef
Preferred way of printing files in Clojure.
0 350 posted 9 years ago by ef
Inspired by http://subesh.com.np/2010/08/magento-setting-default-shipping-method-cart-page/. Basically Magento requires only countryId in shipment address to show shipment methods (at least in polish case). Very useful if you want user to select shi...
0 348 posted 10 years ago by ef
« Prev 1 Next »