Skip to content

Instantly share code, notes, and snippets.

View rahil627's full-sized avatar
in a crisis, be back once i find 'n make a home ;(

rathewolf rahil627

in a crisis, be back once i find 'n make a home ;(
View GitHub Profile
@jryio
jryio / Prepend YAML Front Matter to Markdown Files
Last active July 12, 2023 12:06
Adding YAML front matter to markdown files (title)
# For each result of find call our script to run on the filename
$ find . -name "*.md" -print0 | xargs -0 -I file ./prepend.sh file
@emersonmx
emersonmx / simple_opengl_sfml.cpp
Created February 4, 2016 02:21
Simple OpenGL with SFML
/**
* Simple OpenGL with SFML.
*
* Build: g++ -o simple_opengl_sfml simple_opengl_sfml.cpp -lsfml-window -lsfml-system -lGL
*/
#include <SFML/Window.hpp>
#include <SFML/OpenGL.hpp>
#define WINDOW_WIDTH 640
@bkaradzic
bkaradzic / orthodoxc++.md
Last active July 11, 2025 13:00
Orthodox C++

Orthodox C++

What is Orthodox C++?

Orthodox C++ (sometimes referred as C+) is minimal subset of C++ that improves C, but avoids all unnecessary things from so called Modern C++. It's exactly opposite of what Modern C++ suppose to be.

Why not Modern C++?

@ericboehs
ericboehs / Fresh-Install.markdown
Last active July 24, 2023 08:16
What I do after a fresh install of Mac OS X