Skip to content

Instantly share code, notes, and snippets.

View fatmcgav's full-sized avatar

Gavin Williams fatmcgav

View GitHub Profile
@fatmcgav
fatmcgav / worker-1-logs
Created June 21, 2021 11:53
worker websocket hang fine logs
[2021-06-19 01:23:12.356][FINE][hudson.remoting.Channel$1 handle] Received Response(java.util.HashMap)
[2021-06-19 01:23:12.358][FINE][hudson.remoting.Channel$1 handle] Completed command Response:RPCRequest:hudson.remoting.RemoteClassLoader$IClassLoader.fetch3[java.lang.String](15)(java.util.HashMap). It took 2ms
[2021-06-19 01:23:12.361][FINE][hudson.remoting.Channel send] Send RPCRequest:hudson.remoting.RemoteClassLoader$IClassLoader.fetch3[java.lang.String](15)
[2021-06-19 01:23:12.364][FINE][hudson.remoting.Channel send] Send Request.Cancel
[2021-06-19 01:23:12.366][FINE][hudson.remoting.Channel$1 handle] Received Response(java.util.HashMap)
[2021-06-19 01:23:12.367][FINE][hudson.remoting.Channel$1 handle] Completed command Response:RPCRequest:hudson.remoting.RemoteClassLoader$IClassLoader.fetch3[java.lang.String](15)(java.util.HashMap). It took 1ms
[2021-06-19 01:23:12.366][FINE][hudson.remoting.Channel send] Send RPCRequest:hudson.remoting.RemoteClassLoader$IClassLoader.fetch3[java.lang.String](15)
[202
@fatmcgav
fatmcgav / end.gcode
Created January 15, 2020 20:25
GCode end
;End GCode begin
M104 S0 ;extruder heater off
M140 S0 ;heated bed heater off (if you have it)
G90 ;absolute positioning
G92 E0
G1 E-1 F300 ;retract the filament a bit before lifting the nozzle, to release some of the pressure
G1 Z235 E-1 F80 ;move Z up a bit and retract filament even more
G1 X0 F3000 ;move X to min endstops, so the head is out of the way
G1 Y250 F3000 ;so the head is out of the way and Plate is moved forward
M84 ;steppers off

Keybase proof

I hereby claim:

  • I am fatmcgav on github.
  • I am fatmcgav (https://keybase.io/fatmcgav) on keybase.
  • I have a public key ASD0XcaFCZiX-Mks82jnrcO9eIfchDmtmhBh4-QHHBB5tAo

To claim this, I am signing this object:

@fatmcgav
fatmcgav / padrino-grape-exception.log
Created November 3, 2017 12:37
PadrinoGrape with Padrino 0.14
$ be padrino s
DEVEL - LOADING (0.0033s) /Users/gavinw/scratch/padrino-grape-example/api/api.rb
DEVEL - Removed constant Api from Object
DEVEL - Cyclic dependency reload for NoMethodError: undefined method `set_load_paths' for Padrino:Module
ERROR - NoMethodError - undefined method `set_load_paths' for Padrino:Module:
/Users/gavinw/.rvm/gems/ruby-2.4.0/bundler/gems/padrino-grape-e1973a964253/lib/padrino-grape/extend.rb:20:in `require_dependencies'
/Users/gavinw/.rvm/gems/ruby-2.4.0/bundler/gems/padrino-grape-e1973a964253/lib/padrino-grape/extend.rb:20:in `require_dependencies': undefined method `set_load_paths' for Padrino:Module (NoMethodError)
from /Users/gavinw/.rvm/gems/ruby-2.4.0/bundler/gems/padrino-grape-e1973a964253/lib/padrino-grape/extend.rb:26:in `setup_application!'
from /Users/gavinw/.rvm/gems/ruby-2.4.0/bundler/gems/padrino-grape-e1973a964253/lib/padrino-grape/extend.rb:55:in `included'
from /Users/gavinw/scratch/padrino-grape-example/api/api.rb:2:in `includ
@fatmcgav
fatmcgav / failed-padrino-start.log
Last active October 29, 2017 17:31
Padrino Grape routes example
$ be padrino s
DEVEL - LOADING (0.0054s) /Users/gavinw/Work/src/aurora/api/base.rb
DEVEL - Removed constant Aurora::API::Base from Aurora::API
DEVEL - Cyclic dependency reload for NameError: uninitialized constant Aurora::API::V1
DEVEL - LOADING (0.0090s) /Users/gavinw/Work/src/aurora/api/v1.rb
DEVEL - Removed constant Aurora::API::V1 from Aurora::API
DEVEL - Cyclic dependency reload for NameError: uninitialized constant Aurora::API::V1::Test
DEVEL - LOADING (0.0109s) /Users/gavinw/Work/src/aurora/api/v1/test.rb
DEVEL - Cyclic dependency reload for NameError: uninitialized constant Aurora::API::V1
INFO - (0.000271s) PRAGMA foreign_keys = 1
@fatmcgav
fatmcgav / librarianp-stack.trace
Created May 31, 2017 20:22
LibrarianP stack trace
[Librarian] Resolving poolski-beats (< 1.0, >= 0) <https://github.com/SugarFactory/puppet-beats.git#0.8.1>
[Librarian] Checking manifests
[Librarian] --- No output
[Librarian] --- No output
[Librarian] --- No output
[Librarian] --- No output
[Librarian] --- No output
[Librarian] --> origin
[Librarian] --> origin/HEAD -> origin/master
[Librarian] --> origin/beta
@fatmcgav
fatmcgav / calling-class-java.pp
Last active July 12, 2016 08:21
Puppet Oracle Java RPM installation from Puppet fileserver source
$java_major_version = '8'
$java_minor_version = '25'
$java_se = 'jdk'
$package_source = 'puppet:///packages/java'
class { '::base::software::java':
maj_version => $java_major_version,
min_version => $java_minor_version,
se => $java_se,
source => $package_source
@fatmcgav
fatmcgav / microservice::config_snippet.pp
Last active May 16, 2016 12:43
Config_snippet defined type
define microservice::config_snippet(
$file = $title,
$module = $caller_module_name,
$order = 'nil',
$template = true
) {
# Validate params
validate_string($file)
validate_bool($template)
@fatmcgav
fatmcgav / module_data_backend.rb.patch
Created May 16, 2016 10:56
Module_data_backend patch for scope issue
diff --git a/lib/hiera/backend/module_data_backend.rb b/lib/hiera/backend/module_data_backend.rb
index 8bed934..6987209 100644
--- a/lib/hiera/backend/module_data_backend.rb
+++ b/lib/hiera/backend/module_data_backend.rb
@@ -61,22 +62,33 @@ class Hiera
found = false
Hiera.debug("Looking up %s in Module Data backend" % key)
+ Hiera.debug("Module = #{scope['module']}")
+ Hiera.debug("Module_name = #{scope["module_name"]}")
@fatmcgav
fatmcgav / clc-test.tf
Created March 4, 2016 14:33
Terraform provisioner
#
## Testing Terraform CLC support
#
# Setup CLC Terraform provider
provider "clc" {
username = "xxx"
password = "xxx"
account = "IAST"
}