This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.dropdown-btn { | |
display: inline-block; | |
*display: inline; | |
/* IE7 inline-block hack */ | |
*zoom: 1; | |
padding: 4px 10px 4px; | |
margin-bottom: 0; | |
font-size: 13px; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Generated with default variables */ | |
.row-fluid .offset12 { | |
margin-left: 104.25531913799999%; | |
*margin-left: 104.20212764863828%; | |
} | |
.row-fluid .offset12:first-child { | |
margin-left: 102.127659564%; | |
*margin-left: 102.07446807463829%; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Requires jQuery (will fallback) | |
* Can take advantage of `numeral()` https://github.com/adamwdraper/Numeral-js | |
*/ | |
// Dependencies | |
/* | |
if(typeof jQuery === 'undefined') { | |
var elt = document.createElement('script'); | |
elt.src = 'http://code.jquery.com/jquery.min.js'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* First draft of sister function http_build_query http://php.net/manual/function.http-build-query.php | |
* intended to generate hidden form inputs from the *same* arguments | |
*/ | |
function html_build_form(array $array, $prefix = '') { | |
$str = ''; | |
foreach($array as $key => $val) { | |
$name = $prefix?$prefix.'['.$key.']':$key; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* Ultimate PHP v5 class declaration */ | |
/** TODO | |
* - interfaces http://php.net/manual/language.oop5.interfaces.php | |
* - abstract http://php.net/manual/language.oop5.abstract.php | |
* - traits http://php.net/manual/language.oop5.traits.php | |
* - magic methods http://php.net/manual/language.oop5.magic.php | |
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
BASE_URL=/subfolder |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
DEPLOY_TO=/var/www/labs.sherbrow.fr/ | |
BRANCH=master | |
git --work-tree=$DEPLOY_TO --git-dir=./ checkout $BRANCH -f || exit 1 | |
echo "Deploying to "$DEPLOY_TO" ("$BRANCH")" || exit 2 | |
composer install -d $DEPLOY_TO --quiet --no-dev |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;MonaServer.ini | |
;host = <HOST>:1935 | |
socketBufferSize = 114688 | |
[application] | |
dir = /usr/local/MonaServer/apps/ | |
[servers] | |
; targets = | |
[RTMFP] | |
port = 1985 | |
keepAlivePeer = 10 |