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 | |
date('Y-m-d H:i:s' ,rand(strtotime('now'), strtotime('+ 20 days'))); | |
date('Y-m-d H:i:s', strtotime( '-'.mt_rand(0,3888000).' seconds')); | |
date('Y-m-d', strtotime( '+'.mt_rand(0,30).' days')); |
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
[user] | |
name = Ludovic Meyer | |
email = ludovic.meyer@pixel-cookers.com | |
[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
@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; |
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://www.refulz.com:8082/index.php#tab2?foo=123 | |
Property Result | |
------------------------------------------- | |
host www.refulz.com:8082 | |
hostname www.refulz.com | |
port 8082 | |
protocol http | |
pathname index.php |
OlderNewer