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
git status | grep deleted: | awk '{print $3}' | xargs git rm | |
# ただしカラースキーム付きの場合は保証しない. |
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
adb forward tcp:9222 localabstract:chrome_devtools_remote |
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
rm -rf .git |
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
rm -rf dir-name |
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
$ git reset --hard 165b7666c6f8d8a976fe33b201aa043feb902cd3 | |
$ git push -f origin 165b7666c6f8d8a976fe33b201aa043feb902cd3:master |
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
update wp_options set option_value=replace(option_value, 'blog.example.com', 'blog.example.org') where option_name in ('siteurl', 'home'); |
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
:e ++enc=cp932 |
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
var p_key = document.getElementsByClassName("p_key"),p_keyList; | |
for(var i=0;p_key.length>i;i++){ | |
p_keyList+=p_key[i].getElementsByTagName("a")[0].innerText+"\b"; | |
p_keyList+=p_key[i].nextSibling.nextSibling.getElementsByClassName("title-inner")[0].innerText+"\n"; | |
} | |
console.log(p_keyList); |
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
var title=document.getElementsByClassName("post-title"),titleList; | |
for(var i=0;title.length>i;i++){ | |
titleList+=title[i].getElementsByTagName('a')[0].innerText; | |
titleList+=title[i].getElementsByClassName("view")[0].childNodes[0].getAttribute("href"); | |
} | |
console.log(titleList); |
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
# ターミナルで全文コピペ+Enterすればうごきます。 | |
$ git remote add upstream https://github.com/WordCampTokyo2014/WordCampTokyo2014.github.io.git | |
$ git fetch upstream | |
$ git checkout master | |
$ git pull upstream master |
OlderNewer