Skip to content

Instantly share code, notes, and snippets.

Welcome to Drift!

Drift is an always-already versioned, cloud-backed text editor. You can use it to take notes, and save them in the GitHub cloud.

Your gists are always saved locally, and any changes you make will get pushed to GitHub's servers.

To name a gist, touch its name in the toolbar.

You can use the share button at the top-right to copy a link to one of your gists, or view it on the web in Safari.

@chapados
chapados / uncrustify.cfg
Last active August 29, 2015 14:19
uncrustify_anki
#
# Uncrustify Configuration File
# File Created With UncrustifyX 0.4.3 (252)
#
# Alignment
# ---------
## Alignment
@chapados
chapados / git-log-cpr.py
Last active September 9, 2016 20:18
List commits that are candidates for cherry-picking (in master but not release/candidate)
#!/usr/bin/env python
import argparse
import os
import re
import subprocess
import sys
def parse_args(args):
@chapados
chapados / workspace.sh
Created July 7, 2017 20:09 — forked from scottsb/casesafe.sh
Create and manage a case-sensitive disk-image on macOS (OS X).
#!/bin/bash
# ---------------------------------------------------------
# Customizable Settings
# ---------------------------------------------------------
MOUNT_POINT="${CASE_SAFE_MOUNT_POINT:-${HOME}/workspace}"
VOLUME_PATH="${CASE_SAFE_VOLUME_PATH:-${HOME}/.workspace.dmg.sparseimage}"
VOLUME_NAME="${CASE_SAFE_VOLUME_NAME:-workspace}"
VOLUME_SIZE="${CASE_SAFE_VOLUME_SIZE:-60g}"

Keybase proof

I hereby claim:

  • I am chapados on github.
  • I am chapados (https://keybase.io/chapados) on keybase.
  • I have a public key ASBBgzwx1riPz2VqTwAS8ebMsQoBNZSrDzRE11ib9JuJJgo

To claim this, I am signing this object: