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
gistup |
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
gistup |
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
""" | |
PRE-PROCESSORS | |
============================================================================= | |
Preprocessors work on source text before we start doing anything too | |
complicated. | |
""" | |
import re | |
import util |
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 | |
ob_end_clean(); | |
header("Connection: close"); | |
ignore_user_abort(true); // optional | |
ob_start(); | |
echo ('Text the user will see'); | |
$size = ob_get_length(); | |
header("Content-Length: $size"); | |
ob_end_flush(); // Strange behaviour, will not work | |
flush(); // Unless both are called ! |
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() { | |
window.onload = function() { | |
var a = window.location.hash.substring(1); | |
10 < a.length && d("affiliate", a, 2); | |
e("copy-link-button1"); | |
e("copy-link-button2"); | |
document.getElementById("modal-close").onclick = function(a) { | |
a.preventDefault(); | |
document.getElementById("share-modal").style.display = "none" | |
}; |
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
<?xml version="1.0"?> | |
<data> | |
<country name="Liechtenstein"> | |
<rank>1</rank> | |
<year>2008</year> | |
<gdppc>141100</gdppc> | |
<neighbor name="Austria" direction="E"/> | |
<neighbor name="Switzerland" direction="W"/> | |
</country> | |
<country name="Singapore"> |
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
sudo yum install nodejs npm --enablerepo=epel |
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
gistup |
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
gistup |
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
gistup |