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
const options = { | |
authProvider, | |
}; | |
const client = Client.init(options); | |
//Despite "supporting" id's for requests, I seem to remember them being required last time I tried it? | |
const batchCreateUsers = { | |
"requests": [{ |
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
getcert() { | |
#Pull and parse certificate | |
echo "Q" | openssl s_client -showcerts -connect "$1":443 | openssl x509 -text | |
} | |
getcertsans() { | |
#getcertsans example.com | |
echo "Q" | openssl s_client -showcerts -connect "$1":443 | openssl x509 -text | grep "DNS:" | sed -e 's/DNS://g' | sed -e 's/, /\n/g' | sed -e 's/ //g' | |
} |
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
/usr/bin/autossh -M 0 -N \ | |
-o "ServerAliveInterval 15" -o "ServerAliveCountMax 3" -o "ConnectTimeout 10" -o "ExitOnForwardFailure yes" \ | |
-i /home/user/.ssh/id_rsa -p 22 user@VPS-IP-Address \ | |
-R 8080:localhost:8080 |
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
allowtcpforwarding yes | |
AuthorizedKeysFile .ssh/authorized_keys | |
PubkeyAuthentication yes |
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
frontend web-frontend-80 | |
bind *:80 | |
mode http | |
default_backend web-backend-80 | |
backend web-backend-80 | |
server sshtunnel-0 127.0.0.1:8080 check |
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
│ sf2jira.ps1 | |
│ | |
├───0remap | |
│ 7z.exe | |
│ applyMappings.py | |
│ genCasenumber2jirakey.py | |
│ genIssueKeyMapping.py | |
│ genNameMapping.py | |
│ genProjectMapping.py | |
│ |
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
echo OFF | |
echo 'Starting sf2jira...' | |
echo 'Copying master.csv to step 0...' | |
#copy /Y master.csv .\0remap\master.csv | |
Copy-Item ".\master.csv" -Destination ".\0remap" | |
echo 'Stepping into /0remap...' | |
cd 0remap | |
echo 'Starting mapping of Projects...' | |
python genProjectMapping.py | |
echo 'Starting mapping of Issue Keys...' |
NewerOlder