Skip to content

Instantly share code, notes, and snippets.

View candeira's full-sized avatar

Javier Candeira candeira

View GitHub Profile
@candeira
candeira / ipython caches libraries
Created October 26, 2014 05:51
Does iPython cache older versions of libraries?
# using ipython 1.2.1 on Ubuntu 14.04
# I have a cloudant-python library installed in a virtualenv
# there was a bug, which I fixed, and ipython-notebook kept
# showing the old behaviour. ipython in the console also shows
# the old behaviour:
$ ipython
WARNING: Attempting to work in a virtualenv. If you encounter problems, please install IPython inside the virtualenv.
Python 2.7.6 (default, Mar 22 2014, 22:59:56)
@candeira
candeira / README.md
Last active August 29, 2015 14:07 — forked from anonymous/README.md

Part 1

Proof of concept

Say, you want to save your D3 application in a CouchDB database. This is just a proof of concept that this is possible. I use the »Focus + Context« diagram by Mike Bostock (http://bl.ocks.org/1667367) as an example.

Prerequisites:

@candeira
candeira / gist:9e9c3f5276bd929eeb3d
Created July 13, 2014 02:16
Bug compiling the xtmmath part of the standard library
kandinski@desire:~/data/work/hack/llvm-3.4.2.src/build/bin$ ls
bugpoint llvm-bcanalyzer llvm-extract llvm-ranlib llvm-tblgen
llc llvm-config llvm-link llvm-readobj macho-dump
lli llvm-cov llvm-mc llvm-rtdyld opt
lli-child-target llvm-diff llvm-mcmarkup llvm-size
llvm-ar llvm-dis llvm-nm llvm-stress
llvm-as llvm-dwarfdump llvm-objdump llvm-symbolizer
kandinski@desire:~/data/work/hack/llvm-3.4.2.src/build/bin$ export EXT_LLVM_DIR=~/data/work/hack/llvm-3.4.2.src/build
@candeira
candeira / above log 01.all.bash
Created July 12, 2014 02:37
Extempore 0.52 failing to build in Ubuntu 13.10 under linuxbrew
+ build/obj/AudioDevice.o src/AudioDevice.cpp
+ build/obj/EXTCondition.o src/EXTCondition.cpp
+ build/obj/Extempore.o src/Extempore.cpp
+ build/obj/EXTLLVM.o src/EXTLLVM.cpp
+ build/obj/EXTMonitor.o src/EXTMonitor.cpp
+ build/obj/EXTMutex.o src/EXTMutex.cpp
+ build/obj/EXTThread.o src/EXTThread.cpp
+ build/obj/OSC.o src/OSC.cpp
+ build/obj/Scheme.o src/Scheme.cpp
+ build/obj/SchemeFFI.o src/SchemeFFI.cpp
@candeira
candeira / pr.md
Created March 25, 2013 21:46 — forked from piscisaureus/pr.md

Locate the section for your github remote in the .git/config file. It looks like this:

[remote "origin"]
	fetch = +refs/heads/*:refs/remotes/origin/*
	url = [email protected]:joyent/node.git

Now add the line fetch = +refs/pull/*/head:refs/remotes/origin/pr/* to this section. Obviously, change the github url to match your project's URL. It ends up looking like this: