Skip to content

Instantly share code, notes, and snippets.

View tboztuna's full-sized avatar
🎯
Focusing

Tolga Boztuna tboztuna

🎯
Focusing
View GitHub Profile
@staltz
staltz / introrx.md
Last active June 4, 2025 06:30
The introduction to Reactive Programming you've been missing
@ogrrd
ogrrd / dnsmasq OS X.md
Last active June 1, 2025 05:55
Setup dnsmasq on OS X

Never touch your local /etc/hosts file in OS X again

To setup your computer to work with *.test domains, e.g. project.test, awesome.test and so on, without having to add to your hosts file each time.

Requirements

Install

@kenpower
kenpower / gist:4018118
Created November 5, 2012 16:27
3D OpenGL Cube in SFML
////////////////////////////////////////////////////////////
// Headers
////////////////////////////////////////////////////////////
#include "stdafx.h"
#ifdef _DEBUG
#pragma comment(lib,"sfml-graphics-d.lib")
#pragma comment(lib,"sfml-audio-d.lib")
#pragma comment(lib,"sfml-system-d.lib")
#pragma comment(lib,"sfml-window-d.lib")
@Steven-Rose
Steven-Rose / gist:3943830
Created October 24, 2012 04:27
VI: Select all + delete, select all + copy
Select all and delete (actually move to buffer)
:%d
Select all and copy to buffer
:%y
Use p to paste the buffer.