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
package net.ja731j.twitter.autoreply.command; | |
import java.io.IOException; | |
import java.net.URISyntaxException; | |
import java.util.ArrayList; | |
import java.util.HashMap; | |
import java.util.List; | |
import java.util.Map; | |
import java.util.Scanner; | |
import java.util.regex.Pattern; |
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
var csv; | |
function searchMenmaAll(){ | |
csv = "\"id\",\"tweet\",\"time\",\"user id\",\"screen name\",\"name\",\"protected\",\"reply to menmanist\"\n"; | |
var callback = function(data: Array<Tweet>){ | |
if(data.length){ | |
for(var i=0;i<data.length;i++){ | |
csv += "\""+ data[i].id + "\",\"" + | |
data[i].tweet + "\",\"" + | |
data[i].time_ms + "\",\"" + | |
data[i].user.id + "\",\"" + |
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
var row = document.getElementsByTagName("tr"); | |
var seiseki = new Object(); | |
for(var i=0;i<row.length;i++){ | |
var childs = row[i].getElementsByTagName("td"); | |
if(childs.length == 8 && childs[5].innerText!="評価"){ | |
seiseki[childs[5].innerText] = seiseki[childs[5].innerText]?seiseki[childs[5].innerText]+1:1 | |
} | |
} | |
console.log(seiseki); |
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
package com.oboenikui.videotest; | |
import com.sun.jna.Native; | |
import com.sun.jna.NativeLibrary; | |
import uk.co.caprica.vlcj.binding.LibVlc; | |
import uk.co.caprica.vlcj.player.MediaPlayerFactory; | |
import uk.co.caprica.vlcj.player.embedded.EmbeddedMediaPlayer; | |
import uk.co.caprica.vlcj.player.embedded.videosurface.CanvasVideoSurface; | |
import uk.co.caprica.vlcj.runtime.RuntimeUtil; |
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://xn--p8jaa.xn--p8jaaaaaaaaaaaaaaaaaaaaaaaaa/うhttp://xn--p8jaa.xn--p8jaaaaaaaaaaaaaaaaaaaaaaaaa/うhttp://xn--p8jaa.xn--p8jaaaaaaaaaaaaaaaaaaaaaaaaa/うhttp://xn--p8jaa.xn--p8jaaaaaaaaaaaaaaaaaaaaaaaaa/うhttp://xn--p8jaa.xn--p8jaaaaaaaaaaaaaaaaaaaaaaaaa/うhttp://xn--p8jaa.xn--p8jaaaaaaaaaaaaaaaaaaaaaaaaa/http://xn--p8jaa.xn--p8jaaaaaaaaaaaaaaaaaaaaaaaaa/ |
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 'rubygems' | |
require 'twitter' | |
require 'net/http' | |
require 'uri' | |
require 'nokogiri' | |
CONSUMER_KEY = "replace to your api key" | |
CONSUMER_SECRET = "replace to your api secret" | |
ACCESS_TOKEN = "replace to your access token" | |
ACCESS_TOKEN_SECRET = "replace to your 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
var style = document.createElement("style"); | |
style.innerHTML = | |
[` | |
@keyframes blink { | |
75% { opacity: 0.0; } | |
} | |
@-webkit-keyframes blink { | |
75% { opacity: 0.0; } | |
} | |
body { |
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
function parseQuery(query) { | |
var result = {}; | |
var vars = query.split('&'); | |
for (var i = 0; i < vars.length; i++) { | |
var pair = vars[i].split('='); | |
result[decodeURIComponent(pair[0])] = decodeURIComponent(pair[1]); | |
} | |
return result; | |
} |
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
(function() { | |
var style = document.createElement("style"); | |
style.innerText = ".AdaptiveMedia{display: none !important}\n.twitter-timeline-link.u-hidden{display: block !important}"; | |
document.head.appendChild(style); | |
var setMouseOver = function(selectedElements) { | |
var hidden; | |
if(selectedElements) { | |
hidden = selectedElements.find(".twitter-timeline-link.u-hidden"); | |
} else { | |
hidden = $(".twitter-timeline-link.u-hidden"); |