Skip to content

Instantly share code, notes, and snippets.

@jdwolk
jdwolk / Marlin_SKRMini_E3_V3_Lowrider.diff
Last active November 12, 2022 20:01
Marlin SKR Mini E3 V3 Configs for V1Engineering Lowrider 3
diff --git a/Marlin/Configuration.h b/Marlin/Configuration.h
index f52ae11b04..aa039af292 100644
--- a/Marlin/Configuration.h
+++ b/Marlin/Configuration.h
@@ -69,7 +69,7 @@
// @section info
// Author info of this build printed to the host during boot and M115
-#define STRING_CONFIG_H_AUTHOR "(BigTreeTech, SKR-mini-E3-V3.0)" // Who made the changes.
+#define STRING_CONFIG_H_AUTHOR "(JD Wolk)" // Who made the changes.
@jdwolk
jdwolk / fp_in_5_mins.md
Created June 5, 2020 19:15
FP in 5 mins
@jdwolk
jdwolk / superclass_subclass_aop.rb
Last active June 3, 2020 19:21
Ruby superclass/subclass AOP
module LogOnCall
def call
puts "Logging #{self.class.name}.call"
super
end
end
class BaseThing
### MAGIC HAPPENS HERE
def self.inherited(subclass)
@jdwolk
jdwolk / AWS EB Ops
Created April 16, 2019 21:52
AWS EB Ops
## EB cli
### Init
(Shouldn't be necessary now that things are set up, but good to know:)
`$ aws configure`
then
`$ eb init`
@jdwolk
jdwolk / docker-tips.txt
Last active October 29, 2018 20:27
Docker tips and tricks
docker ps -a
Show all docker containers, even runs not running
docker build -f <DOCKERFILE> -t <????NOT REALLY THE NAME???> <DIR>
builds whatever's in <DIR> using the <DOCKERFILE> to the <???NOT REALLY THE NAME???>
docker run <NAME>
Runs the container named <NAME>. Pulls down the required image first if it doesn't exist
docker run -d -t -p <IP>:<PORT>:<MAPPED-PORT> --name <NAME> <???NOT REALLY THE NAME???>k
@jdwolk
jdwolk / run-ngrok.sh
Last active October 11, 2018 19:33
Multiple ngrok tunnels in same process
(
sleep 1
curl --request POST \
--url http://localhost:4040/api/tunnels \
--header 'content-type: application/json' \
--data '{
"addr": 8081,
"proto": "http",
"name": "voyage-js",
"subdomain": "jdwolk-voyage-js"
@jdwolk
jdwolk / fc_beluga_status_notes.md
Last active December 16, 2016 20:01
FC Beluga Status Notes

Statuses Digging

Sold

app/api/api/me/shoes.rb

  • GET /:id/sales
    • query based on #sold_at

app/api/api/v1/stock_items.rb

  • POST /api/stock_items/serialized/:serialized_id/sold
@jdwolk
jdwolk / README.md
Last active August 19, 2016 00:06
Webpack Circular Dependencies
@jdwolk
jdwolk / auth_with_aws_on_codeship.sh
Created February 25, 2016 01:00
Simple Auth w/ AWS on CodeShip
export AWS_ACCESS_KEY_ID=<IAM user access key id>
export AWS_SECRET_ACCESS_KEY=<IAM user secret access key>
@jdwolk
jdwolk / pre_pre_pre_pre_alpha_readme_for_forms.md
Last active August 29, 2015 14:07
Pre-pre-pre-pre alpha README for forms

PoFo

Philosophy

Forms have 2 basic data flows:

In-data flow (i.e. writing)

User input -> form object -> model