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
# Install gitleaks | |
brew install gitleaks | |
# Configure git hooks | |
touch ~/.gitconfig | |
cp ~/.gitconfig ~/.gitconfig.bk | |
cat >> ~/.gitconfig <<EOF | |
[core] | |
hooksPath = ~/git-hooks | |
EOF |
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
Hughs-MacBook-Pro:~ hugh$ npm i -g leakage | |
npm WARN deprecated [email protected]: use String.prototype.padStart() | |
> @airbnb/[email protected] install /usr/local/lib/node_modules/leakage/node_modules/@airbnb/node-memwatch | |
> node-gyp rebuild | |
CXX(target) Release/obj.target/memwatch/src/heapdiff.o | |
In file included from ../src/heapdiff.cc:12: | |
../src/heapdiff.hh:18:38: error: no template named 'Handle' in namespace 'v8' | |
static void Initialize ( v8::Handle<v8::Object> target ); |
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 -xeu | |
# ENV Vars with defaults | |
IPERF_HOST="${IPERF_HOST:-mercury}" | |
IPERF_LOG="${IPERF_LOG:-iperf.10145.log}" | |
SPEED_CSV="${SPEED_CSV:-speed2.csv}" | |
OUTPUT_PNG="${OUTPUT_PNG:-throughput2.png}" | |
OUTPUT_SIZE="${OUTPUT_SIZE:-1000,500}" | |
INTERVAL="${INTERVAL:-60}" |
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
Started by user Hugh Saunders | |
Running in Durability level: PERFORMANCE_OPTIMIZED | |
[Pipeline] echo | |
before | |
[Pipeline] echo | |
I'm the CPS function | |
[Pipeline] End of Pipeline | |
Finished: SUCCESS |
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 python | |
# zmqc: a small but powerful command-line interface to ZMQ. | |
## Usage: | |
# zmqc [-0] (-r | -w) (-b | -c) SOCK_TYPE [-o SOCK_OPT=VALUE...] address [address ...] | |
## Examples: | |
# zmqc -rc SUB 'tcp://127.0.0.1:5000' | |
# | |
# Subscribe to 'tcp://127.0.0.1:5000', reading messages from it and printing |
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
jenkins@262ab9ca8188:~$ cat /var/jenkins_home/jobs/sp5/builds/lastSuccessfulBuild/log | |
Started by user ha:////4Jpcr/X34kkFa1LJmm2G9KXB1L1WheZdc1X2LQcAaOdkAAAAkx+LCAAAAAAAAP9b85aBtbiIQTGjNKU4P08vOT+vOD8nVc83PyU1x6OyILUoJzMv2y+/JJUBAhiZGBgqihhk0NSjKDWzXb3RdlLBUSYGJk8GtpzUvPSSDB8G5tKinBIGIZ+sxLJE/ZzEvHT94JKizLx0a6BxUmjGOUNodHsLgAyWEgYu/dLi1CIwAQDYegtJvwAAAA==user | |
ha:////4Nmt1g6VaeGWaoFYM8BlPNZa3OQrz3+9nCOsEwCsBWgAAAAAaB+LCAAAAAAAAP9b85aBtbiIwTG/KF0vKzUvOzOvODlTryCnNB3I0ivPL8pOy8kv18vKT9JLzs8rzs9J1QuHCgaV5jlDhPzyS1IZIICRiYGhoohBKqM0pTg/D64Hh8ICAFt0h+h/AAAA[Pipeline] node | |
Running on ha:////4BXp8Ewt625iB5X2lh9SCueG2uNgVhVB2qGvn+yzfJ34AAAAnh+LCAAAAAAAAP9b85aBtbiIQTGjNKU4P08vOT+vOD8nVc83PyU1x6OyILUoJzMv2y+/JJUBAhiZGBgqihhk0NSjKDWzXb3RdlLBUSYGJk8GtpzUvPSSDB8G5tKinBIGIZ+sxLJE/ZzEvHT94JKizLx0a6BxUmjGOUNodHsLgAz2EgZh/eT83ILSktQifY3cxGIgrakPAHib2iPIAAAAJenkins in /var/jenkins_home/workspace/sp5 | |
ha:////4Nmt1g6VaeGWaoFYM8BlPNZa3OQrz3+9nCOsEwCsBWgAAAAAaB+LCAAAAAAAAP9b85aBtbiIwTG/KF0vKzUvOzOvODlTryCnNB3I0ivPL8pOy8kv18vKT9JLzs8 |
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
jenkins@262ab9ca8188:~$ cat jobs/fs1/lastSuccessful/log | |
Started by user ha:////4FFD7kqDq3PEd4KrNcxLWftjfAKO9ut1GXZL0WdNuBebAAAAlh+LCAAAAAAAAP9b85aBtbiIQTGjNKU4P08vOT+vOD8nVc83PyU1x6OyILUoJzMv2y+/JJUBAhiZGBgqihhk0NSjKDWzXb3RdlLBUSYGJk8GtpzUvPSSDB8G5tKinBIGIZ+sxLJE/ZzEvHT94JKizLx0a6BxUmjGOUNodHsLgAyWEgYu/dLi1CL9jNL0DADQEqEgvwAAAA==hugh | |
Building in workspace /var/jenkins_home/workspace/fs1 | |
[fs1] $ /bin/sh -xe /tmp/jenkins5648112374433508733.sh | |
+ echo hi | |
hi | |
Finished: SUCCESS |
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
Failed to import test module: heat_integrationtests.api.test_heat_api | |
Traceback (most recent call last): | |
File "/Users/hughsaunders/Documents/context/RE-645/maas_venv/lib/python2.7/site-packages/unittest2/loader.py", line 456, in _find_test_path | |
module = self._get_module_from_name(name) | |
File "/Users/hughsaunders/Documents/context/RE-645/maas_venv/lib/python2.7/site-packages/unittest2/loader.py", line 395, in _get_module_from_name | |
__import__(name) | |
File "/Users/hughsaunders/Documents/context/RE-645/maas_venv/lib/python2.7/site-packages/heat_integrationtests/api/test_heat_api.py", line 18, in <module> | |
from gabbi import driver | |
ImportError: No module named gabbi |
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
# git push force set upstream | |
gpfsu(){ | |
branch=$(git symbolic-ref --short HEAD) | |
git push -f --set-upstream ${1:-origin} $branch | |
} | |
# git commit ammend | |
gca(){ | |
#don't want to commit accidental submodule sha changes (eg when switching branches) | |
git submodule update |
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
- defaults: | |
name: global | |
TEST_BOOL_DEFAULT: true | |
TEST_STRING_DEFAULT: "/opt/foo" | |
- parameter: | |
name: my_params | |
parameters: | |
- bool: | |
name: TEST_BOOL | |
default: "{TEST_BOOL_DEFAULT}" |
NewerOlder