layout | title | date | comments | categories |
---|---|---|---|---|
post |
Clojure Lesson Learned |
2013-07-04 18:45 |
true |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
HOMEBREW_VERSION: 0.9.4 | |
ORIGIN: https://github.com/mxcl/homebrew | |
HEAD: 6c86594755fc811faa06d7ac1827d7246c365f12 | |
HOMEBREW_PREFIX: /usr/local | |
HOMEBREW_CELLAR: /usr/local/Cellar | |
CPU: quad-core 64-bit ivybridge | |
OS X: 10.8.4-x86_64 | |
Xcode: 4.6.3 | |
Error: uninitialized constant MacOS::CLT::STANDALONE_PKG_PATH | |
Please report this bug: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(ns async-test.core | |
(:use [clojure.core.async])) | |
(defn ! | |
([n] | |
(! 0 n)) | |
([sum n] | |
(if (zero? n) | |
sum |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
setuid xbmc | |
setgid xbmc | |
start on virtual-filesystem | |
expect fork | |
exec /home/xbmc/bin/btsync | |
respawn |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Invalid debugflag given: always | |
Invalid debugflag given: nodebuilder | |
DEBUG: | |
DEBUG: Debug created for /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/xmpp/client.py | |
DEBUG: flags defined: always,nodebuilder | |
DEBUG: socket start Plugging <xmpp.transports.TCPsocket instance at 0x10595de18> into <xmpp.client.Client instance at 0x10595dd88> | |
DEBUG: socket warn Could not load one of the supported DNS libraries (dnspython or pydns). SRV records will not be queried and you may need to set custom hostname/port for some servers to be accessible.\n | |
DEBUG: socket start Successfully connected to remote host ('jabber.de', 5222) | |
DEBUG: dispatcher start Plugging <xmpp.dispatcher.Dispatcher instance at 0x10595def0> into <xmpp.client.Client instance at 0x10595dd88> | |
DEBUG: dispatcher info Registering namespace "unknown" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
source("helpers.R") | |
filter.effects.DE<- function(filename, title, colors){ | |
data <- load.dataset(filename) | |
bots.with <- filter(data, "data.set", "DE 2013-05 without bot filtering") | |
bots.with.given1 <- only.given.1(bots.with) | |
bots.with.allbut1 <- only.all.but.1(bots.with) | |
bots.without <- filter(data, "data.set", "DE extra bot filtering") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(def adjectives [ | |
"adorable" | |
"adventurous" | |
"aggressive" | |
"alert" | |
"attractive" | |
"average" | |
"beautiful" | |
"blue-eyed " | |
"bloody" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
%% This BibTeX bibliography file was created using BibDesk. | |
%% http://bibdesk.sourceforge.net/ | |
%% Created for Waldemar S at 2013-10-02 14:53:53 +0200 | |
%% Saved with string encoding Unicode (UTF-8) | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
if [ -n "$1" ] | |
then | |
minutes=$(($1 * 60)) | |
echo "going to sleep in $1 minutes" | |
sleep $minutes | |
fi | |
echo "sleeping now" | |
osascript -e 'tell app "Finder" to sleep' |