- Rémi Prévost (added 2012/01/27)
- Simon Prévost (added 2012/01/27)
- Vincent Roy-Chevalier (added 2012/01/27)
- Louis-Andrée Labadie (added 2012/01/27)
- Pierre-Luc Babin (added 2012/01/27)
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
$(document).ready(function(){ | |
$(document.body).delegate('a[href="#"]','click',function(e){ | |
return false; | |
}); | |
}) |
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 | |
function _decode($data) | |
{ | |
$newdata = array(); | |
foreach($data as $key => $value) { | |
if(is_array($value)) { | |
// recursion because the value for checkbox is an array | |
$newdata[$key] = $this->_decode($value); | |
} else { |
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
$.extend($.expr[':'], { | |
hasData: function (obj, intStackIndex, arrProperties) { | |
var arguments = arrProperties[ 3 ]; | |
var $this = $(obj); | |
var isValid = false; | |
if(arguments.indexOf('=') > -1){ | |
arguments = arguments.split('=') | |
if($this.data(arguments[0]) == arguments[1]){ | |
isValid = true; |
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
if (typeof window.localStorage == 'undefined' || typeof window.sessionStorage == 'undefined') (function () { | |
var Storage = function (type) { | |
function createCookie(name, value, days) { | |
var date, expires; | |
if (days) { | |
date = new Date(); | |
date.setTime(date.getTime()+(days*24*60*60*1000)); | |
expires = "; expires="+date.toGMTString(); |
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
{ | |
"auto_complete_commit_on_tab": true, | |
"bold_folder_labels": true, | |
"color_scheme": "Packages/Base16 Color Schemes/base16-tomorrow.dark.tmTheme", | |
"file_exclude_patterns": | |
[ | |
"*-min.js", | |
"*.min.css", | |
".DS_Store", | |
"*.tmproj", |
I hereby claim:
- I am plbabin on github.
- I am plbabin (https://keybase.io/plbabin) on keybase.
- I have a public key whose fingerprint is 352C 46FB 762F 706D 6AC0 7B29 4990 86F4 153F DAC1
To claim this, I am signing this object: