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
var head = document.getElementsByTagName('HEAD')[0]; | |
const queryString = window.location.search; | |
const urlParams = new URLSearchParams(queryString); | |
const theme = urlParams.get('theme') | |
var link = document.createElement('link'); | |
link.rel = 'stylesheet'; | |
link.type = 'text/css'; |
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
#!/bin/bash | |
name='yourName' | |
command="yourCommand" # Use ${0%/*} to go in the folder from the start.sh | |
timeout='120' | |
script_path="${0}" | |
if [[ $1 == "--non-background" ]] | |
then |
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
#!/bin/bash | |
GRADLE_VERSION=6.5 | |
wget "https://services.gradle.org/distributions/gradle-$GRADLE_VERSION-bin.zip" -P /gradle | |
unzip /gradle/gradle-$GRADLE_VERSION-bin.zip -d /gradle/ | |
export PATH=$PATH:/gradle/gradle-$GRADLE_VERSION/bin |
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
# THIS GIST IS A SMALL DIRECTORY OF THE DEFAULT `/etc/nginx` |