Skip to content

Instantly share code, notes, and snippets.

View aramperes's full-sized avatar
:shipit:

Aram Peres aramperes

:shipit:
View GitHub Profile
@gcmurphy
gcmurphy / ramdisk.c
Created February 23, 2016 18:40
Create tmpfs mountpoint in c.
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <limits.h>
#include <sys/mount.h>
char *
ramdisk(const char *ns, const char *sz)
{
@ghinda
ghinda / git-commit-csv-export.sh
Last active July 30, 2024 13:46
git csv export of commits in the last month
git log --since='last month' --pretty=format:'%h;%an;%ad;%s' --author='Ionut Colceriu' > ~/log.csv
@bootleq
bootleq / multi-lang.txt
Created August 1, 2010 09:49
text sample contains multi-language characters.
copy from http://meta.wikimedia.org/wiki/List_of_Wikipedias
Anglo-Saxon (ang)
العربية (ar)
سنڌي (sd)
Azərbaycan (az)
Български (bg)
বাংলা (bn)
Català (ca)
Česky (cs)