Skip to content

Instantly share code, notes, and snippets.

select *
from ACT_HI_TASKINST HTI
WHERE HTI.PROC_INST_ID_ = '178401'
order by HTI.START_TIME_ asc;
denis@zeus:~/tmp$ lein new foo
Generating a project called foo based on the 'default' template.
To see other templates (app, lein plugin, etc), try `lein help new`.
denis@zeus:~/tmp$ cat foo/project.clj
(defproject foo "0.1.0-SNAPSHOT"
:description "FIXME: write description"
:url "http://example.com/FIXME"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:dependencies [[org.clojure/clojure "1.4.0"]])
;; you are starting here
(fn [x & xs]
(fn [& args]
((fn step [[f & fs] a]
(if fs
(f (step fs a))
(apply f a)))
(cons x xs) args)))
aspect WhereDoesTheTimeGo {
}
@denlab
denlab / gist:3237880
Created August 2, 2012 15:23
failed to import the lily box
denis@dla-hp:~/work/doc-cache/lily$ vagrant box add package-lily-ok package-lily-ok.box
[vagrant] Downloading with Vagrant::Downloaders::File...
[vagrant] Copying box to temporary location...
[vagrant] Extracting box...
[vagrant] Cleaning up downloaded box...
Failed to untar the box file. This is usually because you're
attempting to add a box that isn't a valid box file. Please
double check that the box file is properly packaged.
(map "Tu t'inscris, tu cliques sur 'gist', tu choisis le language, tu copies/colles dans la textera, tu fais 'enregistrer'"
(range))
(filter #(= code (-> % getAttribute getCode))
attributeValues)
ls hello
mkdir bouge
ln -s meme
echo 'ehlo'
{:tag :net.cgrand.parsley/root,
:content
["("
"("
{:tag :prefix-op, :content ["-"]}
{:tag :key-value,
:content
[{:tag :symbol, :content ["w"]} ":" {:tag :symbol, :content ["b"]}]}
{:tag :ws, :content [" "]}
{:tag :right-hand,
package cljinject;
import javax.servlet.ServletContext;
import javax.servlet.ServletContextEvent;
import javax.servlet.ServletContextListener;
import clojure.lang.Compiler;
import java.io.StringReader;
public class SwankServletContextListener implements ServletContextListener{