- Tampermonkeyを入れる Chrome, Firefox, Microsoft Edge, Safari
- これをクリック→https://gist.github.com/Petitsurume/f7256fb115177bee73bead14d6a46f70/raw/nicommentpost.user.js
- https://friends.nico/nicomment を開く
- やったぜ。
これはWTFPLです。
01 | Theme of Cinderella Girls (M01A) | |
---|---|---|
02 | Theme of Cinderella Girls (TypeB) (M01B) | |
03 | Primula Julian (M01C) | |
04 | Anemone(M02) | |
05 | Carriage for Cutie(M03) | |
06 | Passione(M04) | |
07 | April Tango(M05) | |
08 | Waltz for Dreamers(M06) | |
09 | Puzzling Pizzicato(M07) | |
10 | The Reversible Heart(M08) |
import json | |
import subprocess | |
import sys | |
ffprobe_res = subprocess.run([ | |
"ffprobe", | |
"-print_format", | |
"json", | |
"-show_chapters", | |
"-i", |
これはWTFPLです。
import objc_util | |
SFSafariViewController = objc_util.ObjCClass('SFSafariViewController') | |
safari = SFSafariViewController.alloc().initWithURL_(objc_util.nsurl('http://www.google.com')) | |
root_vc = objc_util.ObjCClass('UIApplication').sharedApplication().keyWindow().rootViewController() | |
while root_vc.presentedViewController(): | |
root_vc = root_vc.presentedViewController() | |
root_vc.presentViewController_animated_completion_(safari,False,None) |
au.mirror.archlinuxarm.org : 8sec | |
br.mirror.archlinuxarm.org : 11sec | |
br2.mirror.archlinuxarm.org : 136sec | |
fi.mirror.archlinuxarm.org : 14sec | |
fr.mirror.archlinuxarm.org : 6sec | |
de3.mirror.archlinuxarm.org : 11sec | |
de.mirror.archlinuxarm.org : 140sec | |
de4.mirror.archlinuxarm.org : 13sec | |
de5.mirror.archlinuxarm.org : 6sec | |
de6.mirror.archlinuxarm.org : 155sec |
[2016-10-12 12:47] [PACMAN] Running 'pacman -Syu avahi' | |
[2016-10-12 12:47] [PACMAN] synchronizing package lists | |
[2016-10-12 12:47] [PACMAN] starting full system upgrade | |
[2016-10-12 12:48] [PACMAN] Running 'pacman -Syu avahi-discovery' | |
[2016-10-12 12:48] [PACMAN] synchronizing package lists | |
[2016-10-12 12:48] [PACMAN] Running 'pacman -Syu avahi-discover' | |
[2016-10-12 12:48] [PACMAN] synchronizing package lists | |
[2016-10-12 12:49] [PACMAN] Running 'pacman -Syu nss-mdns' | |
[2016-10-12 12:49] [PACMAN] synchronizing package lists | |
[2016-10-12 12:49] [PACMAN] starting full system upgrade |
import ui | |
v = ui.View() | |
datas=[ | |
{'user_name':'admin','text':'test post'}, | |
{'user_name':'user','text':'test'} | |
] | |
class MyTableViewDelegate(object): | |
def tableview_number_of_sections(self,tv): | |
return 1 | |
def tableview_number_of_rows(self,tv,section): |
var app = require("express")(); | |
app.get('/',function(req,res){ | |
res.send({status:"ok"}); | |
}); | |
app.listen(3000); |
find . -type f | xargs grep -E "^ [a-z]" | sed -E 's/:.*$//g' | uniq | xargs sed -i -e 's/ / /g' |
#!/usr/bin/python2 | |
# configure | |
slack_api_token="PLEASE_REPLACE_YOUR_SLACK_BOT_API_TOKEN" | |
slack_channel="update-notify" | |
server_name="main vm" | |
import os | |
os.system("echo n | LANG=C pacman -Syu > /tmp/pacman-result.txt 2> /dev/null") | |
import requests | |
fp = open("/tmp/pacman-result.txt","r") |