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
mecabbed_underscore_js_array = [ | |
["(", 645], | |
["=", 548], | |
[",", 400], | |
[";", 304], | |
[")", 299], | |
["{", 288], | |
["obj", 269], | |
["_.", 231], | |
["return", 222], |
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 | |
# grep jp.xvideos.com /Users/$(whoami)/Library/Application\ Support/Google/Chrome/Default/Bookmarks.bak | | |
grep "$1" /Users/$(whoami)/Library/Application\ Support/Google/Chrome/Default/Bookmarks.bak | | |
grep url | | |
while read LINE | |
do | |
echo "${LINE#\"url\"\: }" | |
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
#! /bin/bash | |
curl https://twitter.com/foobar | grep STRING | awk '{gsub(/<[^<]*>/,"");gsub(/^ /,"");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
#!/bin/sh | |
# via proxy version | |
# curl https://www.xvideos.com/best/2018-04 | grep video | grep href | grep data-videoid | awk '{gsub(/data-videoid=[0-9]*/,"");print}' | awk '{print $2}' | awk '{gsub(/id\=\"/,"");gsub(/_/,"");gsub(/\"$/,"/");gsub(/^/,"https://www.xvideos.com/");print}' | cat | while read LINE; do; youtube-dl -f mp4 --proxy [email protected]:[email protected]:6060 "${LINE}"; done; | |
# no proxy version | |
curl https://www.xvideos.com/best/2018-04 | grep video | grep href | grep data-videoid | awk '{gsub(/data-videoid=[0-9]*/,"");print}' | awk '{print $2}' | awk '{gsub(/id\=\"/,"");gsub(/_/,"");gsub(/\"$/,"/");gsub(/^/,"https://www.xvideos.com/");print}' | cat | while read LINE; do; youtube-dl -f mp4 "${LINE}"; 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
require 'amazon/ecs' | |
require 'pp' | |
Amazon::Ecs.options = { | |
:associate_tag => 'foo', | |
:AWS_access_key_id => "bar", | |
:AWS_secret_key => "buz", | |
} | |
search_word = ARGV[0] | |
pp Amazon::Ecs.item_search(search_word, {:search_index => 'VideoGames', :response_group => 'ItemAttributes,OfferFull,Reviews', :country => 'jp' }) |
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/sh | |
#get ASIN | |
ASIN=`ruby ./amazon.rb $1|grep "ASIN" -A 1|head -n 2|grep Text|grep -o -E '\".*\"'|tr -d "\""` | |
#get review text | |
w3m "https://www.amazon.co.jp/portal/customer-reviews/$ASIN" > /tmp/review.txt | |
#review rate | |
cat /tmp/review.txt|grep "のうち.\..$"|uniq|grep -o -E "[0-9]\.[0-9]$" |
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
curl https://www26.atwiki.jp/gcmatome/pages/5139.html|grep -o -E "title=.*<\/a>"|awk 'NR>=197{gsub(/title="/,"");gsub(/ \([0-9]+.*/,"");print}'|sed '$d'|sed '$d'|sed '$d'|uniq |
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
Submerged | |
THE LAST OF US | |
THE WITNESS | |
The Witcher 3 Wild Hunt | |
ローグレガシー | |
ドラゴンクエストビルダーズ アレフガルドを復活せよ | |
0.0 0 Dragon AgeInquisition | |
0.0 0 Grand Theft Auto V | |
0.0 0 LIMBO | |
0.0 0 STEINS;GATE 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
DIRNAME=`find -f *.m3u8|awk '{gsub(/\.m3u8/,"");print;}'` | |
mkdir $DIRNAME | |
mv *.m3u8 ./$DIRNAME/ | |
cd ./$DIRNAME/ | |
cat *.m3u8|grep https >> new.m3u8 | |
split -l 100 new.m3u8 | |
for i in {a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y} | |
do; | |
HOGE="xa$i"; |
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
for i in {1..7};do;curl -s "http://ero-kawa.com/hot/debut.php?term=2018-0$i" >> ./names ;done; | |
cat names|grep -oE "H2>.+<\/H2>"|grep -oE '[0-9]{4}\/[0-9]{1,2}\/[0-9]{1,2}\s.*<\/H2'|grep -v "<[^<]*>"|grep -oE "\s.*<"|tr -d " <" |
OlderNewer