Skip to content

Instantly share code, notes, and snippets.

@PeterHajdu
PeterHajdu / readme.md
Created February 9, 2016 19:54
Verifying that +peterhajdu is my blockchain ID. https://onename.com/peterhajdu
@PeterHajdu
PeterHajdu / Makefile
Last active January 22, 2016 08:20
c_bare
SRC = *.c
HDR = *.h
default: test
valgrind ./test
test: $(SRC) $(HDR)
gcc $(SRC) -o test -lcheck
clean:
@PeterHajdu
PeterHajdu / name_of
Last active January 12, 2016 13:20
name_of
#!/usr/bin/python
first=[
"admiring",
"adoring",
"agitated",
"amazing",
"angry",
"awesome",
"backstabbing",
@PeterHajdu
PeterHajdu / main.cpp
Last active August 29, 2015 14:16
playing with libcaca
#include <iostream>
#include <caca.h>
#include <thetime/clock.hpp>
#include <thetime/frequency_meter.hpp>
#include <thetime/frequency_stabilizer.hpp>
int main()
{
if (caca_init())
{
class Rtt
{
Rtt()
: m_index( 0 )
{
}
const std::string ping()
{
Sequence temp( m_index++ );
*.o
*.so
*~
*.swp
*.gcno
*.gcda
*.gcov
*.log
.tup
test
@PeterHajdu
PeterHajdu / README.md
Created March 29, 2013 13:35
playing with boost asio

playing with boost asio

@PeterHajdu
PeterHajdu / .gitignore
Last active December 14, 2015 09:09
object container
*swp
*~
*.o
a.out
demo
testFile
a
gmon*
prof*
*core*
@PeterHajdu
PeterHajdu / somefile
Created November 21, 2012 21:54
rails test
railstest
@PeterHajdu
PeterHajdu / .gitignore
Created November 1, 2012 16:41
rspec cucumber test
*swp