Skip to content

Instantly share code, notes, and snippets.

@kurumigi
kurumigi / youtube_format_code_itag_list.md
Last active June 11, 2023 20:08 — forked from sidneys/youtube_format_code_itag_list.md
YouTube video stream format codes itags

YouTube video stream format codes

Comprehensive list of YouTube format code itags

itag Code Container Content Resolution Bitrate Range VR / 3D
5 flv audio/video 240p - - -
6 flv audio/video 270p - - -
17 3gp audio/video 144p - - -
18 mp4 audio/video 360p - - -
22 mp4 audio/video 720p - - -
@kurumigi
kurumigi / download_manifest.py
Last active April 29, 2018 17:16 — forked from 5S/download_manifest.py
starlight.kirara.ca から現在の res_ver を拾ってきて最新版の manifest を落とすやつ
import lz4.block
import re
import StringIO
import struct
import urllib2
BASEURL = "http://storage.game.starlight-stage.jp"
def fetch_res_ver():
response = urllib2.urlopen("https://starlight.kirara.ca/")
@kurumigi
kurumigi / rec_radiko.sh
Last active December 15, 2015 23:09 — forked from matchy256/rec_radiko.sh
#!/bin/sh
LANG=ja_JP.utf8
pid=$$
date=`date '+%Y%m%d-%H%M'`
playerurl=http://radiko.jp/player/swf/player_3.0.0.01.swf
playerfile="/tmp/player.swf"
keyfile="/tmp/authkey.png"
@kurumigi
kurumigi / rt.rb
Created February 9, 2010 01:56 — forked from ssig33/rt.rb
(1)username・password・sourceをTwitterIrcGateway本体から取得。 (2)非公式RTと併用できるようにコマンド名を変更。
require 'net/http'
module Misuzilla::IronRuby
module TypableMap
include Misuzilla::Applications::TwitterIrcGateway::AddIns::TypableMap
@@commands = []
def self.setup
@@typablemap_proc = Session.AddInManager.GetAddIn(Misuzilla::Applications::TwitterIrcGateway::AddIns::TypableMapSupport.to_clr_type).TypableMapCommands
@kurumigi
kurumigi / view-with-gdv.user.js
Created September 17, 2009 06:38 — forked from hail2u/view-with-gdv.user.js
[GM script]View PDF/PPT with Google Document Viewer (with AutoPagerize)
// ==UserScript==
// @name View PDF/PPT with Google Document Viewer
// @namespace http://hail2u.net/
// @description Insert a "[GDV]" link for viewing PDF/PPT with Google Document Viewer.
// @exclude http://docs.google.com/*
// ==/UserScript==
(function () {
var excludeUrls = new RegExp([
"^https?://docs\\.google\\.com/",