Skip to content

Instantly share code, notes, and snippets.


Pavel Roskin proski

View GitHub Profile
jimporter / build-boost-libc++
Last active Jan 2, 2020
Build Boost against libc++
View build-boost-libc++
# First, build libc++ See <>, "Build on Linux using CMake
# and libsupc++." and substitute libsupc++ for libstdc++. NOTE: You'll probably
# need to explicitly link libsupc++ when you compile your own code!
# Next, download Boost and extract it somewhere. Set SRC_DIR to that location.
# Set this to be the install prefix. "/usr" is also a good choice.
dixson3 /
Created Jan 10, 2014
Create and manage a case-sensitive disk-image on OSX. This is great when you have a need to work with case-sensitive repos on a mac.
# where to store the sparse-image
create() {
hdiutil create -type SPARSE -fs 'Case-sensitive Journaled HFS+' -size 60g -volname workspace ${WORKSPACE}
detach() {
dashohoxha /
Last active Nov 22, 2019
How to setup a Wifi Access Point on Ubuntu 12.04 (or its derivatives).
### Setup a wifi Access Point on Ubuntu 12.04 (or its derivatives).
### make sure that this script is executed from root
if [ $(whoami) != 'root' ]
echo "
This script should be executed as root or with sudo:
sudo $0
fedir /
Last active Apr 7, 2020 — forked from nicerobot/
Clone or update all user's gists #backup #github #gists #management
#!/usr/bin/env python
# Clone or update all a user's gists
# curl -ks | USER=fedir python
# USER=fedir python
import json
import urllib
from subprocess import call
from urllib import urlopen
import os