Skip to content

Instantly share code, notes, and snippets.

View mbrezu's full-sized avatar
🐢
Yes, but not right now.

Miron Brezuleanu mbrezu

🐢
Yes, but not right now.
View GitHub Profile
@mbrezu
mbrezu / Configurare Masina Virtuala Windows pentru Ocaml
Created September 12, 2010 12:01
TODO list pentru configurat masina virtuala pentru dezvoltare ocaml
TODO list pentru configurat masina virtuala pentru dezvoltare ocaml
instalat Microsoft Visual Studio Express 2010
instalat diverse
7zip
clipx
total commander
instalat Cygwin (folosind switch.ch, pare sa mearga OK)
mc
m4
@mbrezu
mbrezu / .conkerorrc
Created September 3, 2010 07:58
Conkeror configuration
//require("new-tabs.js");
add_delicious_webjumps("mbrezu");
require("page-modes/google-search-results.js");
xkcd_add_title = true;
google_search_bind_number_shortcuts();
homepage = "about:blank";
define_webjump("imdb", "http://imdb.com/find?q=%s");
define_webjump("stackoverflow", "http://stackoverflow.com/search?q=%s");
define_webjump("youtube", "http://www.youtube.com/results?search_query=%s&search=Search");
# This script adds and removes .gitignore files to a Visual Studio
# project. It is useful when temporary versioning a project with Git.
# TODO: add command line handling so the user can specify -r or -a
# on the command line, along with the directory name to handle.
import sys
import os.path
import os
@mbrezu
mbrezu / debug.clj
Created December 14, 2009 15:45 — forked from khinsen/debug.clj
;; Slightly enhanced version of Alex Osborne's debug-repl (http://gist.github.com/252421)
;; Typing () quits the debug REPL, making it possible to continue without terminating the
;; input stream by typing Ctrl-D.
;; Inspired by George Jahad's version: http://georgejahad.com/clojure/debug-repl.html
(ns debug
[:require clojure.main])
(defmacro local-bindings
@mbrezu
mbrezu / quasiquote.clj
Created November 5, 2009 06:58
quasiquote with unquote-splicing
(ns quasiquote
(:use clojure.test))
;; **************************************
;; Quasiquote from ClojureQL
;; http://gitorious.org/clojureql/clojureql/blobs/master/src/dk/bestinclass/clojureql/util.clj
;; modified to work with unquote-splicing
;; **************************************
@mbrezu
mbrezu / gist:182217
Created September 7, 2009 07:45
Clojure gist test
(defn hello [name] (str "Hello, " name))
square x = x * x