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
| // | |
| // Push Notification(Provider側)をObjective-Cで実装する - wirehead virtual machine http://d.hatena.ne.jp/wirehead/20091206 | |
| // gcc apn.cpp -o apn -lssl -lcrypto -lstdc++ | |
| // ./apn 62c844764111be8222715f26c00708b59143af0cc7d55910cc325caf0162994c 'hello' | |
| // | |
| #include <netdb.h> | |
| #include <netinet/in.h> | |
| #include <arpa/inet.h> | |
| #include <openssl/ssl.h> |
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/ruby | |
| require 'rubygems' | |
| require 'osx/cocoa' | |
| require 'nokogiri' | |
| require 'open-uri' | |
| require 'nkf' | |
| require 'pp' | |
| OSX.require_framework 'Skype' | |
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/ruby | |
| require "rubygems" | |
| require 'json' | |
| require 'net/http' | |
| require 'uri' | |
| u = ARGV.shift | |
| u or abort "need url" |
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
| // ==UserScript== | |
| // @name mediawiki_dndupload.user.js | |
| // @description | |
| // @include http://* | |
| // ==/UserScript== | |
| if ( !Object.keys ) { | |
| Object.keys = function (o) { | |
| var keys = []; | |
| for (var i in o) { |
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
| if ( !Object.keys ) { | |
| Object.keys = function (o) { | |
| var keys = []; | |
| for (var i in o) { | |
| keys.push(i); | |
| } | |
| return keys; | |
| } | |
| } |
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
| WebkitAnimationDelay:0s | |
| WebkitAnimationDirection:normal | |
| WebkitAnimationFillMode:none | |
| WebkitAnimationIterationCount:1 | |
| WebkitAnimationDuration:0s | |
| WebkitAnimationName:none | |
| WebkitAnimationTimingFunction:cubic-bezier(0.25, 0.1, 0.25, 1) | |
| WebkitAnimationPlayState:running | |
| WebkitAppearance:none | |
| WebkitBackgroundClip:border-box |
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
| Tombloo.Service.actions.register( { | |
| type : 'menu', | |
| name : 'clearGreeCookie', | |
| execute : function(){ | |
| var cookieManager = Components.classes["@mozilla.org/cookiemanager;1"].getService(); | |
| cm = cookieManager.QueryInterface(Components.interfaces.nsICookieManager2); | |
| cm = cookieManager.QueryInterface(Components.interfaces.nsICookieManager); | |
| var n = 0; | |
| var domain = "example.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
| BAAAAAAAABAAABAAAAABAAAABABABBBBAABBAAAABBABAAABAABBAABBBBABAAAAAABAABABBBAABBBBABBAABBABABABBBBBAABABBBBBAAABBBABBBAAAAAABBABAABBABABABAABBBBBAABBBBBBAABAAABBBBBAAABBBBBAAAABBAABABAABABAABAABABBBBBBBBABBBBAABAAABBAAAAAAAAAAAAABBABBAAABBAABABABBBABBBAABAAAAABABBBAABBBAAAAAABABAABAAABAABAABAAAABABBBABBABBBBBBAABBBBBBAAABBBBAABBABAAAAABAAABBBBBBBABBAAAABABABAABABABABABABBABABBABABBABBBBAAABABBBBBABAAABAAABABBBAABABAAABABAABAABBAABAABBBAABABBABBAAABBBABBAAAAABAABBAABBBBBABBABABBAAAABAABBAABABBABBABAAABAABABABBABBBBBABABABBBBBABBBBBBBABBABBABAABBBABBAAABBBBBAAABABAABBABAAABBBAABABBBAAABBAABABAAAAB | |
| AAABAABAAABBAABAAAABBBABBBABABBBBBBAABAABAAABBABABBAABAABABBAABABAABAAAABBBBAAABBBBAAABBAABBBAABBBBBAABABABBBBABBABAABAABABABAABAAABBBAABABABAAAABAAAABABBBBAABBAAAAABBAABBBABBABAAABAAAAAAAABBAAAAAABABABABBBBBBBBABABABBBAAAABBABABABBAABABBABABBBAABBBAAAAAAABBBABAAAABAABBAABABABBABAABABBAABBBABAABAAAABABAABABAAABBABBBBAABBAAABBABAABBAABABABAABABAABBABBAAABAAABAABBBABBBBABBBAABABBABBBABABAAAABBBAAAAAAABAABBBBBABABABBABABAB |
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/perl | |
| use strict; | |
| use warnings; | |
| use utf8; | |
| binmode STDIN => ":utf8"; | |
| binmode STDOUT => ":utf8"; | |
| no warnings "recursion"; |