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
| # -*- coding: utf-8 -*- | |
| # | |
| # ng.py | |
| # created by giginet on 2011/10/23 | |
| # | |
| import os | |
| import random | |
| from PIL import Image | |
| templates = [Image.open('templates/type%d.png' % i).convert('RGBA') for i in xrange(1, 5)] |
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
| # -*- coding: utf-8 -*- | |
| # | |
| # /Users/giginet/Desktop/gyouza.py | |
| # created by giginet on 2011/11/25 | |
| # | |
| import twoauth | |
| class Gyoza(object): | |
| def __init__(self, consumer_key, consumer_secret, access_token, access_token_secret): | |
| self.tw = twoauth.api(consumer_key, consumer_secret, access_token, access_token_secret) | |
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
| enchant() | |
| class SampleGame extends Game | |
| constructor : -> | |
| super 320, 320 | |
| @fps = 30 | |
| SampleGame.game = @ | |
| @preload "miku.gif" | |
| @onload = -> | |
| @rootScene.addChild new Player(100, 100) | |
| @start() |
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
| require 'open-uri' | |
| require 'rubygems' | |
| require 'json' | |
| require 'hatenabm' | |
| GITHUB_USERNAME = 'giginet' | |
| BITBUCKET_USERNAME = 'giginet' | |
| HATENA_USERNAME = 'gigi-net' | |
| HATENA_PASSWORD = '********' | |
| GITHUB_API_BASE = 'https://api.github.com' |
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
| class SkeltonjQueryPlugin | |
| constructor : (@pluginName) -> | |
| plugin = @ | |
| $.fn[@pluginName] = (method) -> | |
| if method and plugin[method]? | |
| return plugin[method].apply @, Array::slice.call(arguments, 1) | |
| else if typeof method is 'object' or not method | |
| return plugin['init'].apply @, arguments | |
| else | |
| $.error "Method #{method} does not exist on jQuery.#{plugin.pluginName}()." |
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
| # -*- coding: utf-8 -*- | |
| __author__ = 'giginet' | |
| __version__ = '1.0.0' | |
| __date__ = '2011/10/10' | |
| import os | |
| import sys | |
| from cStringIO import StringIO | |
| from pygments import highlight | |
| from pygments.lexers import get_lexer_by_name |
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
| @mixin crossbrowser($attr, $value) { | |
| #{$attr}: $value; | |
| -moz-#{$attr}: $value; | |
| -webkit-#{$attr}: $value; | |
| } |
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
| # -*- coding: utf-8 -*- | |
| # | |
| # ffmpeg.py | |
| # created by giginet on 2011/12/18 | |
| # | |
| import os | |
| import re | |
| import sys | |
| import math | |
| import commands |
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
| # -*- coding: utf-8 -*- | |
| # | |
| # /Users/giginet/Desktop/azui.py | |
| # created by giginet on 2011/12/20 | |
| # | |
| import random | |
| import twoauth | |
| class Azui(object): | |
| AZUI = ['Azusayumi_', 'st_e3'] | |
| def __init__(self, consumer_key, consumer_secret, access_token, access_token_secret): |