Skip to content

Instantly share code, notes, and snippets.

View andreaja's full-sized avatar

Andreas Jacobsen andreaja

  • Oslo, Norway
View GitHub Profile
/usr/lib
/usr/lib/python2.5
/usr/lib/python2.5/site-packages
/usr/lib/python2.5/site-packages/py
/usr/lib/python2.5/site-packages/py/c-extension
/usr/lib/python2.5/site-packages/py/c-extension/greenlet
/usr/lib/python2.5/site-packages/py/c-extension/greenlet/greenlet.so
/usr/lib/python2.4
/usr/lib/python2.4/site-packages
/usr/lib/python2.4/site-packages/py
python-codespeak-lib: /usr/share/pycentral/python-codespeak-lib/site-packages/py/io
python-codespeak-lib: /usr/share/doc/python-codespeak-lib/py/doc/talk/ui/default/py-web.png
python-codespeak-lib: /usr/share/pycentral/python-codespeak-lib/site-packages/py/path/local/local.py
python-codespeak-lib: /usr/share/pycentral/python-codespeak-lib/site-packages/py/magic/assertion.py
python-codespeak-lib: /usr/share/pycentral/python-codespeak-lib/site-packages/py/thread/io.py
python-codespeak-lib: /usr/share/pycentral/python-codespeak-lib/site-packages/py/thread/pool.py
python-codespeak-lib: /usr/share/pycentral/python-codespeak-lib/site-packages/py/builtin/sorted.py
python-codespeak-lib: /usr/share/pycentral/python-codespeak-lib/site-packages/py/apigen/__init__.py
python-codespeak-lib: /usr/share/pycentral/python-codespeak-lib/site-packages/py/apigen/rest/genrest.py
python-codespeak-lib: /usr/share/pycentral/python-codespeak-lib/site-packages/py/test/rsession/rsession.py
# an example setup.py file that enables buildutils commands
from setuptools import setup, find_packages
try:
import buildutils
except ImportError:
pass
setup(
name='euler',
sieve([]) ->
[];
sieve([H|T]) ->
List = lists:filter(fun(N) -> N rem H /= 0 end, T),
[H|sieve(List)];
sieve(N) ->
sieve(lists:seq(2,N)).
-module(problem3).
-export([solve/0]).
-include_lib("eunit/include/eunit.hrl").
primes(N) when N == 1 ->
[1];
primes(N) ->
primes(N, [], 2).
primes(1, Primes, _) -> Primes;
[color]
branch = auto
diff = auto
status = auto
[color "branch"]
current = yellow reverse
local = yellow
remote = green
@andreaja
andreaja / aoeu
Created September 24, 2008 09:43
Hi Rob,
This is a test.
Go ahead and edit it.
$ grep -i 'git' .emacs
(setq load-path (cons (expand-file-name "/usr/share/doc/git-core/contrib/emacs") load-path))
(require 'vc-git)
(when (featurep 'vc-git) (add-to-list 'vc-handled-backends 'git))
(require 'git)
(autoload 'git-blame-mode "git-blame"
"Minor mode for incremental blame for Git." t)