I hereby claim:
- I am ftclausen on github.
- I am ftclausen (https://keybase.io/ftclausen) on keybase.
- I have a public key ASAe4Q4yjdm6jeLJIgcWfY6K0pxqWk8vSLROpSyh25g5Vgo
To claim this, I am signing this object:
| Connecting to computer.example.com | |
| Checking if Java exists | |
| java -version returned 1.8.0. | |
| Installing the Jenkins slave service | |
| Copying jenkins-slave.exe | |
| Copying slave.jar | |
| Copying jenkins-slave.xml | |
| Registering the service | |
| Starting the service | |
| Waiting for the service to become ready |
| // KA recursion homework assignment. Does a poor man's tunnel animation. | |
| // Also at https://gist.github.com/ftclausen/9d42b2511a82f6d59085e70d204cf5b7 | |
| // drawShape() will draw a series of circles, each one | |
| // smaller than the last until we hit a radius of 7 or less | |
| var drawShape = function(x, y, radius) { | |
| // The base case - quit when we have a radius of 7 | |
| if (radius <= 7) { | |
| return; | |
| } |
| var maxIterations = 3; | |
| var currentIteration = 0; | |
| var pythagorasTree = function(string, subIteration) { | |
| // Because processing JS does not seem to like default parameters | |
| if (!subIteration) { | |
| currentIteration += 1; | |
| } | |
| if (currentIteration > maxIterations) { | |
| println("Reached max iterations"); |
I hereby claim:
To claim this, I am signing this object:
| // -*- mode: groovy -*- | |
| // vim: set filetype=groovy : | |
| node( 'some_node' ) { | |
| stage( "Phase 1" ) { | |
| sshagent( credentials: [ 'some_creds' ] ) { | |
| checkout scm | |
| def lastSuccessfulCommit = getLastSuccessfulCommit() | |
| def currentCommit = commitHashForBuild( currentBuild.rawBuild ) | |
| if (lastSuccessfulCommit) { |
| #!/usr/bin/env bash | |
| # Friedrich "Fred" Clausen - [email protected] | |
| source_directories=("/var/tmp/inc_test" "/var/tmp/inc test 2") | |
| remote="sftp:md:tmp/inc_test" | |
| passwd="/tmp/pw" | |
| report_location="/tmp" | |
| log="$(mktemp -t backup_report_)" | |
| sftp_log="$(mktemp)" |
| # List all files in all restic snapshots | |
| repo="sftp:example.com:/path/to_repo" | |
| passwd_file="/tmp/pw" | |
| restic -r $repo --password-file $passwd_file snapshots -c | awk '/^[0-9a-f]{8}/ {print $1}' | while read -r snap; do | |
| restic -r $repo --password-file $passwd ls $snap | |
| done |
| # For a more realistic simulation see https://stackoverflow.com/questions/50165079/mocking-jenkins-pipeline-steps | |
| def readFile( Map args ) { | |
| def file = args.file | |
| def encoding = args.file ?: 'UTF-8' | |
| return new File( file ).text | |
| } | |
| def sh( String command ) { |
Summary: Building from the application cloned source tree works fine but the Homebrew temporary location produces an invalid artifact.
Details:
There are some bugfixes I want to make to the Nexus forumla (as well as update it). To that end I am attempting to update the Formula file over here.
However, when I build the actual application the resultant Jar file does not run. It seems to be missing components and the app fails to start with classpath related errors.
| --- old_cacerts.txt 2025-07-10 13:25:32.040168596 +1000 | |
| +++ latest_certs.txt 2025-07-10 13:23:32.650910891 +1000 | |
| @@ -18 +17,0 @@ | |
| -Alias name: baltimorecybertrustroot | |
| @@ -39 +37,0 @@ | |
| -Alias name: comodoaaaservicesroot | |
| @@ -43,0 +42 @@ | |
| +Alias name: d-trustbrrootca22023 | |
| @@ -44,0 +44 @@ | |
| +Alias name: d-trustevrootca22023 |