Skip to content

Instantly share code, notes, and snippets.

@premist
premist / gpac.rb
Last active August 29, 2015 14:04
Head-only GPAC formula for Homebrew
require 'formula'
# Borrowed from https://github.com/Homebrew/homebrew/blob/master/Library/Formula/gpac.rb
# License : https://github.com/Homebrew/homebrew/blob/master/LICENSE.txt
# Installs a relatively minimalist version of the GPAC tools. The
# most commonly used tool in this package is the MP4Box metadata
# interleaver, which has relatively few dependencies.
#
# The challenge with building everything is that Gpac depends on
@premist
premist / keybase.md
Created July 9, 2015 03:31
keybase.md

Keybase proof

I hereby claim:

  • I am premist on github.
  • I am premist (https://keybase.io/premist) on keybase.
  • I have a public key whose fingerprint is 448C E46C A714 48F8 7788 E57C F530 9452 F2EF 9CEB

To claim this, I am signing this object:

@premist
premist / gist:1253560
Created September 30, 2011 12:00
XHTML 1.0 Strict
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>XHTML 1.0 Strict Template</title>
<meta http-equiv="Content-type" content="text/html; charset=utf-8" />
@premist
premist / .zshrc
Created December 19, 2011 02:51
My ~/.zshrc configuration
ZSH=$HOME/.oh-my-zsh
ZSH_THEME="blinks"
# CASE_SENSITIVE="true"
# DISABLE_AUTO_UPDATE="true"
# DISABLE_LS_COLORS="true"
# DISABLE_AUTO_TITLE="true"
# COMPLETION_WAITING_DOTS="true"
plugins=(git osx gem macports node npm rails3 rvm svn)
@premist
premist / CentOS-Base.repo
Last active September 29, 2015 10:38
CentOS Mirror File (Sayclub Repo)
# CentOS-Base.repo
#
# The mirror system uses the connecting IP address of the client and the
# update status of each mirror to pick mirrors that are updated to and
# geographically close to the client. You should use this for CentOS updates
# unless you are manually picking other mirrors.
#
# If the mirrorlist= does not work for you, as a fall back you can try the
# remarked out baseurl= line instead.
#
@premist
premist / stage8-6.sh
Created January 12, 2012 15:54
Installing GitLab on CentOS 6.2 (Part 3)
rails server -p 3000 -e production
@premist
premist / donkim.c
Created March 7, 2012 03:29
Waffle Codes
void input(int *assign){int work=1;while(work){work>>=1;work<<=*assign;}sleep(INT_MAX);} void input(int *assign){int work=1;while(work){work>>=1;work<<=*assign;}sleep(INT_MAX);} void input(int *assign){int work=1;while(work){work>>=1;work<<=*assign;}sleep(INT_MAX);}
@premist
premist / dabblet.css
Created March 28, 2012 17:03
The first commented line is your dabblet’s title
/**
* The first commented line is your dabblet’s title
*/
background: #f06;
background: linear-gradient(45deg, #f06, yellow);
min-height: 100%;
@premist
premist / debug.css
Created April 8, 2012 14:02
Javascript-less DOM Debugger for HTML5
div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
abbr, address, cite, code,
del, dfn, em, img, ins, kbd, q, samp,
small, strong, sub, sup, var,
b, i,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, figcaption, figure,
@premist
premist / service
Created April 20, 2012 02:34 — forked from bmeck/service
init.d script
#!/bin/bash
#
# initd-example Node init.d
#
# chkconfig: 345 80 20
# description: Node init.d example
# processname: node
# pidfile: /var/run/initd-example.pid
# logfile: /var/log/initd-example.log
#