Skip to content

Instantly share code, notes, and snippets.

View pius's full-sized avatar

Pius Uzamere pius

View GitHub Profile
@gsoltis
gsoltis / gold_fig_service_whitelist.txt
Last active May 6, 2024 03:17
Gold Fig Service WhiteList
Airbrake
Airship
Akamai
Amplitude
Apple App Store
Apple Itunes Connect
Asayer
AWS
CircleCI
CloudFlare
@toolmantim
toolmantim / Makefile
Last active December 5, 2022 23:14
An example of using Make instead of Grunt for fast, simple and maintainable front-end asset compilation.
# A simple Makefile alternative to using Grunt for your static asset compilation
#
## Usage
#
# $ npm install
#
# And then you can run various commands:
#
# $ make # compile files that need compiling
# $ make clean all # remove target files and recompile from scratch
@pragdave
pragdave / gist:5997018
Created July 15, 2013 01:57
Two implementations of flatten/1
# The simplest version is probably to use list concatenation. However,
# this version ends up rebuilding the list at each step
defmodule UsingConcat do
def flatten([]), do: []
def flatten([ head | tail ]), do: flatten(head) ++ flatten(tail)
def flatten(head), do: [ head ]
end
# This version is more efficient, as it picks successive head values
# from a list, adding them to `result`. The trick is that we have to
# Setup dir and repo
mkdir underscore-string
cd underscore-string
git init
# Make some files we'll need
touch README.md package.js smart.json
# Add the submodule and checkout the desired branch
git submodule add git://github.com/epeli/underscore.string.git lib/underscore.string
@olivierlacan
olivierlacan / launch_sublime_from_terminal.markdown
Created September 5, 2011 15:50
Launch Sublime Text 2 from the Mac OS X Terminal

Launch Sublime Text 2 from the Mac OS X Terminal

Sublime Text 2 ships with a CLI called subl (why not "sublime", go figure). This utility is hidden in the following folder (assuming you installed Sublime in /Applications like normal folk. If this following line opens Sublime Text for you, then bingo, you're ready.

open /Applications/Sublime\ Text\ 2.app/Contents/SharedSupport/bin/subl

You can find more (official) details about subl here: http://www.sublimetext.com/docs/2/osx_command_line.html

Installation

@tommorris
tommorris / README
Created October 18, 2010 20:13
evolution of RDFa on OpenPlaques.org
I've been slowly adding bits of RDFa into OpenPlaques. Here's how.
Really, it isn't that difficult.
It also isn't complete yet. There's loads more to do.
This is just to show people that RDFa isn't very difficult! ;-)