Skip to content

Instantly share code, notes, and snippets.

View hancockks's full-sized avatar

Ken Hancock hancockks

View GitHub Profile
ISA*00* *01*PASSWORD00*ZZ*X03400000000108*ZZ*X00450000001001*060424*1244*^*00501*000000017*1*T*>
GS*HI*PARTICIPANTID*PAYER123*20060424*1244*17*X*005010X217
ST*278*1234*005010X217
BHT*0007*13*123*20060424*1244
HL*1**20*1
NM1*PR*2*AETNA 1234560010*****PI*PAYER123
HL*2*1*21*1
NM1*1P*1*POPDELL*ROBERT****24*4376557IM
PER*IC**TE*6515551212*FX*6513332222
HL*3*2*22*1
@hancockks
hancockks / gist:02509e5d06b0f1d95b1e3e6c4a23a9f1
Created August 14, 2023 14:57
Sample Jackson convertValue to drop additionalProperties
package com.sample;
import com.fasterxml.jackson.annotation.JsonAnyGetter;
import com.fasterxml.jackson.annotation.JsonAnySetter;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
import com.fasterxml.jackson.databind.ObjectMapper;
import org.junit.Test;
@hancockks
hancockks / printer.cfg
Created January 1, 2022 15:58 — forked from Firedrops/printer.cfg
klipper config 4 skr v1.3
#####################################################################################
# SKR v1.3 Configuration for Ender 3
# All stepper drivers are TMC2208 in UART Mode.
# BLTouch to be revised to 3DTouch
#####################################################################################
[printer]
kinematics: cartesian
max_velocity: 300
max_accel: 2000
@hancockks
hancockks / cloudflare-ddns-update.sh
Last active October 28, 2020 14:31 — forked from foobarhl/cloudflare-ddns-update.sh
A bash script to update a Cloudflare DNS A record with the external IP of the source machine
#!/usr/bin/env bash
# A bash script to update a Cloudflare DNS A record with the external IP of the source machine
# Used to provide DDNS service for my home
# Needs the DNS record pre-creating on Cloudflare
## Based on https://gist.github.com/Tras2/cba88201b17d765ec065ccbedfb16d9a with updates to use
## per-zone configurable access tokens available in the API sections of your Cloudflare profile
## - info@foo-games.com
@hancockks
hancockks / cloudflare-ddns-update.sh
Created June 23, 2020 17:30 — forked from Tras2/cloudflare-ddns-update.sh
A bash script to update a Cloudflare DNS A record with the external IP of the source machine
#!/bin/bash
# A bash script to update a Cloudflare DNS A record with the external IP of the source machine
# Used to provide DDNS service for my home
# Needs the DNS record pre-creating on Cloudflare
# Proxy - uncomment and provide details if using a proxy
#export https_proxy=http://<proxyuser>:<proxypassword>@<proxyip>:<proxyport>
# Cloudflare zone is the zone which holds the record
@hancockks
hancockks / cloudflare-ddns-update.sh
Created June 23, 2020 17:12 — forked from kevinhalpin/cloudflare-ddns-update.sh
A bash script to update a Cloudflare DNS A record with the external IP of the source machine
#!/bin/bash
# A bash script to update a Cloudflare DNS A record with the external IP of the source machine
# Used to provide DDNS service for my home
# Needs the DNS record pre-creating on Cloudflare
# Proxy - uncomment and provide details if using a proxy
#export https_proxy=http://<proxyuser>:<proxypassword>@<proxyip>:<proxyport>
# Cloudflare zone is the zone which holds the record