Skip to content

Instantly share code, notes, and snippets.

@PeterHajdu
PeterHajdu / README.md
Created August 1, 2012 17:43
base config for the coding dojo

base build system for a coding dojo

@PeterHajdu
PeterHajdu / MP.hpp
Created August 4, 2012 16:36
playing with sdl
#pragma once
#include "SDL.h"
template < class MatrixType >
class MatrixPrinter
{
public:
MatrixPrinter( unsigned int x, unsigned int y )
: m_screen( 0 )
@PeterHajdu
PeterHajdu / gist:3993332
Created November 1, 2012 12:23
playing with cinch
#!/usr/bin/irb
@PeterHajdu
PeterHajdu / .gitignore
Created November 1, 2012 16:41
rspec cucumber test
*swp
@PeterHajdu
PeterHajdu / somefile
Created November 21, 2012 21:54
rails test
railstest
@PeterHajdu
PeterHajdu / .gitignore
Last active December 14, 2015 09:09
object container
*swp
*~
*.o
a.out
demo
testFile
a
gmon*
prof*
*core*
@PeterHajdu
PeterHajdu / README.md
Created March 29, 2013 13:35
playing with boost asio

playing with boost asio

*.o
*.so
*~
*.swp
*.gcno
*.gcda
*.gcov
*.log
.tup
test
class Rtt
{
Rtt()
: m_index( 0 )
{
}
const std::string ping()
{
Sequence temp( m_index++ );
@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())
{