Skip to content

Instantly share code, notes, and snippets.

View bastih's full-sized avatar
🏠
Working from home

Sebastian Hillig bastih

🏠
Working from home
View GitHub Profile
@bastih
bastih / compile_emacs.sh
Last active August 27, 2015 15:29 — forked from marcwebbie/compile_emacs.sh
Compile emacs 24 on Red Hat 6 workstations
# install needed libraries
sudo yum install texinfo libXpm-devel giflib-devel libtiff-devel libotf-devel automake ncurses-devel
# compile autoconf
cd /tmp
wget ftp://ftp.gnu.org/gnu/autoconf/autoconf-2.68.tar.bz2
tar xjvf autoconf-2.68.tar.bz2
cd autoconf-2.68/
./configure && make && sudo make install
@bastih
bastih / ScanBenchmark.cpp
Created February 23, 2012 13:32 — forked from tinnefeld/ScanBenchmark.cpp
ScanBenchmark // g++ -O2 Scanbenchmark.cc Timer.h
#include <iostream>
#include <stdlib.h>
#include "scans.h"
#include "Timer.h"
using namespace std;
const long long size = 1024*1024*128; // 1GB
int main()
#include <iostream>
using namespace std;
class A
{
protected:
public:
int count;
A() : count(1) { };
#include <iostream>
using namespace std;
class A
{
protected:
public:
int count;