Skip to content

Instantly share code, notes, and snippets.

View nikelborm's full-sized avatar
🦎
chillin'

EVA (Entity Value Attribute) nikelborm

🦎
chillin'
View GitHub Profile
@joseluisq
joseluisq / resize_disk_image.md
Last active July 10, 2026 15:59
How to resize a qcow2 disk image on Linux

How to resize a qcow2 disk image on Linux

This example takes olddisk.qcow2 and resizes it into newdisk.qcow2, extending one of the guest's partitions to fill the extra space.

1. qcow2 format

1.1. Verify the filesystems of olddisk.qcow2

---
- hosts: legacyservers
gather_facts: yes
become: yes
tasks:
# Use a block to perform tasks conditionally—only if running Ubuntu 18.04.
- block:
@joelonsql
joelonsql / PostgreSQL-EXTENSIONs.md
Last active October 3, 2026 07:42
1000+ PostgreSQL EXTENSIONs

🗺🐘 1000+ PostgreSQL EXTENSIONs

This is a list of URLs to PostgreSQL EXTENSION repos, listed in alphabetical order of parent repo, with active forks listed under each parent.

⭐️ >= 10 stars
⭐️⭐️ >= 100 stars
⭐️⭐️⭐️ >= 1000 stars
Numbers of stars might not be up-to-date.

@EverettBerry
EverettBerry / aws-sql.md
Created March 16, 2022 01:13
AWS SQL Options
Service Description SQL Support Use Case
RDS Postgres, MySQL, etc. Full Small-medium web apps
Aurora Serverless databases Full Serverless apps
Redshift Data warehouse Full OLAP, Petabytes of data, analytics
DynamoDB NoSQL database Some - PartiSQL Ecommerce, building fast
Keyspaces Managed Cassandra (key value) Some - CQL Messaging
Neptune Graph database Some - openCypher
@SharkPlush
SharkPlush / Linux Laptop Optimizations.md
Last active August 5, 2026 21:24
Linux Laptop Optimizations

I have a website now that includes a more dumbed down but straight forward version of this guide that isnt basied towards Arch Linux but considers most distros. https://linuxguidance.net/improve-battery-and-optimize-your-linux-laptop/

Everything I do in this guide is mostly taken from the Arch Wiki, and is for Arch Linux, obviously this can probably be applied to other Linux distributions especially Arch based ones, this guide is for people who want a laptop with similar effciency they had on Windows or MacOS. I hate the excuse of having to compromise on Linux to have good battery or thermals on laptops.

Please think of this guide as more of a starting point, if you're serious about fully optimizing your laptop research your laptop and the hardware inside of it as that can get you even further down the rabbit hole.

This guide assumes you have a relatively modern laptop with at least an SSD from the factory, if you don't, don't worry you can still probably follow this guide perfectly, if you have a 32-b

@guest271314
guest271314 / javascript_engines_and_runtimes.md
Last active October 4, 2026 15:30
A list of JavaScript engines, runtimes, interpreters

V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++. It is used in Chrome and in Node.js, among others. It implements ECMAScript and WebAssembly, and runs on Windows 7 or later, macOS 10.12+, and Linux systems that use x64, IA-32, ARM, or MIPS processors. V8 can run standalone, or can be embedded into any C++ application.

SpiderMonkey is Mozilla’s JavaScript and WebAssembly Engine, used in Firefox, Servo and various other projects. It is written in C++, Rust and JavaScript. You can embed it into C++ and Rust projects, and it can be run as a stand-alone shell. It can also be [compiled](https://bytecodealliance.org/articles/making-javascript-run-fast-on

@CMCDragonkai
CMCDragonkai / adts_in_typescript_javascript.md
Last active June 7, 2024 16:41
ADTs in TypeScript/JavaScript

ADTs in TypeScript/JavaScript

Here are the different ways of creating an algebraic datatype or a tagged value.

type Type = 'A' | 'B';
type Value = any;

type ADTTuple = [Type, Value];
type ADTNamed = { type: Type } & {};
@askareija
askareija / INSTALL.md
Last active September 24, 2025 19:45
Install Ollama with AMD GPU (On Laptop) Arch Linux

My laptop specs: MSI Bravo 15 B7E

  • CPU: AMD Ryzen™ 5 7535HS Processor with AMD XDNA™ architecture 6 cores, Max Boost Clock 4.55 GHz
  • GPU: AMD Radeon™ RX 6550M 4GB GDDR6
  • RAM: 32GB DDR5-4800
  1. Clone ollama git clone --recursive https://github.com/ollama/ollama.git
  2. go to directory cd ollama
@devinschumacher
devinschumacher / service-workers.md
Created May 12, 2025 12:31
How to clear all service workers in chrome in bulk

How to clear all service workers in chrome in bulk

You can see all the service workers running crap on your system if you visit: chrome://serviceworker-internals/ in your browser.

It lists service worker internals such as installation status, the running script and the service worker scope.

    Scope: https://twitter.com/
    Registration ID: 0 (unregistered)
    Navigation preload enabled: false
@jimzer
jimzer / effect-tanstack-hooks.ts
Created June 3, 2025 19:52
Type-safe Effect-TS + React Query integration. Auto-generates useQuery/useMutation hooks with full TypeScript inference from Effect API clients.RetryClaude can make mistakes. Please double-check responses.
import { Api } from "@api/domains/api";
import {
FetchHttpClient,
HttpApiClient,
type HttpClient,
type HttpClientResponse,
} from "@effect/platform";
import { Fetch } from "@effect/platform/FetchHttpClient";
import {
type UseMutationOptions,