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
// Place your key bindings in this file to override the defaultsauto[] | |
[ | |
{ | |
"key": "cmd+d", | |
"command": "-editor.action.addSelectionToNextFindMatch", | |
"when": "editorFocus" | |
}, | |
{ | |
"key": "cmd+d", | |
"command": "editor.action.deleteLines", |
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 | |
if [[ $# -eq 0 ]]; then | |
echo "Usage: ./servefile.sh <file to serve>" | |
echo "Ctrl+C to exit" | |
exit 1 | |
fi | |
FILE=$1 |
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
# Please make this file available to others | |
# by sending it to <[email protected]> | |
# | |
# this config file was automatically generated | |
# using lirc-0.9.0-pre1(default) on Fri May 23 20:58:36 2014 | |
# | |
# contributed by Jake S. | |
# | |
# brand: Samsung | |
# model no. of remote control: AA59-00600A |
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
# /etc/lirc/hardware.conf | |
# | |
# Arguments which will be used when launching lircd | |
LIRCD_ARGS="-u -l" | |
#Don't start lircmd even if there seems to be a good config file | |
#START_LIRCMD=false | |
#Don't start irexec, even if a good config file seems to exist. | |
#START_IREXEC=false |
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
[{"id":"d627a496.144108","type":"tab","label":"Washers"},{"id":"f585beb5.00bac","type":"inject","z":"d627a496.144108","name":"","topic":"","payload":"","payloadType":"date","repeat":"","crontab":"","once":false,"x":106.5,"y":38,"wires":[["1ad562f4.97e2fd"]]},{"id":"1ad562f4.97e2fd","type":"http request","z":"d627a496.144108","name":"","method":"GET","ret":"txt","url":"https://hollyburn.laundroworks.com","tls":"","x":285.5,"y":39,"wires":[["ae701ff1.37aaa"]]},{"id":"ae701ff1.37aaa","type":"html","z":"d627a496.144108","name":"","tag":"[name=_token]","ret":"attr","as":"single","x":489.5,"y":39,"wires":[["7321ced1.a56cd"]]},{"id":"7321ced1.a56cd","type":"change","z":"d627a496.144108","name":"","rules":[{"t":"set","p":"payload","pt":"msg","to":"payload[0].value","tot":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":702.5,"y":39,"wires":[["82ecd7b3.f43b58"]]},{"id":"843e044b.41a478","type":"exec","z":"d627a496.144108","command":"curl","addpay":true,"append":"","useSpawn":"","timer":"","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
#!/bin/bash | |
for flac in * | |
do | |
if [[ $flac == *".flac"* ]]; then | |
filename="${flac%.*}" | |
ffmpeg -i $flac $filename.mp3 | |
fi | |
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 | |
if [[ $# -eq 0 ]]; then | |
echo "Usage: ./shitspace.sh <folder where spacy files located>" | |
exit 1 | |
fi | |
cd $1 | |
for oldname in * | |
do | |
newname=`echo $oldname | sed -e 's/ /_/g'` |
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 | |
if [[ $(id -u) -ne 0 ]] | |
then echo "Please run as root" | |
exit | |
fi | |
apt-get update |
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 | |
ctrlkeys=("a" "b" "c" "d" "f" "h" "n" "p" "q" "r" "s" "t" "v" "x" "z" "w") | |
for key in "${ctrlkeys[@]}" | |
do | |
echo "mapping for ctrl-$key to alt-$key" | |
echo "keyboard.send_keys('<ctrl>+$key')" > alt-$key.py | |
cat >.alt-$key.json <<kyng | |
{ |
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 | |
if [ $# -eq 0 ] | |
then | |
echo "supply the peer IP address" | |
exit 1 | |
fi | |
SUBNET_PREFIX=192 | |
MY_HOST=me.test |
NewerOlder