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
(function(g, undefined) { | |
var __index_of = !Array.prototype.indexOf ? function (array, search) { | |
var len = array.length | |
, from = Number(arguments[1]) || 0; | |
from = from < 0 ? Math.ceil(from) : Math.floor(from); | |
if (from < 0) from += len; | |
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
require 'mime/types' | |
require 'net/https' | |
require 'net/http/post/multipart' # sudo gem install multipart-post | |
require 'oauth' # sudo gem install oauth | |
CONSUMER_KEY = '' | |
CONSUMER_SECRET = '' | |
ACCESS_TOKEN = '' | |
ACCESS_TOKEN_SECRET = '' |
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
/* | |
* CREATE TABLE `test` ( | |
* `id` int(10) unsigned NOT NULL AUTO_INCREMENT, | |
* `text` text, | |
* `binary` blob, | |
* PRIMARY KEY (`id`) | |
* ) ENGINE=InnoDB DEFAULT CHARSET=utf8 | |
* | |
*/ |
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
<!--[if IE]><script> | |
\ ¦ / | |
\ ¦ / | |
/ ̄ ̄ ヽ, | |
/ ', / _/\/\/\/|_ | |
\ ノ//, {☎} /¨`ヽ {☎} ,ミヽ / \ / | |
\ / く l ヽ._.ノ ', ゝ \ < IE 死 > | |
/ /⌒ リ `ー'′ ' ⌒\ \ / \ | |
(  ̄ ̄⌒ ⌒ ̄ _)  ̄|/\/\/\/ ̄ | |
` ̄ ̄`ヽ /´ ̄ |
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
#!/usr/bin/env node | |
var util = require('util') | |
, express = require('express') // npm install express | |
, OAuth = require('oauth').OAuth // npm install oauth | |
, opts = require('opts'); // npm install opts | |
opts.parse([{ | |
'short': 'p' | |
, 'long': 'port' |
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
var OAuth = require('oauth').OAuth; | |
var tokens = { | |
consumer_key: 'YOUR CONSUMER KEY', | |
consumer_key_secret: 'YOUR CONSUMER KEY SECRET', | |
access_token: 'YOUR ACCESS TOKEN', | |
access_token_secret: 'YOUR ACCESS TOKEN SECRET' | |
}; | |
var oa = new OAuth( |
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
(function(g, undefined) { | |
var __create = Object.create ? function(o) { | |
return Object.create(o); | |
} : function (o) { | |
function F() {} | |
F.prototype = o; | |
return new F(); | |
} |
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
!function() { | |
var nyan = {}; | |
(function u_nyan(key, value) { | |
nyan[key] = value; | |
return u_nyan; | |
}) | |
('nyan0', 'にゃん') |
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
// ==UserScript== | |
// @name twitter.com ツイート自動読み込みさん | |
// @version 0.1 | |
// @namespace http://n-at.me/ | |
// @description twitter.com ツイート自動読み込みさん ( ◜◡‾) | |
// @include http://twitter.com/* | |
// @include https://twitter.com/* | |
// @author tatあt | |
// ==/UserScript== |
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
var base64_decode_dataview = (function() { | |
var __map = {} | |
, __map_18 = {} | |
, __map_12 = {} | |
, __map_6 = {}; | |
!function() { | |
var chars = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/' | |
for (var i = 0, j = chars.length, c; i < j; i ++) { |
OlderNewer