- 生活用品
- 納税
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
سمَـَّوُوُحخ ̷̴̐خ ̷̴̐خ ̷̴̐خ امارتيخ ̷̴̐خ |
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
// ==UserScript== | |
// @name 希望の電話番号 | |
// @namespace http://oq.la/ | |
// @include https://oc.dti.ne.jp/cgi-bin/uss/contract/add_plan/sphone/add_plan.cgi | |
// ==/UserScript== | |
(function() { | |
window.addEventListener("load", function(e) { | |
if (document.getElementsByTagName("b")[0].innerText == "ご希望の電話番号を選択してください。") { | |
var numbers = document.getElementsByTagName("input"); |
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
if [ $# -eq 0 ] | |
then | |
echo "argument required" | |
exit | |
fi | |
wide=`ffmpeg -i $1 2>&1 | grep "DAR 16:9," | wc -l` | |
long=`ffmpeg -i $1 2>&1 | grep "DAR 9:16," | wc -l` | |
short=`ffmpeg -i $1 2>&1 | grep "DAR 3:4," | wc -l` | |
#sd=`ffmpeg -i $1 2>&1 | grep "DAR 4:3," | wc -l` |
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
// ==UserScript== | |
// @name Auto Request Kindle Edition | |
// @namespace http://oq.la/ | |
// @include http://www.amazon.co.jp/* | |
// ==/UserScript== | |
(function(){ | |
var asin = document.getElementById("ASIN"); | |
if (asin) { | |
asin = asin.value; | |
var iframe = document.createElement("iframe"); |
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
#!/usr/bin/env python | |
import netrc, urllib, urllib2 | |
from gmusicapi.api import Api | |
from xml.etree.ElementTree import * | |
lastfm__user = 'oquno' | |
api_key = 'your apikey' | |
def init(): | |
api = Api() |
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
#!/usr/bin/env python | |
import sys, os, netrc, sqlite3 | |
from gmusicapi.api import Api | |
sqlite_path = "/var/cache/mt-daapd/songs3.db" | |
plist_dir = "/mp3/m3u" | |
def init(): | |
api = Api() | |
(email, account, password) = netrc.netrc().hosts['google.com'] |
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 'taglib2' | |
file = ARGV.shift | |
t = TagLib2::File.new(file) | |
new = "#{File.dirname(file)}/#{sprintf("%02d", t.track)} #{t.title}.mp3" | |
File.rename(file, new) |