Skip to content

Instantly share code, notes, and snippets.

@theorbtwo
theorbtwo / swindon makerspace token doesn't let me in.md
Created January 14, 2023 14:24
swindon makerspace token doesn't let me in

So, you've put your token up to the reader, and the door doesn't open. Don't panic, most of the time there's a simple solution to be had, just try to answer the questions this poses. If you get stuck somewhere, go on telegram and tell us where.

  1. Are the ring of LEDs around the reader moving?

    • No: This means that the door hardware has hung, and needs to be rebooted. This happens occasionally, and isn't a huge deal. Proceed with 2.
    • Yes: All is right with the door hardware. Proceed from 5.
  2. Is there anyone in the space who can reboot the door hardware? Press the doorbell and /lookaround and ask on telegram.
    If they don't know how to reboot the door, tell them to read 4.

---- Minecraft Crash Report ----
// Don't be sad, have a hug! <3
Time: 2/5/20 12:28 PM
Description: Initializing game
java.lang.NullPointerException: Registry Object not present
at java.util.Objects.requireNonNull(Objects.java:228) ~[?:1.8.0_51] {}
at net.minecraftforge.fml.RegistryObject.get(RegistryObject.java:91) ~[?:?] {re:classloading}
at mekanism.common.registration.DoubleWrappedRegistryObject.getPrimary(DoubleWrappedRegistryObject.java:23) ~[?:?] {re:classloading}
---- Minecraft Crash Report ----
// I bet Cylons wouldn't have this problem.
Time: 2/5/20 12:58 PM
Description: Initializing game
java.lang.NullPointerException: Initializing game
at net.minecraft.client.renderer.color.BlockColors.func_186722_a(BlockColors.java:97) ~[?:?] {re:classloading,pl:runtimedistcleaner:A}
at com.davenonymous.bonsaitrees2.misc.PotColorizer.init(PotColorizer.java:33) ~[?:2.1.2.6] {re:classloading}
at net.minecraftforge.eventbus.ASMEventHandler_296_PotColorizer_init_Block.invoke(.dynamic) ~[?:?] {}
  • Manual feed for small axial holes on lathe: https://www.youtube.com/watch?v=PqU5wS0J4MU

    • Tool steel?

    • Right part, fits in tailstock chuck of lathe

      • Natural dia of piece A.

      • Blind hole, 2 inches deep, A-10mm dia, fair bit of precision needed.

commit 6c0edea89a5e98ec929f1431861e3f1df1f81e77
Author: James Mastros <james@mastros.biz>
Date: Mon Sep 18 23:26:21 2017 +0000
In gdb_get_target_description_chunk, only allocate a buffer as large as needed at EOF.
diff --git a/src/server/gdb_server.c b/src/server/gdb_server.c
index 483e551..8ebf0e7 100644
--- a/src/server/gdb_server.c
+++ b/src/server/gdb_server.c
@theorbtwo
theorbtwo / gist:ae81c9173e2327729726f491f8cee1bd
Created May 18, 2016 16:55
notes on toaster reflow oven thing
Thermocouple modules are based on MAX6675DS.
eBay: http://www.ebay.co.uk/itm/371409365985?_trksid=p2057872.m2749.l2649&ssPageName=STRK%3AMEBIDX%3AIT
Datasheet: https://cdn-shop.adafruit.com/datasheets/MAX6675.pdf
Vcc 3.0-5.5V. Accuracy better at 3.3. Serial levels depend on Vcc.
SPI-like interface. GND, VCC, SCK, CS, SO. To read, force CS low, input clock to SCK, module outputs 16 bits of data to SO.
D15 always low (sign bit).
D14-D3 are tempurature, in 1/4degC.
D2 low normal, high if thermocouple fail open.
D1 always low (device ID).
D0 left floating?

Keybase proof

I hereby claim:

  • I am theorbtwo on github.
  • I am theorbtwo (https://keybase.io/theorbtwo) on keybase.
  • I have a public key whose fingerprint is 93AB 82D1 F9C5 356C BB6B 9B76 4EFC F596 0889 53E6

To claim this, I am signing this object:

@theorbtwo
theorbtwo / gist:4403417
Created December 29, 2012 00:31
speedtouch 330 notes
23:28 <castaway> Speedtouch modem chipsx:
http://www.linkcommfg.com/u1/v1/w1/6_12_2009-3_45_00_AM-LAL0215-55P_SPEC.pdf
23:28 <castaway> ST20154TQC3
23:28 <castaway> HYNIX
@theorbtwo
theorbtwo / presentingperl.org permission slip.tt
Created July 13, 2011 18:25
presentingperl.org permission slip
Hello, [% username %],
First off, let me, a bunch of non-sentient hacked up perl scripts, thank you on behalf of the YAPC::NA::2011 attendees for speaking. You helped entertain / inform / etc the attendees, or at least the ones who weren't talking in the hall, asleep, or attending another talk. But you can do more, and it's easy this time. You may have noticed that your talks were being recorded. If you give us permission, we'll (OK, a different bunch of hacked up perl scripts, really) stick a video of your talk up on presentingperl.org. The license of the site is Creative Commons Attribution-NonCommercial-NoDerivs 3.0 Unported (CC BY-NC-ND 3.0) -- http://creativecommons.org/licenses/by-nc-nd/3.0/ -- though let my overlords know if you want to release under a different license. They've been meaning to create a way to let speakers declare that they want to release under a different license, and would no doubt love a test case.
Anyway, let my owners know if you give your permission, or, contrarywise,
diff --git a/op.c b/op.c
index 09b1bbc..c46730d 100644
--- a/op.c
+++ b/op.c
@@ -9517,8 +9517,23 @@ Perl_rpeep(pTHX_ register OP *o)
o->op_private |= o->op_next->op_private & (OPpLVAL_INTRO
| OPpOUR_INTRO);
o->op_next = o->op_next->op_next;
- o->op_type = OP_GVSV;
- o->op_ppaddr = PL_ppaddr[OP_GVSV];