This file contains hidden or 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
C:\> netstat -a -b |
This file contains hidden or 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 show_status($done, $total, $size=30) { | |
static $start_time; | |
// if we go over our bound, just ignore it | |
if($done > $total) return; | |
if(empty($start_time)) $start_time=time(); | |
$now = time(); |
This file contains hidden or 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 |
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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"]; | |
} |