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
$this->validatorSchema['username'] = new sfValidatorEmail( | |
array('trim' => true, 'must_match' => false, 'min_length' => 3, 'max_length' => 50), | |
array('messages d erreurs') | |
); |
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
/usr/local/psa/admin/sbin/websrvmng --reconfigure-vhost --vhost-name=domain.com |
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
UPDATE `wp_24_posts` SET `guid` = REPLACE(`guid`, "http://olddomain.com/", "http://newdomain.com/") |
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 (isset($_SERVER["HTTP_X_FORWARDED_FOR"])){ | |
$hostname=$_SERVER["HTTP_X_FORWARDED_FOR"] . ' via ' . $_SERVER["REMOTE_ADDR"]; | |
$hostname=$_SERVER["HTTP_X_FORWARDED_FOR"]; | |
} else { | |
$hostname=$_SERVER["REMOTE_ADDR"]; | |
} |
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
var intervalId; | |
var i = 0; | |
$("#element").mousedown(function(e) { | |
intervalId = setInterval(function(){ | |
console.log(i++); | |
}, 10); | |
}).mouseup(function() { | |
clearInterval(intervalId); | |
i = 0; | |
}); |
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
[user] | |
name = Ludovic Meyer | |
email = [email protected] | |
[core] | |
autocrlf = false | |
safecrlf = false | |
[merge] | |
summary = true | |
log = true | |
[alias] |
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
In Git Bash : | |
$ ln -s /d/Google\ Drive/Work/mistral/wordpress/wp-content/blogs.dir/ wp-content/blogs.dir | |
or | |
$ cmd | |
$ mklink /D wp-content\blogs.dir "D:\Google Drive\Work\mistral\wordpress\wp-content\blogs.dir" | |
In cmd : | |
$ mklink /D wp-content\blogs.dir "D:\Google Drive\Work\mistral\wordpress\wp-content\blogs.dir" |
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
/* | |
http://snipplr.com/view/7143/creative-css-font-stacks-optimized-for-titles-and-body-text/ | |
*/ | |
.arial{font-family:Arial,"Helvetica Neue",Helvetica,sans-serif;} | |
p.baskerville{font-family:Baskerville,"Times New Roman",Times,serif;} | |
.title.baskerville{font-family:Baskerville,Times,"Times New Roman",serif;} | |
.cambria{font-family:Cambria,Georgia,Times,"Times New Roman",serif;} | |
.century{font-family:"Century Gothic","Apple Gothic",sans-serif;} | |
.consolas{font-family:Consolas,"Lucida Console",Monaco,monospace;} |
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
@linkColor: #4396CE; | |
@topMenuBackground: #222; | |
@topMenuBorderColor: #235F87; | |
@topMenuLinkColor: #DDD; | |
@topMenuLinkColorHover: #FFF; | |
@headerBackground: #4496CE; | |
@headerLinkColor: #EEE; | |
@headerLinkColorHover: #FFF; |
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
-webkit-text-stroke: 0.3px; |
OlderNewer