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
/* https://twitter.com/tana3n/status/497753779177926657 */ | |
var STATUS_ID = "497753779177926657"; | |
var Twitter = require("twitter")({ | |
consumer_key: process.env.TWITTER_CONSUMER_KEY, | |
consumer_secret: process.env.TWITTER_CONSUMER_SECRET, | |
access_token_key: process.env.TWITTER_ACCESS_TOKEN, | |
access_token_secret: process.env.TWITTER_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
using System; | |
using System.Drawing; | |
using System.IO; | |
using System.Net.Http; | |
using System.Net.Http.Headers; | |
using System.Threading.Tasks; | |
namespace Meshi | |
{ | |
// IBM Watson (Bluemix) を利用した飯画像判定 |
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 "open-uri" | |
require "uri" | |
require "nokogiri" | |
require 'tweetstream' | |
CONSUMER_KEY = "あなたのCONSUMER_KEY" | |
CONSUMER_SECRET = "あなたのCONSUMER_SECRET" | |
OAUTH_TOKEN = "あなたのOAUTH_TOKEN" | |
OAUTH_TOKEN_SECRET = "あなたのOAUTH_TOKEN_SECRET" | |
YOUR_ID = "あなたのTwitterID (@sudosanなど)" |
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 waitShake = false; | |
$("#syaro_pyonpyon").on({ | |
"mouseover": function() { | |
// マウスが上に乗ったら、揺らしアニメーションを強制的に中断して | |
// バウンドアニメーションに切り替えていく | |
$(this).removeClass("shake") | |
.addClass("animated bounce"); |
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 milkbox(uri){ | |
// 文字列としてエレメントを定義 | |
var eleStr = function(){/* | |
<div id="milkbox_body" class="milk_wrap"> | |
<div class="milkbox_container"> | |
<div class="milkbox_content"> | |
<img src="CONTENT_URI"> | |
<div class="milkbox_button">x</div> | |
<div id="loader_id" class="loader"> | |
<img src="img/load.gif"> |
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 ruby | |
# how to use: | |
# 1. domains ファイルをこのスクリプトを同じディレクトリに配置し、リモートフォローしたいインスタンスのドメインを記載してください | |
# (place `domains` file located same directory as the script file, and write the domain name of instance which you want to remote follow.) | |
# 2. run this script | |
# 3. 発見されたアカウントがあなたのインスタンスに登録されます, ただ、リモートアカウントとして登録されるだけで、実際にフォローなどは行われません | |
# (new accounts might have registered to your insntance, but not yet `followed` by your account (only registered to instance as a remote account)) | |
# 4. なんらかのお好きな方法でフォローしてください | |
# (please follow them by your account yourself, your ways) |