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
#!/usr/bin/env bash | |
## https://oraclespin.com/2018/01/25/install-sqlplus-instant-client-on-macos/ | |
VERSION="12.2.0.1.0-2" | |
FILES="instantclient-basic-macos.x64-$VERSION.zip instantclient-sqlplus-macos.x64-$VERSION.zip instantclient-sdk-macos.x64-$VERSION.zip" | |
INSTALL_DIR="instantclient_12_2" | |
if [ $# -lt 1 ]; then | |
echo "Specify tnsnames.ora location" | |
exit 1 | |
fi |
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
neo4j-blue-sidekick@1.service 177bf386.../172.24.99.92 inactive dead | |
neo4j-blue@1.service 177bf386.../172.24.99.92 active running | |
neo4j-read-blue-sidekick@1.service 177bf386.../172.24.99.92 inactive dead | |
neo4j-read-red-sidekick@1.service 07c72444.../172.24.151.154 active exited | |
neo4j-red-sidekick@1.service 07c72444.../172.24.151.154 inactive dead | |
neo4j-red@1.service 07c72444.../172.24.151.154 active running |
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
letters = "0123456789abcdef" | |
s = "" | |
for c in letters: | |
s += "\"{}\",".format(c) | |
letters = s.strip(',') | |
statement = """WITH [{}] AS letters | |
UNWIND letters as l |
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
# regex_checker.py | |
import re | |
expression = "setCookie('YPF8827340282Jdskjhfiw_928937459182JAX666', '31.221.70.151', 10);" | |
# pattern = re.compile("^setCookie\('([^']+)', '([^'])', [0-9]+\);$") | |
pattern = re.compile("^setCookie\('([^']+)'.*$") | |
print pattern |