BrewTestBot will auto-detect new releases and update automatically. https://github.com/orgs/Homebrew/discussions/3083
In the past, we had to:
- Install brew locally.
- Setup repo
cd Workspaces
git clone git@github.com:fishi0x01/homebrew-core.git
| /* Code snippet for measuring bandwidth with harmonic mean */ | |
| #define SKIPS 10 // initial measurement skips - skip the first slow-start values | |
| // bandwidth metrics | |
| double bandwidth = -1; // in MB/s | |
| float total_bytes = 0; | |
| int n = 0; // number of measure values | |
| int skips = SKIPS; | |
| #!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/' |
BrewTestBot will auto-detect new releases and update automatically. https://github.com/orgs/Homebrew/discussions/3083
In the past, we had to:
cd Workspaces
git clone git@github.com:fishi0x01/homebrew-core.git
| https://github.com/fishi0x01/k8s-manifests 98606b177fdbe4305035abd3d38dcf844d8cca0e |
| # Simple static header for update-motd framework | |
| COLOR_GREEN="\033[0;32m" | |
| # print personal static banner in green | |
| printf "${COLOR_GREEN} | |
| _____ .__ .__ .__ | |
| _/ ____\|__| ______| |__ |__| | |
| \ __\ | | / ___/| | \ | | | |
| | | | | \___ \ | Y \| | |
| terraform { | |
| required_providers { | |
| datadog = { | |
| source = "DataDog/datadog" | |
| version = "2.25.0" | |
| } | |
| } | |
| } | |
| # Original script taken and modified from http://shrekpoint.blogspot.de/2012/08/taking-ownership-of-dcom-registry.html | |
| # | |
| # Enable remote DCOM access to the WbemScripting.SWbemLocator class on 64-bit Windows 7/8 and Server 2012 machines, | |
| # by setting the necessary keys inside the registry. | |
| # Use this script at your own risk. | |
| # I do not guarantee that it works, nor do I give any kinds of support in case it doesn't | |
| Try { | |
| [void][TokenAdjuster] | |
| } Catch { |
Instructions for setting up a Raspberry Pi Zero for running OpenOCD specifically for the purpose of disabling Access Port Protection on nrf52 boards.
The below script builds natively on the RPi0, and will take a very long time.
sudo apt install wget git autoconf libtool make pkg-config libusb-1.0-0 libusb-1.0-0-dev libhidapi-dev libftdi-dev libhidapi-dev telnet
git clone https://github.com/ntfreak/openocd
cd openocd
./bootstrap
| #! /bin/bash | |
| usage() { | |
| echo "measureTraffic.sh <targetIP>" | |
| } | |
| if [ -z "$1" ]; then | |
| usage | |
| exit 1 | |
| fi |