Skip to content

Instantly share code, notes, and snippets.

Avatar

Christian Kirkegaard kirkegaard

View GitHub Profile
@kirkegaard
kirkegaard / ssf4ae_trials.txt
Created Feb 11, 2014
Super Street Fighter 4: Arcade Edition - Community Trials
View ssf4ae_trials.txt
SUPER STREET FIGHTER IV: ARCADE EDITION
New Character Trials
Created by: Doopliss/DaDoppen
Table of contents:
1: Opening Words [OW]
@kirkegaard
kirkegaard / yang_combos.md
Created Feb 11, 2014
Super Street Fighter 4: Arcade Edition - Yang Trials
View yang_combos.md

Yang Trials

  • rekka x3
  • h.palm
  • command grab
  • super
  • ultra 1
  • ultra 2
  • lp > cr.hk
  • mp > cr.mp
View anonfunc.php
<?php
class myObj
{
public function a($args1)
{
return function($args2) use ($args1) {
return array_merge($args1, $args2);
};
}
View full-ffmpeg.sh
# Add multimedia source
echo "deb http://www.deb-multimedia.org wheezy main non-free" >> /etc/apt/sources.list
echo "deb-src http://www.deb-multimedia.org wheezy main non-free" >> /etc/apt/sources.list
apt-get update
apt-get install deb-multimedia-keyring # if this aborts, try again
apt-get update
# Go to local source directory
cd /usr/local/src
View osx-for-hackers.sh
#!/bin/sh
# Some things taken from here
# https://github.com/mathiasbynens/dotfiles/blob/master/.osx
# Set the colours you can use
black='\033[0;30m'
white='\033[0;37m'
red='\033[0;31m'
green='\033[0;32m'
View gist:202919
jQuery.jQueryRandom = 0;
jQuery.extend(jQuery.expr[":"], {
random: function(a, i, m, r) {
if (i == 0) {
jQuery.jQueryRandom = Math.floor(Math.random() * r.length);
};
return i == jQuery.jQueryRandom;
}
});
@kirkegaard
kirkegaard / pushpull.sass
Created Dec 7, 2009
push and pull for 960 plugin for Compass
View pushpull.sass
// overrides grid-unit-base and add position:relative
=grid-unit-base(!gutter_width = !ninesixty_gutter_width)
:display inline
:position relative
:float left
:margin
:left= !gutter_width / 2
:right= !gutter_width / 2
// added a grid-push and grid-pull
View jquery.verk.snow.js
;(function($) {
// displays snowflakes in a giving selector
$.fn.snow = function(options) {
var opts = $.extend({}, $.fn.snow.defaults, options);
// generates a random position
function getRandomPosition(width) {
return Math.floor(Math.random() * width);
View gist:291696
<?php
class Planner_AuthController extends Zend_Controller_Action {
protected $_flashMessenger = null;
protected $_form = null;
public function getForm() {
if(null === $this->_form) {
$this->_form = new Planner_Form_Login();
View gist:291699
<?php
class Planner_Form_Login extends Zend_Form {
public function init() {
$this->setAction('/auth/process/');
$this->setElementFilters(array('StringTrim', 'StripTags'));
$this->addElement('text', 'username', array(
'label' => 'Username:',