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
require "open-uri" | |
out=[] | |
file_ext="html" | |
[*400..550].each{|id| | |
print uid="s1811#{id.to_s}" | |
[*1..9].each{|i|[*1..10].each{|j|["","s"].each{|prot| | |
begin | |
url=%Q!http#{prot}://cgi.u.tsukuba.ac.jp/~#{uid}/cje/e#{i.to_s}-#{j.to_s}.#{file_ext}! | |
data=open(url) | |
out<<[uid,url] if data.status[0]=="200" |
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
1 boJ9jbbUNNfktd78OOpsqOltutMc3MY1 | |
2 CV1DtqXWVFXTvM2F0k09SHz0YwRINYA9 | |
3 UmHadQclWmgdLOKQ3YNgjWxGoRMb5luK | |
4 pIwrPrtPN36QITSp3EQaw936yaFoFgAB | |
5 koReBOKuIDDepwhWk7jZC0RTdopnAYKh | |
6 DXjZPULLxYr17uwoI01bNLQbtFemEgo7 | |
7 HKBPTKQnIay4Fw76bEy8PVxKEDQRKTzs | |
8 cvX2JJa4CFALtqS87jk27qwqGhBM9plV | |
9 UsvVyFSfZZWbi6wgC7dAFyFuR6jQQUhR | |
10 truKLdjsbJ5g7yyJ2X2R0o3a5HQJFuLk |
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
#!/bin/bash | |
curl -s https://api.github.com/users/[github_userid]/repos| | |
grep html_url| | |
awk -F'"' '$0=$4'| | |
sort|uniq -u| | |
while read i | |
do git clone $i.git | |
done |
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
# [SETTING] # | |
#pref='osaka/' | |
#region='' | |
#scores=[] | |
#freq=0.1 | |
#pagelimit=60 | |
#scoreshow=false | |
$ ruby tabelog_score.rb | |
CURRENT TIME IS 2019-10-11 00:55:32 +0900. | |
PREF:osaka/, REGION_CODE: |
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
require "open-uri" | |
require "time" | |
#PREF-DATA | |
preflist=[ | |
"hokkaido","aomori","iwate", | |
"miyagi","akita","yamagata", | |
"fukushima","ibaraki","tochigi", | |
"gunma","saitama","chiba", | |
"tokyo","kanagawa","niigata", |
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
#https://stackoverflow.com/questions/1697334/algorithm-for-solving-sudoku | |
from time import time | |
from re import search | |
from re import findall | |
from sys import argv | |
from os.path import isfile | |
print("""\ | |
######################################################################### | |
######################################################################### | |
____ _ _ ____ ___ _ ___ _ ____ ___ _ __ _______ ____ |
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
actioncable (5.2.3, 5.0.7.2, 5.0.6) | |
actionmailer (5.2.3, 5.0.7.2, 5.0.6) | |
actionpack (5.2.3, 5.0.7.2, 5.0.6) | |
actionview (5.2.3, 5.0.7.2, 5.0.6) | |
activejob (5.2.3, 5.0.7.2, 5.0.6) | |
activemodel (5.2.3, 5.0.7.2, 5.0.6) | |
activerecord (5.2.3, 5.0.7.2, 5.0.6) | |
activestorage (5.2.3) | |
activesupport (5.2.3, 5.0.7.2, 5.0.6) | |
addressable (2.6.0) |
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
#!/bin/bash | |
cat<<'A'>>memo | |
#!/bin/sh | |
echo "[+]${@}\t`date +%Y-%m-%d `">>~/.memod | |
A | |
chmod 755 memo | |
sudo mv memo /usr/bin/ | |
echo "cat ~/.memod">>.bashrc | |
memo てすと | |
bash |
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
s1811528@7C202-P015:~/Desktop/neo/juman+ipadic$ ls | |
Noun.adjv.csv Noun.hukusi.csv Noun.name.csv Noun.place.csv | |
Noun.adverbal.csv Noun.keishiki.csv Noun.number.csv Noun.proper.csv | |
Noun.csv Noun.koyuu.csv Noun.org.csv Noun.suusi.csv | |
Noun.demonst.csv Noun.nai.csv Noun.others.csv Noun.verbal.csv | |
s1811528@7C202-P015:~/Desktop/neo/juman+ipadic$ ls|while read i;do echo $i;cat $i|awk -F, '$0=$12'|ruby -e 'p (i=`dd`.split).delete_if{|_|_=~/^[ァ-ヿ]+$/}';done 2>/dev/null | |
Noun.adjv.csv | |
[] | |
Noun.adverbal.csv | |
[] |
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
num | case | word | yomi | |
---|---|---|---|---|
1 | あ2 | ある | ある | |
1 | あ3 | あひる | 家鴨 | |
2 | あ3 | あえる | あえる | |
3 | あ3 | あさる | 阿沙流 | |
4 | あ3 | あひる | あひる | |
5 | あ3 | あひる | あひる | |
6 | あ3 | あきる | 阿伎留 | |
7 | あ3 | あまる | あまる | |
8 | あ3 | あぜる | あぜる |