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
// I'm pretty sure this is a bad idea | |
setImmediate(function() { | |
gulp.task('later', function() { | |
gulp.src('**/*.txt') | |
.pipe(gulp.dest('output/')) | |
}); | |
}); | |
// but I really want to... | |
fs.readFile('some-other-tool.json', function(err, data) { |
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
diff --git a/lib/chippino/apps/chippino/request/sanitize.php b/lib/chippino/apps/chippino/request/sanitize.php | |
index a8124c1..22a5c37 100644 | |
--- a/lib/chippino/apps/chippino/request/sanitize.php | |
+++ b/lib/chippino/apps/chippino/request/sanitize.php | |
@@ -10,6 +10,18 @@ | |
$as = strtolower($this->as); | |
$value = $this->value; | |
+// recursive handling for array structures | |
+if (is_array($value)) { |
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
diff --git a/lib/chippino/apps/chippino/template/init.php b/lib/chippino/apps/chippino/template/init.php | |
index 8b19783..0129533 100644 | |
--- a/lib/chippino/apps/chippino/template/init.php | |
+++ b/lib/chippino/apps/chippino/template/init.php | |
@@ -34,6 +34,8 @@ if (file_exists($cache_file)) { | |
$content = PXHTML::parse($file, null); | |
file_put_contents('/tmp/'.$chk.'.php', $content); | |
+define('PXHTML_SIGNATURE_HASH', $chk); | |
+ |
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
svn co svn+readonly://example.com/path/to/repository <local_directory> |
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
diff --git a/lib/chippino/apps/chippino/template/chip/node/header.php b/lib/chippino/apps/chippino/template/chip/node/header.php | |
index d51b5ae..aeff84a 100644 | |
--- a/lib/chippino/apps/chippino/template/chip/node/header.php | |
+++ b/lib/chippino/apps/chippino/template/chip/node/header.php | |
@@ -9,7 +9,9 @@ class ChipHeader_PXHTMLNode extends PXHTMLNode { | |
$replace = (strtolower($node->getAttribute('replace')) == "false") ? FALSE : TRUE; | |
while ($node->firstChild) { | |
if ($node->firstChild->nodeType == XML_TEXT_NODE) { | |
- header(trim($node->firstChild->wholeText)."\n\n", $replace); | |
+ $str = 'header(trim("'.$node->firstChild->wholeText.'")."\n\n", '.$replace.');'; |
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
diff --git a/lib/chippino/apps/chippino/request/getrequest.php b/lib/chippino/apps/chippino/request/getrequest.php | |
index 8991d6e..208ce77 100644 | |
--- a/lib/chippino/apps/chippino/request/getrequest.php | |
+++ b/lib/chippino/apps/chippino/request/getrequest.php | |
@@ -7,7 +7,7 @@ | |
* "as" => What to Sanitize As | |
* "default" => a default value | |
* Valid Sanitize Options are INT, FLOAT, STRING, RAW | |
- * @return an array containing valid request items sanitized | |
+ * @return a stdclass containing valid request items sanitized |
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
/** | |
* Sslac - A "backwards" class library for JavaScript | |
* Provides a consistent way to declare classes to ease 1st and 3rd | |
* party development by using closures. | |
* Features: | |
* - auto extension: Objects can be set to extend by default, allowing for | |
* easy inheritance of this.* properties as well as prototyped methods | |
* - consistent privileged interface: this.* assignments are handled by the | |
* framework. | |
* - static and instance functionality: Can create both statuc and instance |
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 | |
if (class_exists('mysqli')) { | |
return; | |
} | |
class mysqli_result_facade { | |
protected $result; | |
protected $fields = array(); | |
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
<!DOCTYPE> | |
<html> | |
<head> | |
<title>LinkedIn JavaScript API</title> | |
<script type="text/javascript" src="http://platform.linkedin.com/in.js"> | |
api_key: OugQK-Y27TUS2_LeCD_vLuUE0L9ew35dh-tYtWkZDk4lQm6LYbcdVXgRELNWUMxl | |
authorize: false | |
</script> | |
</head> |
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
<div id="one"> | |
<div id="two"> | |
<div id="three"> | |
<!-- content here --> | |
</div> | |
</div> | |
</div> | |
/* one: relative position, lets things be placed absolutely */ | |
#one { |
OlderNewer