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
| package main | |
| import ( | |
| "context" | |
| "encoding/json" | |
| "encoding/xml" | |
| "fmt" | |
| "io/ioutil" | |
| "net/http" | |
| "os" |
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
| variables: | |
| APP_NAME: MyAwesomeApp | |
| name: CI | |
| on: | |
| push: | |
| branches: | |
| - main | |
| tags: |
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/env bash | |
| set -euo pipefail | |
| DEVICE_MAC="41:42:DB:A9:E6:8D" | |
| DEVICE_MAC_UNDERSCORE="${DEVICE_MAC//:/_}" | |
| TIMEOUT=60 | |
| GREEN="\033[0;32m" | |
| RED="\033[0;31m" |
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/env bash | |
| set -euo pipefail | |
| # File must be stored in /etc/profile.d. | |
| # Variables below must be filled. | |
| CHAT_ID="" | |
| BOT_TOKEN="" |
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
| // Uses Gradle internal API - works on Gradle 7.6 | |
| import groovy.json.JsonSlurper | |
| import org.gradle.api.internal.tasks.userinput.NonInteractiveUserInputHandler | |
| import org.gradle.api.internal.tasks.userinput.UserInputHandler | |
| plugins { | |
| id 'maven-publish' | |
| } |
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/env bash | |
| set -euo pipefail | |
| # Required Chrome version can be found here: | |
| # https://www.ubuntuupdates.org/package/google_chrome/stable/main/base/google-chrome-stable | |
| CHROME_VERSION="" | |
| wget --no-check-certificate \ |
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
| // Thanks to: https://siberianlaika.ru/node/29/ | |
| package main | |
| import ( | |
| "fmt" | |
| "net/http" | |
| "net/http/httputil" | |
| "net/url" | |
| "os" |
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/env bash | |
| # Variables below must be initialized. | |
| set -euo pipefail | |
| GREEN_COLOR="\033[0;32m" | |
| NO_COLOR="\033[0m" | |
| GITHUB_USERNAME="" |