Do things better, faster, stronger
This commit is contained in:
parent
f422dcd8c7
commit
dc30aa2f54
13
Arch/.bashrc
13
Arch/.bashrc
@ -113,6 +113,9 @@ mksketch(){
|
||||
elif [ "$2" = "web" ]
|
||||
then
|
||||
cp "$HOME/skeletons/webserv.ino" "$1/$1.ino"
|
||||
elif [ "$2" = "mqtt" ]
|
||||
then
|
||||
cp "$HOME/skeletons/mqttSkel.ino" "$1/$1.ino"
|
||||
else
|
||||
cp "$HOME/skeletons/basic.ino" "$1/$1.ino"
|
||||
fi
|
||||
@ -206,3 +209,13 @@ jsonform(){
|
||||
chromium "https://jsonformatter.curiousconcept.com/#$1"
|
||||
fi
|
||||
}
|
||||
|
||||
haste(){
|
||||
if [ -z $1 ]
|
||||
then
|
||||
echo "Please enter some fucking data"
|
||||
else
|
||||
key=$(curl 'https://hastebin.com/documents' --data-binary "$1" | jq -r '.key')
|
||||
chromium http://hastebin.com/$key
|
||||
fi
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user