{{- range .Values.envs }}
{{ $version := index $.Values.traefikAPI .name "version" }}
{{ $replicas := index $.Values.traefikAPI .name "replicas" }}
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
name: traefik-api-ingress-controller
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 { Writable, Readable, PassThrough } = require("stream"); | |
| const { inherits } = require("util"); | |
| const AWS = require("aws-sdk"); | |
| const zlib = require("zlib"); | |
| const https = require("https"); | |
| const gzip = zlib.createGzip(); | |
| const s3 = new AWS.S3(); | |
| // Change the bucket name to point to an S3 bucket write-able within the IAM role assigned to your Lambda |
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
| # this is a bag of functions sourced by another script | |
| if [[ $BASH_VERSINFO -lt "4" ]]; then | |
| echo "!! Your system Bash is out of date: $BASH_VERSION" | |
| echo "!! Please upgrade to Bash 4 or greater." | |
| exit 2 | |
| fi | |
| if [[ $EUID -ne 0 ]]; then | |
| echo "!! This script must be run as root" |
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
| Hi All! | |
| I've recently launched a tool that wraps many of the commands here with a user interface. This desktop application is currently available for macOS. There's a roadmap outlining planned features for the near future. | |
| Feel free to request any features you'd like to see, and I'll prioritize them accordingly. | |
| One of the most important aspects of this application is that every command executed behind the scenes is displayed in a special log section. This allows you to see exactly what’s happening and learn from it. | |
| Here's the link to the repository: https://github.com/Pulimet/ADBugger | |
| App Description: | |
| ADBugger is a desktop tool designed for debugging and QA of Android devices and emulators. It simplifies testing, debugging, and performance analysis by offering device management, automated testing, log analysis, and remote control capabilities. This ensures smooth app performance across various setups. |
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
| /* wk.bridge.min.js | v0.2 */ | |
| (function() { | |
| if (window.isIOS) { | |
| return | |
| } | |
| window.isIOS = function () { | |
| return navigator && navigator.userAgent && (/(iPhone|iPad|iPod|iOS)/i.test(navigator.userAgent)) | |
| } | |
| }()); | |
| /* wk.bridge.min.js | v0.3 */ |
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
| // imports | |
| public class ImageRotator { | |
| public static Bitmap rotateImage(String path) throws IOException { | |
| Bitmap bitmap = BitmapFactory.decodeFile(path); | |
| return rotateImage(bitmap); | |
| } | |
| public static Bitmap rotateImage(Bitmap bitmap) throws IOException { | |
| int rotate = 0; |
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
| <# This will attempt to remove all installed packages. | |
| # Note: This will spit out a larage number of exception messages, this is due to unremovable apps, such as Cortana. | |
| #> | |
| foreach ($package in Get-AppxPackage -AllUsers) { Remove-AppxPackage $package.PackageFullName } |
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
| #!groovy | |
| /* | |
| * This script configures the Jenkins base URL. | |
| */ | |
| import jenkins.model.JenkinsLocationConfiguration | |
| JenkinsLocationConfiguration location = Jenkins.instance.getExtensionList('jenkins.model.JenkinsLocationConfiguration')[0] | |
| location.url = 'https://jenkins-as-code-poc.devtail.io/' |
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
| podTemplate(label: 'mypod', containers: [ | |
| containerTemplate(name: 'docker', image: 'docker:dind', ttyEnabled: true, alwaysPullImage: true, privileged: true, | |
| command: 'dockerd --host=unix:///var/run/docker.sock --host=tcp://0.0.0.0:2375 --storage-driver=overlay') | |
| ], | |
| volumes: [emptyDirVolume(memory: false, mountPath: '/var/lib/docker')]) { | |
| node ('mypod') { | |
| stage 'Run a docker thing' | |
| container('docker') { | |
| stage 'Docker thing1' |
