I hereby claim:
- I am simounet on github.
- I am simounet (https://keybase.io/simounet) on keybase.
- I have a public key ASBg4vFTFqYeFB-z59vEWXqnuBaLwiP3EjttnGV8RxcR2Qo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| @mixin relative-font-size( $px-size, $unit: 'rem', $context: $base-font-size ) { | |
| @if $px-size == 0 { | |
| @error "$px-size value can't be equalse to 0."; | |
| } | |
| @if unit( $px-size ) != "px" { | |
| @error "$px-size must be value in pixels." | |
| } | |
| @if $unit != 'rem' |
| var destination = imagesBase + '1x/'; | |
| var destinationRetina = imagesBase + '2x/'; | |
| gulp.task("default", function() { | |
| spriteAndCompress( destination ); | |
| spriteAndCompress( destinationRetina, 'retina' ); | |
| }); |
| $files: sprite-map("file/*.png"); | |
| %file-sprite { | |
| display: inline-block; | |
| margin-right: 8px; | |
| @include sprite-dimensions($files, 'doc'); | |
| background: sprite-url($files) no-repeat; | |
| content: ''; | |
| vertical-align: middle; | |
| } |
| #!/bin/bash | |
| alias be='local_or_global behat' | |
| alias comp='local_or_global composer /usr/local/bin/' | |
| function local_or_global() { | |
| if [ -f ./bin/$1 ] | |
| then | |
| echo "LOCAL:" | |
| ./bin/$1 | |
| elif [ $2 ] && [ -f $2$1 ] | |
| then |
| *.php filter=tabspace4 | |
| *.tpl filter=tabspace4 | |
| *.xml filter=tabspace4 | |
| *.yml filter=tabspace2 |
| {* Button to create a new content *} | |
| <form action="/content/action" method="post"> | |
| {* set the class identifier to use *} | |
| <input type="hidden" name="ClassIdentifier" value="article"> | |
| {* set the language to use *} | |
| <input type="hidden" name="ContentLanguageCode" value="fre-FR"> | |
| {* set the parent node id to use *} | |
| <input type="hidden" name="NodeID" value="{$module_result.node_id}"> | |
| <input class="button" type="submit" value="Create a new content under this one" name="NewButton"> | |
| </form> |
| alias sadd="svn status |grep '\?' |awk '{print $2}'| xargs svn add" | |
| alias grepf="grep --exclude=*.svn-base --exclude-dir=\.svn --exclude=*~ " | |
| svndiff() | |
| { | |
| svn diff "${@}" | colordiff | |
| } |
| function print_r(obj) { | |
| win_print_r = window.open('about:blank', 'win_print_r'); | |
| win_print_r.document.write('<html><body>'); | |
| r_print_r(obj, win_print_r); | |
| win_print_r.document.write('</body></html>'); | |
| } | |
| function r_print_r(theObj, win_print_r) { | |
| if(theObj.constructor == Array || theObj.constructor == Object){ | |
| if (win_print_r == null) |