Skip to content

Instantly share code, notes, and snippets.

View binki's full-sized avatar

Nathan Phillip Brink binki

View GitHub Profile
@binki
binki / product-shortcomings.md
Last active April 9, 2024 16:32
Shortcomings/gripes/complaints/missing features in products or improvement/automation ideas

Product Shortcomings

This is an attempt to record shortcomings in products. I might feel like there is no proper channel for me to complain about the thing, so I attempt to record them here.

Some of these things might be fodder for my own attempts at providing solutions. When I feel like I have time to try to code for fun, I might try to hack things up with respect to these issues.

@binki
binki / kimchi-fried-rice.md
Last active March 26, 2024 02:55
kimchi fried rice

Ingredients

  • 1 servings cooked rice (each serving is made from 0.75 cup uncooked rice).
  • 1 cup kimchi
  • 1 onion
  • 1 stalk green onion
  • 1 tbsp gochugaru
  • 1.5 tsp soy sauce
  • 1 tbsp rice syrup (halve to make hotter)
  • 0.5lb meat such as chicken, spam (optional)
@binki
binki / README.md
Last active February 24, 2024 10:39
Doki Doki Literature Club Base64 Natsuki Message/Poem Starting With T3B

image of base64

Source: posted by Kim Hansol in Katok, originally from David Kong(?), originally from https://www.chopsticksandflour.com/baek-jong-won-spicy-braised-pork-ribs/ ???

Ingredients

  • 4lb pork ribs (one pack—usually $12 at meijer)
  • Kimchi (1:1 with pork; usually my 4 handfuls)
  • 1 tbsp vinegar if using young kimchi (if using aged kimchi, omit)
  • Onion 1 large/2 small (Yellow the best)
  • Red pepper flakes (gochugaru) 2-3 tbsp
  • soy sauce 2 tbsp
  • sugar 2 tbsp
@binki
binki / post-file.js
Last active October 4, 2023 14:35
posting a file loaded through fs.readFile() through axios+form-data
#!/usr/bin/env node
const axios = require('axios');
const FormData = require('form-data');
const fs = require('fs');
const filePath = __dirname + '/../accept-http-post-file/cookie.jpg';
fs.readFile(filePath, (err, imageData) => {
if (err) {
throw err;
}
@binki
binki / slowcooker-beef.md
Last active July 25, 2023 03:19
Slowcooker beef crockpot

Source: common knowledge, Binki’s experience, loosely based on instructions from crockpot/slowcooker thing.

Ingredients

  • 2 bay leafs/leafs
  • celery
  • 0.5lb bacon (or just get smallest package, preferrably uncured)
  • 2lb beef (chuck roast without much fat or top round steak, best to choose cheaper)
  • 1 cup sake
  • 2tsp ground black pepper
@binki
binki / discord-gripes-bugs-issues.md
Last active June 18, 2023 22:33
Discord Gripes/Bugs/Issues
  1. I’d like to mute notifications for specific spammy people/bots without having to ignore entire channels which I otherwise care about.
  2. I’d like to be able to walk away from my computer for a minute without missing a DM notification. Discord requires you to stare at your computer screen or continue listening to its audio for 1 minute prior to physically leaving your computer. Some people post on Discord and every other messaging service I’ve used actually tries to make sure you’re notified when people you are about message you, but not Discord:
  3. Android app doesn't handle back button correctly when launched from a notification
@binki
binki / README.md
Last active March 20, 2023 00:50
Hyper-V Killer WiFi network speed fix powershell commands vEthernet External

See this SO answer.

Disable large send offload in host on vEthernet (to avoid messing with non-virtual adapters). Disable larg send offload in guest for all adapters (unable to predict adapter names and probably all of them are real).

@binki
binki / README.md
Created January 16, 2019 17:10
mysql connection pooling in node.js

This is in reaction to http://www.madhur.co.in/blog/2016/09/05/nodejs-connection-pooling.html

It is critical that you remember to release connections to the pool if you are using pooling with the mysql module. It is best to use the pool.query() command if you can. You’ll know if you can’t.

Examples of things which cannot use pool.query() but must use pool.getConnection() followed by connection.release() are:

  1. Using transactions where you send multiple commands to the server.
  2. Sharing per-session data objects between subsequent commands sent to the server such as temporary tables.
@binki
binki / chocolate-cheesecake-test2.md
Last active December 24, 2022 14:23
Chocolate Cheesecake (test #2)

Chocolate Cheesecake (test #2)

Sources

Tools