Skip to content

Instantly share code, notes, and snippets.

View elehcim's full-sized avatar
🔭

Michele Mastropietro elehcim

🔭
View GitHub Profile
anonymous
anonymous / Makefile
Created May 26, 2013 18:55
Laplacian operator in Julia and C.
all : laplace.so
laplace.so : laplace.h laplace.c
gcc -O3 -fopenmp -fPIC -c laplace.c
gcc -O3 -fopenmp -fPIC -shared -o liblaplace.so laplace.o
rm -f laplace.o
clean:
rm -f laplace.so
@marazmiki
marazmiki / daemon.py
Created September 4, 2012 07:53
Python daemon example
#!/usr/bin/env python
# coding: utf-8
import argparse
import os
import sys
import time
import atexit
import logging
import signal