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 | |
set -e | |
echo "SSH Server Selector (sshss)" | |
echo "" | |
echo "The following SSH-connection are available:" | |
export PS3="Which connection do you choose? " | |
hosts="$(grep Host ~/.ssh/config | grep -iv HostName | awk '{print $2}')" | |
select host in ${hosts}; do echo "Connecting to ${host}..."; echo ""; ssh ${host}; break; done |
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
// Includes functions for exporting active sheet or all sheets as JSON object (also Python object syntax compatible). | |
// Tweak the makePrettyJSON_ function to customize what kind of JSON to export. | |
var FORMAT_ONELINE = 'One-line'; | |
var FORMAT_MULTILINE = 'Multi-line'; | |
var FORMAT_PRETTY = 'Pretty'; | |
var LANGUAGE_JS = 'JavaScript'; | |
var LANGUAGE_PYTHON = 'Python'; | |
var STRUCTURE_LIST = 'List'; |
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 │Get:19 http://archive.ubuntu.com/ubuntu groovy-updates/universe amd64 DEP-11 Metadata [15.0 kB] | |
│Get:20 http://archive.ubuntu.com/ubuntu groovy-backports/universe amd64 DEP-11 Metadata [600 B] | |
sudo rm -f /etc/resolv.conf │Get:21 http://archive.ubuntu.com/ubuntu groovy-security/main amd64 DEP-11 Metadata [4,676 B] | |
│Get:22 http://archive.ubuntu.com/ubuntu groovy-security/universe amd64 DEP-11 Metadata [2,816 B] | |
read -r -d '' resolvconf <<'EOF' |