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 | |
// http://php.net/manual/en/migration54.new-features.php | |
// http://php.net/manual/en/closure.bindto.php | |
class Sample { | |
public static function getArray() { | |
return [0b100, 0b101, 0b111]; | |
} |
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://stackoverflow.com/questions/9166400/convert-rgba-png-to-rgb-with-pil | |
# http://stackoverflow.com/questions/11484204/python-invert-image-with-transparent-background-pil-gimp | |
import argparse | |
import StringIO | |
import Image | |
import ImageOps | |
class Command(object): |
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
from functools import wraps | |
import logging | |
logging.basicConfig(level=logging.DEBUG) | |
logger = logging.getLogger(__name__) | |
OlderNewer