Skip to content

Instantly share code, notes, and snippets.

@Eibwen
Eibwen / README.md
Created August 23, 2021 23:40
NHT (Helium crypto) mining

Had a coworker mention he was having good luck mining HNT

Here is the extent of my research so far, this sort of internet diving is what I do when I'm bored:

hearsay

  • If have a position to mount an antenna that will cover a large range is your best option
  • Looks like the purpose of "mining" here is to give LoRaWAN access to "paid" users, so IoT devices would be using this, scooters
  • Seems like high scooter usage might be a driving factor too (as that is one user of the network)
  • All the miners have you pay first, with no refunds, so some could easily be scams (and/or failed ventures)
//MKII adaptor for 120mm fan
$fn = 100;
//You can adjust the two variables below
depth = 40; //depth of air chamber (40)
hole = 4; //fan screw holes (4)
difference()
{
union()
{
//baseplate

Sonoff Basic R3 DIY Mode (LEAST STEPS METHOD, no weird apps, no weird exe files)

Using a sonoff wifi switch, in DIY mode (no flashing required), and octoprint to automatically turn on/off a 3d printer!

Basically just step 2 of this (all the rest can really be ignored): https://tasmota.github.io/docs/Sonoff-DIY/

  1. Follow instructions how to enter DIY mode from Sonoff. This is the excerpt from it:
  1. Long press the button for 5 10 seconds to enter pairing mode, then press another 5 10 seconds to ender Compatible Pairing Mode (AP). The LED indicator should blink continuously.
@Eibwen
Eibwen / AChangelog.md
Last active March 9, 2021 22:06
Blaseball Helper

Legend:

  • [+] Means a new feature or other addition of logic
  • [%] Means refactoring
  • [-] Means removed code or other cleanup
  • [&] TODO item or thought
  • Bug fix

1.4.2

Written Stand-up Bot

Idea, a written log of standup updates is a very useful log to keep track of a fast moving team. Keeps all the team members very aware of what everyone is working on, better than standup as you can review any days you're OOO and be able to use the search features to figure out "who said that they fixed the one bug in that one thing a week or two ago?"

If this isn't used as a helpful, joking around type reminder, you are likely in a very unhealthy team, developers are in demand, you can find a new better job. Or you are a bad manager if you think that enforcing any of this would be helpful if enforced.

At a set time, every day, the bot will look at the list of people in the channel, and look at the conversation hitory, see what names have sent a message longer than 100 characters (or 20 words?)(TODO configable?). Any username which hasn't said anything in the last 5 hours (TODO config), will have a friendly reminder ping them in the channel. Or if everyone in the channel did say s

using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using System.Runtime.CompilerServices;
using System.Text;
using System.Threading.Tasks;
namespace ExcessivelySimple.Loggers
{
// ==UserScript==
// @name Ebay Motherufcker
// @namespace https://gist.github.com/Eibwen/
// @version 0.5
// @description Bid at the last moment
// @updateURL https://gist.github.com/Eibwen/08fab2f3fe2f10ca25ae96433c7ecc9b/raw/ebay-bid-sniper.user.js
// @author Greg Walker
// @match https://www.ebay.com/itm/*
// @grant none
// ==/UserScript==
@Eibwen
Eibwen / README.md
Last active June 7, 2020 13:46
Octoduino arduino-type platform idea (maybe more powerful chip doing more?)

Idea I had just now: I'll call it octoduino right now (maybe octaduino)

The idea being, shields and stuff are great for beginners, but still they very quickly have to learn about pin numbers and abilities still

** Would be super nice to be able to make a shield platform where the shields can be cheaper, but not sure how to address that, can't really get cheaper than Chinese clone boards ever... could you make a semi-generic base-board where various SMD chips could be mounted. So you can get 10,000 of that base, then build 10 differnt modules from it by using different jumper wires and solder bridges to configure where thins connect to

And can't always stack all varieties of shields ontop of each other

Octoduino is trying to solve that

@Eibwen
Eibwen / TurnipPrices.cpp
Created April 15, 2020 17:02 — forked from Treeki/TurnipPrices.cpp
AC:NH turnip price calculator
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
// munged from https://github.com/simontime/Resead
namespace sead
{
class Random
{
/*
* Encapsulate the logic of running something on an interval in a simple class which returns a boolean
* Usage:
* // Create a global variable to keep the state
* IntervalWithoutDelay operationName = new IntervalWithoutDelay(1000);
* IntervalWithoutDelay slowerOperation = new IntervalWithoutDelay(5000);
*
* void loop(void) {
* unsigned long currentMillis = millis();