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/bash | |
# Allows us to read user input below, assigns stdin to keyboard | |
exec < /dev/tty | |
POSITIONAL_ARGS=() | |
while [[ $# -gt 0 ]]; do | |
case $1 in | |
-n|--no-verify) |
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
(function () { | |
var articleId = fyre.conv.load.makeArticleId(null); | |
fyre.conv.load({ | |
"strings": { | |
"signIn": "Identification", | |
"signInGuest": "Se connecter en invit\u00e9", | |
"signOut": "D\u00e9connexion", | |
"editProfile": "\u00c9diter le profil", | |
"siteAdmin": "Administration", | |
"postButton": "Poster", |
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
# Require any additional compass plugins here. | |
# Set this to the root of your project when deployed: | |
http_path = "/" | |
css_dir = "assets/css" | |
sass_dir = "assets/compass" | |
images_dir = "assets/img" | |
javascripts_dir = "assets/js" | |
blessc_executable = '/usr/local/bin/blessc'; |
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
/* | |
jQuery.media, a very lightweight plugin for media query testings | |
Examples : | |
if ( $.media({'min-width' : '480px', 'max-width' : '768px'}) ) { | |
(...) | |
} | |
if ( $.media({'min-width' : 480) ) { | |
(...) |
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
(function($) { | |
$.fn.responsiveCanvas = function(method) { | |
var methods = { | |
// init functions | |
init : function(options) { | |
return this.each(function(i) { | |
var c = this, // THE canvas | |
ct = c.getContext('2d'), // check the context | |
$container = $(c).parent(); // parent container object | |
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
/* | |
Sorting by Taxonomy in WordPress | |
just add this file in your functions.php file | |
*/ | |
function orderby_tax_clauses( $clauses, $wp_query ) { | |
global $wpdb; | |
$taxonomies = get_taxonomies(); | |
foreach ($taxonomies as $taxonomy) { | |
if ( isset( $wp_query->query['orderby'] ) && $taxonomy == $wp_query->query['orderby'] ) { |
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
/** | |
* Tuto Transitions CSS - Exemple 1 | |
*/ | |
html { | |
height:100%; | |
box-shadow:inset 0 0 50em #335a54; | |
} | |
body { |
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
/** | |
* Tuto Pseudo-éléments - Exemple 1 | |
*/ | |
@font-face{font-family:icons;src:url('http://fico.lensco.be/f/fico.eot');src:url('http://fico.lensco.be/f/fico.eot?#iefix') format('embedded-opentype'),url(data:font/truetype;charset=utf-8;base64,AAEAAAAQAQAABAAARkZUTV8+JbYAAAEMAAAAHEdERUYAZgAEAAABKAAAACBPUy8yZ4lJqQAAAUgAAABgY21hcAP25ogAAAGoAAACYmN2dCAJDgnDAAAEDAAAACZmcGdtD7QvpwAABDQAAAJlZ2FzcAAAABAAAAacAAAACGdseWZZWpTJAAAGpAAAIMBoZWFk+O4ZFQAAJ2QAAAA2aGhlYQd7A6oAACecAAAAJGhtdHjUPQWRAAAnwAAAAORsb2Nh8aD50AAAKKQAAAB0bWF4cAFaATgAACkYAAAAIG5hbWVHWuEQAAApOAAAA0Bwb3N0nGv7gAAALHgAAAFqcHJlcAJ3zycAAC3kAAABHwAAAAEAAAAAyYlvMQAAAADKy0wjAAAAAMrpamEAAQAAAA4AAAAYAAAAAAACAAEAAQA4AAEABAAAAAIAAAADA94BkAAFAAACigJYAAAASwKKAlgAAAFeADIA8AAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABVS1dOAEAAIOAAAyD/OAAAA5EAeAAAAAEAAAAAAysDhAAAACAAAQAAAAMAAAADAAAAHAABAAAAAAFcAAMAAQAAABwABAFAAAAATABAAAUADAAhACsALQA/AEMARQBMAFAAVABnAGkAbQBwAHYAegDXIZMhqSKVIpcinSMCIxoltiYBJgUmayaRJpkmoCcJJw4nFCdkJ/IrB+AA//8AAAAgACsALQA/AEEARQBMAFAAVABhAGkAbABwAHIAegDXIZAhqSKVIpcinSMC |
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
/** | |
* Tuto Pseudo-éléments - Exemple 2 | |
*/ | |
@font-face{font-family:icons;src:url('http://fico.lensco.be/f/fico.eot');src:url('http://fico.lensco.be/f/fico.eot?#iefix') format('embedded-opentype'),url(data:font/truetype;charset=utf-8;base64,AAEAAAAQAQAABAAARkZUTV8+JbYAAAEMAAAAHEdERUYAZgAEAAABKAAAACBPUy8yZ4lJqQAAAUgAAABgY21hcAP25ogAAAGoAAACYmN2dCAJDgnDAAAEDAAAACZmcGdtD7QvpwAABDQAAAJlZ2FzcAAAABAAAAacAAAACGdseWZZWpTJAAAGpAAAIMBoZWFk+O4ZFQAAJ2QAAAA2aGhlYQd7A6oAACecAAAAJGhtdHjUPQWRAAAnwAAAAORsb2Nh8aD50AAAKKQAAAB0bWF4cAFaATgAACkYAAAAIG5hbWVHWuEQAAApOAAAA0Bwb3N0nGv7gAAALHgAAAFqcHJlcAJ3zycAAC3kAAABHwAAAAEAAAAAyYlvMQAAAADKy0wjAAAAAMrpamEAAQAAAA4AAAAYAAAAAAACAAEAAQA4AAEABAAAAAIAAAADA94BkAAFAAACigJYAAAASwKKAlgAAAFeADIA8AAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABVS1dOAEAAIOAAAyD/OAAAA5EAeAAAAAEAAAAAAysDhAAAACAAAQAAAAMAAAADAAAAHAABAAAAAAFcAAMAAQAAABwABAFAAAAATABAAAUADAAhACsALQA/AEMARQBMAFAAVABnAGkAbQBwAHYAegDXIZMhqSKVIpcinSMCIxoltiYBJgUmayaRJpkmoCcJJw4nFCdkJ/IrB+AA//8AAAAgACsALQA/AEEARQBMAFAAVABhAGkAbABwAHIAegDXIZAhqSKVIpcinSMC |
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
/** | |
* Tuto Pseudo-éléments - Exemple 3 | |
*/ | |
@font-face{font-family:icons;src:url('http://fico.lensco.be/f/fico.eot');src:url('http://fico.lensco.be/f/fico.eot?#iefix') format('embedded-opentype'),url(data:font/truetype;charset=utf-8;base64,AAEAAAAQAQAABAAARkZUTV8+JbYAAAEMAAAAHEdERUYAZgAEAAABKAAAACBPUy8yZ4lJqQAAAUgAAABgY21hcAP25ogAAAGoAAACYmN2dCAJDgnDAAAEDAAAACZmcGdtD7QvpwAABDQAAAJlZ2FzcAAAABAAAAacAAAACGdseWZZWpTJAAAGpAAAIMBoZWFk+O4ZFQAAJ2QAAAA2aGhlYQd7A6oAACecAAAAJGhtdHjUPQWRAAAnwAAAAORsb2Nh8aD50AAAKKQAAAB0bWF4cAFaATgAACkYAAAAIG5hbWVHWuEQAAApOAAAA0Bwb3N0nGv7gAAALHgAAAFqcHJlcAJ3zycAAC3kAAABHwAAAAEAAAAAyYlvMQAAAADKy0wjAAAAAMrpamEAAQAAAA4AAAAYAAAAAAACAAEAAQA4AAEABAAAAAIAAAADA94BkAAFAAACigJYAAAASwKKAlgAAAFeADIA8AAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABVS1dOAEAAIOAAAyD/OAAAA5EAeAAAAAEAAAAAAysDhAAAACAAAQAAAAMAAAADAAAAHAABAAAAAAFcAAMAAQAAABwABAFAAAAATABAAAUADAAhACsALQA/AEMARQBMAFAAVABnAGkAbQBwAHYAegDXIZMhqSKVIpcinSMCIxoltiYBJgUmayaRJpkmoCcJJw4nFCdkJ/IrB+AA//8AAAAgACsALQA/AEEARQBMAFAAVABhAGkAbABwAHIAegDXIZAhqSKVIpcinSM |
NewerOlder