html
body
div#react-root
h2
div
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
| ....................................................................... | |
| ....................................................................... | |
| ........1.............................................................. | |
| ....................................................................... | |
| ....................................................................... | |
| .........B............................................................. | |
| .........102GSE........................................................ | |
| .............SE.E.E.E.E.E.E;04C........................................ | |
| ....................................................................... | |
| ...............;04F96.................................................. |
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
| export URL_PREPARE="/update-cache/c/s/hogas.mydns.jp/article?amp_action=flush&_ts=$(date +%s)" && | |
| curl -vvv "https://hogas-mydns-jp.cdn.ampproject.org${URL_PREPARE}$( | |
| echo -n "&_url_signature=$( | |
| echo -n $URL_PREPARE | openssl dgst -sha256 -sign path/to/private-key.pem | | |
| openssl enc -a -A | tr -d '=' | tr '/+' '_-' # base64-urlsafe | |
| )" | |
| )" |
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
| javascript:(() => | |
| Array.from(document.getElementsByClassName('sha btn')) | |
| .reverse() | |
| .reduce((promise, a) => | |
| promise.then(() => | |
| window.open(`${a.href}?w=1`) | |
| ) | |
| , Promise.resolve()) | |
| )() |
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
| function reverse-search-history-with-fzf () | |
| { | |
| FZF_RESULT=$(history | sort -k2 | uniq -f 2 | sort -k1 -n -r | perl -pe 's/^(\s+)?[0-9]+\s+//g' | fzf); | |
| BEFORE_CURSOR=${READLINE_LINE:0:$READLINE_POINT}; | |
| AFTER_CURSOR=${READLINE_LINE:$READLINE_POINT}; | |
| READLINE_LINE=${BEFORE_CURSOR}${FZF_RESULT}${AFTER_CURSOR}; | |
| (( READLINE_POINT += ${#FZF_RESULT} )) | |
| } | |
| bind -x '"\C-r": reverse-search-history-with-fzf' |
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
| javascript:( | |
| () => Array.from(document.querySelectorAll('video')).find(v => v.src).requestPictureInPicture() | |
| )() |
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
| javascript:( | |
| () => { | |
| /* get ingredients */ | |
| const url = location.href; | |
| const issueNumber = url.match(/\/([0-9]+)/)[1]; | |
| const title = document.querySelector('.js-issue-title').innerText.trim(); | |
| /* make inputElem to select the value which will be copied */ | |
| const inputElem = document.createElement('input'); | |
| document.querySelector('body').appendChild(inputElem); |
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
| // sb2puki | |
| // EDIT HERE | |
| const sb = `scrapbox page title | |
| put your scrapbox text here | |
| code:index.js | |
| const test1 = 3; | |
| console.log(test1); |
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
| javascript:(() => { | |
| const url = window.location.href; | |
| const title = document.title; | |
| /* EDIT HERE: tweet-text template */ | |
| const text = encodeURIComponent(` / "${title}" - ${url}`); | |
| /* EDIT HERE: tweet window */ | |
| /* 'tw_p=tweetbutton' for auto-close */ | |
| window.open(`https://twitter.com/intent/tweet?text=${text}&tw_p=tweetbutton`, '_blank', 'width=450, height=250'); | |
| })(); |
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
| javascript:(() => { | |
| const urlSet = {}; | |
| /* アイコンのURLを取得する */ | |
| Array.from(document.querySelectorAll('.js-account-list .js-account-item')).forEach(item => { | |
| const img = item.querySelector('img'); | |
| urlSet[item.title] = img.src; | |
| }); | |
| /* アイコンのクラス名 */ | |
| const iconClassName = 'column-header-title-icon'; | |
| /* アイコンを置く */ |