Skip to content

Instantly share code, notes, and snippets.

View binki's full-sized avatar

Nathan Phillip Brink binki

View GitHub Profile
@binki
binki / marbled-pound-cake.md
Last active December 15, 2024 19:24
Marbled Pound Cake Recipe (Americanized from Rasa Malaysia)
@binki
binki / pork-cutlet-tonkatsu.md
Last active October 1, 2020 14:37
Pork Cutlet (tonkatsu 豚カツ)

Source: unknown, posted by 김예본 in the cooking party Kakaotalk channel.

Ingredients

  • 450g (1lb) thin cut pork chops
  • salt
  • ground black pepper
  • small amount of red wine (rice wine/mirin would work)
  • 1 tbsp minced ginger
  • 2 eggs
@binki
binki / chocolate-cheesecake-test2.md
Last active December 24, 2022 14:23
Chocolate Cheesecake (test #2)

Chocolate Cheesecake (test #2)

Sources

Tools

@binki
binki / permissions-for-SqlDependency.md
Last active April 17, 2025 00:19
Permissions for SqlDependency

Permissions for SqlDependency

Issues With Original Post

This is derived from the original post. However, the original post has two issues. Both of these issues are related to the SqlDependencySchemaOwner user it creates in the database. This user owns and executes the stored procedures which SqlDependency creates dynamically.

Microsoft archived that forum and even the original author cannot update the post.

@binki
binki / invoke-mailman.sh
Created January 6, 2022 02:24
Set mailing list moderator password mailman3
mailman -C /etc/mailman/mailman.cfg withlist -l [email protected]
@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 / product-shortcomings.md
Last active April 10, 2025 13:29
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.

  • BigTime
  • The timers for tracking your time usage throughout the day use the pattern setInterval(() => {numberOfSeconds++; update();}, 1000) while the page is open. On desktop, this means that the timer will be 10 seconds or so behind after 5 minutes or minutes behind after an hour or more if your device sleeps. On mobile, this means that the timer will completely stop while your browser isn’t foregrounded.
@binki
binki / README.md
Last active January 30, 2025 17:25
Hyper-V/Sandbox 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 large send offload in guest (including Windows Sandbox!) for all adapters (unable to predict adapter names and probably all of them are real).

@binki
binki / DictionaryReaderProgram.cs
Last active February 15, 2022 20:38
An example of an IDictionaryReader interface which could be used to support IDictionary<TKey, TValue> and IReadOnlyDictionary<TKey, TValue> with no transient object creation
using System;
using System.Collections.Generic;
using System.Linq;
// Proof that this makes the compiler happy.
// See https://stackoverflow.com/a/34998637
class Program
{
static void Main(string[] args)
{
@binki
binki / ConstrainedValueTypeDictionaryAdapterProgram.cs
Last active February 15, 2022 20:38
An example of how to adapt IDictionary<TKey, TValue> as IReadOnlyDictionary<TKey, TValue> without incurring an object instantiation using value types
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
// Proof that this makes the compiler happy.
// See https://stackoverflow.com/a/34998637
class Program
{
static void Main(string[] args)