@startuml
skinparam monochrome false
skinparam shadowing true
'skinparam dpi 300
'' at Object.<anonymous> (/Users/***/Documents/work/mack/plantuml-markdown-editor/guest13rdten/app.js:53:1)
'' at Module._compile (module.js:571:32)
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
| #!/bin/sh | |
| # SpeedTest multiple Wifi APs for Mac | |
| # required https://github.com/sivel/speedtest-cli | |
| cat <<EOF | while read L ; do echo "#$L"; AP=${L%%:*}; PW=${L#*:}; networksetup -setairportnetwork en0 "$AP" "$PW" && sleep 3 && (echo "$AP"; speedtest-cli --simple) | tr '\n' '\t'; echo; done | |
| Some-AP1:password1 | |
| Some-AP2:password2 | |
| Some-Public-AP3: | |
| EOF |
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
| #!/bin/sh | |
| # SpeedTest multiple APs for Mac | |
| # required https://github.com/sivel/speedtest-cli | |
| cat <<EOF | while read L ; do echo "#$L"; AP=${L%%:*}; PW=${L#*:}; networksetup -setairportnetwork en0 "$AP" "$PW" && sleep 3 && (echo "$AP"; speedtest-cli --simple) | tr '\n' '\t'; echo; done | |
| Some-AP1:password1 | |
| Some-AP2:password2 | |
| Some-Public-AP3: | |
| EOF |
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
| /** | |
| * pick deeply from object | |
| * | |
| * usage: | |
| * const obj = { | |
| * a: 1, | |
| * b: { ba: 21, bb: 22 }, | |
| * c: [ | |
| * { ca: 311, cb: { cba: 3121, cbb: 3122 } }, | |
| * { ca: 321, cb: { cba: 3221, cbb: 3222 } }, |
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
| #!/bin/bash | |
| # add-utf8-bom | |
| # Add UTF-8 BOM to a file (or stdin) | |
| # Usage: add-utf8-bom [file] | |
| # License: CC0 (https://creativecommons.org/publicdomain/zero/1.0/) | |
| LC_ALL=C sed -e $'1s/^/\xef\xbb\xbf/' -- "$@" |
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
| #!/bin/bash | |
| # remove-utf8-bom | |
| # Remove UTF-8 BOM from a file (or stdin) | |
| # Usage: remove-utf8-bom [file] | |
| # License: CC0 (https://creativecommons.org/publicdomain/zero/1.0/) | |
| LC_ALL=C sed -e $'1s/^\xef\xbb\xbf//' -- "$@" |
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
| #!/bin/bash | |
| # has-utf8-bom | |
| # Check if a file (or stdin) has UTF-8 BOM | |
| # Usage: has-utf8-bom [file] | |
| # License: CC0 (https://creativecommons.org/publicdomain/zero/1.0/) | |
| [[ $(LC_ALL=C head -c 3 -- "$@") == $'\xef\xbb\xbf' ]] |
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
| --- Actions --- | |
| $Copy <M-C> | |
| $Cut <M-X> <S-Del> | |
| $Delete <Del> <BS> <M-BS> | |
| $LRU | |
| $Paste <M-V> | |
| $Redo <M-S-Z> <A-S-BS> | |
| $SearchWeb <A-S-G> | |
| $SelectAll <M-A> | |
| $Undo <M-Z> |
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
| @startuml | |
| skinparam monochrome true | |
| skinparam shadowing false | |
| 'skinparam dpi 300 | |
| '{"WorkID":"634828917904197752","StartTime":"2013-07-09 11:31:41","QuesList":[{"ID":"634898719662752272","Sorce":5,"Type":1,"Answers":[{"SID":1,"Ans":"609652639572752273"}]},{"ID":"634898719632602263","Sorce":5,"Type":1,"Answers":[{"SID":1,"Ans":"609652639572602264"}]},{"ID":"634898718910413816","Sorce":5,"Type":1,"Answers":[{"SID":1,"Ans":"609652638900413817"}]},{"ID":"634898718178469664","Sorce":5,"Type":1,"Answers":[{"SID":1,"Ans":"609652638128469665"}]},{"ID":"634898717935986938","Sorce":5,"Type":1,"Answers":[{"SID":1,"Ans":"609652637905986939"}]},{"ID":"634898716539937661","Sorce":5,"Type":1,"Answers":[{"SID":1,"Ans":"609652636519937662"}]},{"ID":"634898716503703300","Sorce":5,"Type":3,"Answers":[{"SID":1,"Ans":"口服后房价"}]},{"ID":"634898715706999447","Sorce":5,"Type":3,"Answers":[{"SID":1,"Ans":"飞"}]},{"ID":"634898713482038183","Sorce":5,"Type":3,"Answers":[{"SID":1,"Ans":""}]},{"ID":"634898713210804385","Sorce":5,"Type":3,"A |
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
| #!/bin/sh | |
| # Mac Setting: Disable opening Mac Mail by Command-Shift-I shortcut key in Chrome | |
| # Mac設定: Chromeで Command-Shift-I ショートカットキー により Macメールが起動しないようにする | |
| # ref: [keyboard \- How to prevent Command\-I/Command\-Shift\-I from opening Mac Mail when in browser? \- Ask Different](https://apple.stackexchange.com/questions/108060/how-to-prevent-command-i-command-shift-i-from-opening-mac-mail-when-in-browser?utm_medium=organic&utm_source=google_rich_qa&utm_campaign=google_rich_qa) | |
| # kill Chrome | |
| killall 'Google Chrome' | |
| # set config | |
| defaults write com.google.Chrome NSUserKeyEquivalents -dict-add 'Email Page Location' '\0' |
NewerOlder