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 | |
# Makes unmaintainable Go plugin for phpstorm compatible with actual versions. | |
# https://github.com/go-lang-plugin-org/go-lang-idea-plugin | |
# | |
# Run ./go_compiler.sh path/to/downloaded/Go/plugin.zip version_of_phpstorm(e.g. 182, 173, etc.) | |
# For instance | |
# ./go_compiler.sh /home/user/downloads/Go-0.13.1947.zip 173 | |
# New relevant file will be created in the same directory as initial archive. It will have name Go.zip. |
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
### DEPLOYS LAMBDA ### | |
# AVAILABLE LAMBDAS: | |
# - DEV_PARSE_ENRICH_DEVICE_JSON | |
# - PARSE_ENRICH_DEVICE_JSON | |
# - UPDOWNTIME_MC | |
pip install -r requirements.txt | |
CWD=$(pwd) |
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
let color = parseInt('ff10fe', 16); | |
console.log(color); | |
console.log([ | |
color >> 16 & ((1 << 8) - 1), | |
color >> 8 & ((1 << 8) - 1), | |
color >> 0 & ((1 << 8) - 1), | |
]); |