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 NicovideoPlayingFavicon | |
// @namespace https://twitter.com/hirogasa/ | |
// @match http://www.nicovideo.jp/watch/* | |
// @description ニコニコ動画の再生中ページのFaviconを変更します。 | |
// @version 1.4 | |
// @grant none | |
// ==/UserScript== | |
if(window.WatchApp) { // Flashプレーヤー |
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
# -*- coding: utf-8 -*- | |
# Livedoor ReaderにOPMLで一度にインポートできるのは260件までっぽい感じだったので適当に分割する | |
require 'nokogiri' | |
xml = Nokogiri::XML.parse(File.read(ARGV[0])) | |
feeds = xml.search("//outline[@type]") | |
count = 0 | |
feeds = feeds.to_a.uniq{|i| i["htmlUrl"]} |
NewerOlder