Skip to content

Instantly share code, notes, and snippets.

View OskarStark's full-sized avatar
🏠
Symfony ❣️ Sonata

Oskar Stark OskarStark

🏠
Symfony ❣️ Sonata
View GitHub Profile
<?php
/**
* Base version of the method
* @see http://www.php.net/manual/de/function.vsprintf.php#110666
*
* Like vsprintf, but accepts $args keys instead of order index.
* Both numeric and strings matching /[a-zA-Z0-9_-]+/ are allowed.
*
* @example: vskprintf('y = %y$d, x = %x$1.1f, key = %key$s', array('x' => 1, 'y' => 2, 'key' => 'MyKey'))
@OskarStark
OskarStark / .zshrc
Created March 22, 2012 09:35
My ZSH configuration
# Path to your oh-my-zsh configuration.
export ZSH=$HOME/.oh-my-zsh
# Set name of the theme to load.
# Look in ~/.oh-my-zsh/themes/
# Optionally, if you set this to "random", it'll load a random theme each
# time that oh-my-zsh is loaded.
export ZSH_THEME="robbyrussell"
# Set to this to use case-sensitive completion