Skip to content

Instantly share code, notes, and snippets.

View shubhamkumar13's full-sized avatar
πŸ˜‘
is existing

shubham shubhamkumar13

πŸ˜‘
is existing
View GitHub Profile
@raiph
raiph / .md
Last active December 25, 2025 23:29
Raku's "core"

Then mathematical neatness became a goal and led to pruning some features from the core of the language.

β€” John McCarthy, History of Lisp

If you prefer programming languages with a tidy and tiny core, you're in for a treat. This article drills down to the singleton primitive at the heart of Raku's metamodel ("model of a model") of a model of computation ("how units of computations, memories, and communications are organized")1.

The reason I've written this article

It began with u/faiface's reddit post/thread "I'm impressed with Raku"2. One of their sentences in particular stood out for me:

@swlaschin
swlaschin / effective-fsharp.md
Last active March 28, 2026 22:41
Effective F#, tips and tricks

Architecture

  • Use Onion architecture

    • Dependencies go inwards. That is, the Core domain doesn't know about outside layers
  • Use pipeline model to implement workflows/use-cases/stories

    • Business logic makes decisions
    • IO does storage with minimal logic
    • Keep Business logic and IO separate
  • Keep IO at edges

@sethwoodworth
sethwoodworth / 02019-03-29--espressobin-openwrt.md
Created March 30, 2019 03:19
Home Infrastructure Part 1: OpenWRT router on an Espressobin v7

Home Infrastructure Part 1: Espressobin v7

I've been running DD-WRT on my router / WAP, a Linksys 1900ACS v2 for a few years. It's a fine router, but I'd been seeing some stability issues with the temperature sensor after setting up HomeAssistant's DD-WRT integration for detecting which devices are currently active on the home network.

I've been reading about single-board computers lately, alternatives to the Raspberry Pi. Back in Highschool I was fascinated by the PC/104 micro computer form-factor. The MIT Media Lab's wearable computer team used PC/104 boards for a few of their wearable computing platforms, and I've been interested in small computers running linux ever since.

The Espressobin is a router SBC with a built-in 3-port switch.

@pcgeek86
pcgeek86 / cheatsheet.ps1
Last active September 21, 2026 04:27
PowerShell Cheat Sheet / Quick Reference
Get-Command # Retrieves a list of all the commands available to PowerShell
# (native binaries in $env:PATH + cmdlets / functions from PowerShell modules)
Get-Command -Module Microsoft* # Retrieves a list of all the PowerShell commands exported from modules named Microsoft*
Get-Command -Name *item # Retrieves a list of all commands (native binaries + PowerShell commands) ending in "item"
Get-Help # Get all help topics
Get-Help -Name about_Variables # Get help for a specific about_* topic (aka. man page)
Get-Help -Name Get-Command # Get help for a specific PowerShell function
Get-Help -Name Get-Command -Parameter Module # Get help for a specific parameter on a specific command
@subfuzion
subfuzion / curl.md
Last active September 26, 2026 13:05
curl POST examples

Common Options

-#, --progress-bar Make curl display a simple progress bar instead of the more informational standard meter.

-b, --cookie <name=data> Supply cookie with request. If no =, then specifies the cookie file to use (see -c).

-c, --cookie-jar <file name> File to save response cookies to.

@bordoley
bordoley / gist:59be7941ce918562cd39
Last active August 2, 2025 19:37
F# Event Loop Implementation
module EventLoop
open System
open System.Collections.Concurrent
open System.Threading
open System.Threading.Tasks
type IEventLoop =
inherit IDisposable