I hereby claim:
- I am m4dz on github.
- I am m4dz (https://keybase.io/m4dz) on keybase.
- I have a public key whose fingerprint is 3359 9EB0 7403 4DB8 3942 5BEF D462 7C41 7D96 9710
To claim this, I am signing this object:
server { | |
listen 80; | |
server_name drupal-7.x.dev; | |
root /Users/mads/Sites/drupal-7.x.dev; | |
error_log /Users/mads/Sites/logs/drupal-7.x.dev-error.log; | |
# Drupal rules | |
# |
I hereby claim:
To claim this, I am signing this object:
Les dingues et les paumés jouent avec leurs manies | |
Dans leurs chambres blindées leurs fleurs sont carnivores | |
Et quand leurs monstres crient trop près de la sortie | |
Ils accouchent des scorpions et pleurent des mandragores | |
Et leurs aéroports se transforment en bunkers | |
A quatre heures du matin derrière un téléphone | |
Quand leurs voix qui s'appellent se changent en revolvers | |
Et s'invitent à calter en se gueulant come on | |
Les dingues et les paumés se cherchent sous la pluie |
FOUND_NDENV=0 | |
ndenvdirs=("$HOME/.ndenv" "/usr/local/ndenv" "/opt/ndenv") | |
for ndenvdir in "${ndenvdirs[@]}" ; do | |
if [ -d $ndenvdir/bin -a $FOUND_NDENV -eq 0 ] ; then | |
FOUND_NDENV=1 | |
export PATH=${ndenvdir}/bin:$PATH | |
eval "$(ndenv init --no-rehash - zsh)" | |
function ndenv_prompt_info() { |
function getParams() { | |
var href, | |
paramList, | |
arg, | |
refs = {}; | |
href = document.defaultView.location.href; | |
if ( -1 != href.indexOf("?") ) | |
{ | |
paramList = href.split("?")[1].split(/&|;/); |
.radial-gradient(@position, @cover, @begin, @end, ...) { | |
@props: ~`"@{arguments}".replace(/[\[\]]/g, '')`; | |
@stop_color: ~`"@{props}".split(/[\s,]+/).slice(-2, -1)`; | |
background-color: @stop_color; | |
background: -webkit-radial-gradient(@props); | |
background: -moz-radial-gradient(@props); | |
background: -ms-radial-gradient(@props); | |
background: -o-radial-gradient(@props); | |
background: radial-gradient(@props); |
// CSS TRANSITIONS ------------------------------------------------------------/ | |
// I pass 2 args to the method but the second one is only here to prevent | |
// LessCSS to this bloody trick that @arguments return an array if there's two | |
// args but a string when there's only one oO'… | |
.transition (@param, @fakeParam:X, ...) | |
{ | |
// Explode arguments and remove the fakeParam | |
@args : ~`"@{arguments}".replace(/[\[\]]|\sX/g, '')`; | |
// Specify prefixable properties seperated with commas | |
// i.e.: ~"transform,opacity" |
/* Compass HiDPI sprite helper | |
* | |
* Pre-requisites : | |
* - the hidpi sprite images needs to be in a folder near the standard one, and | |
* named **<name>_hidpi** (e.g. **images/icons** and **images/icons_hidpi**) | |
* | |
* @author : MAD <ecrire@madsgraphics.com> | |
*/ | |
// ****************************************************************************/ |
#!/bin/sh | |
ISSUE=$(git symbolic-ref HEAD 2> /dev/null | cut -b 14-) | |
COLS=$((${#ISSUE} + 10)) | |
subl -n -w "$*:1:$COLS" |