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
| ++++[>++++>++++<<-]> | |
| [<++++++++>-]> | |
| [<->-]<< | |
| [>++>+>+<<<-]+++ | |
| [>---->+>+++<<<-]>- | |
| <++ | |
| [>.>.>.<<.>..<<-]> | |
| .>.>.+<<<++++++++ | |
| [>>>++++<<<-]> | |
| .>.>.-<<.>.>.<<<++ |
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
| diff --git a/memcache.c b/memcache.c | |
| index d283ad9..c4016f5 100644 | |
| --- a/memcache.c | |
| +++ b/memcache.c | |
| @@ -59,6 +59,8 @@ static int memcache_lzo_enabled; | |
| ZEND_DECLARE_MODULE_GLOBALS(memcache) | |
| +static PHP_FUNCTION(memcache_uncompress_lzo); | |
| + |
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
| <?php | |
| require_once 'Zend/Loader/Autoloader.php'; | |
| Zend_Loader_Autoloader::getInstance() | |
| ->unregisterNamespace(array('Zend_', 'ZendX_')) | |
| ->setFallbackAutoloader(true); | |
| $apiUri = 'https://api.prowlapp.com/publicapi/add'; | |
| $apiKey = '0000000000000000000000000000000000000000'; |
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
| diff -ur a/HTML/Template/Flexy/Compiler/Flexy.php b/HTML/Template/Flexy/Compiler/Flexy.php | |
| --- a/HTML/Template/Flexy/Compiler/Flexy.php | |
| +++ b/HTML/Template/Flexy/Compiler/Flexy.php | |
| @@ -516,17 +516,18 @@ | |
| $suffix = ''; | |
| $modifier = strlen(trim($element->modifier)) ? $element->modifier : ' '; | |
| + $charset = empty($GLOBALS['_HTML_TEMPLATE_FLEXY']['currentOptions']['charset']) ? 'ISO-8859-1' : $GLOBALS['_HTML_TEMPLATE_FLEXY']['currentOptions']['charset']; | |
| switch ($modifier) { |
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
| typedef NSComparisonResult (^comparator)(id, id); | |
| comparator myComparator = ^NSComparisonResult(id obj1, id obj2) { | |
| return NSOrderedSame; | |
| }; | |
| NSComparisonResult (^myComparator2)(id, id) = ^NSComparisonResult(id obj1, id obj2) { | |
| return NSOrderedSame; | |
| }; | |
| - (NSComparisonResult)compareA:(id)a withB:(id)b usingComparator:(comparator)theComparator; |
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
| #!/bin/bash | |
| if [ $# -eq 0 -a -z "$NO_RECURSION" ]; then | |
| export NO_RECURSION=1 | |
| find . -name \*@2x.png -depth 1 -print0 | xargs -0 "$0" | |
| else | |
| for src in "$@"; do | |
| base="${src%%@2x.png}" | |
| dst="${base}.png" | |
| if [ -f "$src" -a "$src" != "$base" ]; then | |
| echo "$src -> $dst" |
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
| #ifdef HAVE_CONFIG_H | |
| #include "config.h" | |
| #endif | |
| #include <php.h> | |
| #include <Zend/zend_extensions.h> | |
| static PHP_MINFO_FUNCTION(anext); | |
| static PHP_FUNCTION(anext); |
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
| <?php | |
| $im = new Imagick('CMYK.jpg'); | |
| $cs = $im->getImageColorspace(); | |
| if ($cs !== Imagick::COLORSPACE_RGB && $cs !== Imagick::COLORSPACE_SRGB) { | |
| $icc = null; | |
| try { | |
| $icc = $im->getImageProfile('icc'); | |
| } catch (ImagickException $e) { | |
| if ($cs === Imagick::COLORSPACE_CMYK) { | |
| $icc = file_get_contents('JapanColor2001Coated.icc'); |
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
| #!/usr/bin/python | |
| # vim: syn=python fileencoding=utf-8 ai et ts=4 sts=4 sw=4 | |
| import sys, subprocess | |
| args = ['git', 'grep'] | |
| argv = sys.argv[1:] | |
| if argv[0] == 'grep': | |
| argv = argv[1:] | |
| for arg in argv: | |
| args.append(unicode(arg, 'utf-8').encode('euc-jp')) |
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
| --- shells/zsh-devel/Portfile.orig | |
| +++ shells/zsh-devel/Portfile | |
| @@ -35,6 +35,8 @@ | |
| sourceforge:${my_name} \ | |
| http://deb.grml.org/pool/main/z/${my_name}-lovers/:love | |
| +patch_sites https://raw.github.com/gist/1403346/49d9fff3a3a136f7c26fdabbaf965315a7e0adaa | |
| + | |
| # Some love for zsh: http://grml.org/zsh/zsh-lovers.html | |
| set love_distname zsh-lovers_0.8.3 |