Skip to content

Instantly share code, notes, and snippets.

@MayankFawkes
MayankFawkes / sources.list
Created August 6, 2020 03:13
Ubuntu 20.04 LTS (ARM64) (Focal Fossa) -- Full sources.list
deb http://ports.ubuntu.com/ubuntu-ports focal main restricted universe multiverse
deb-src http://ports.ubuntu.com/ubuntu-ports focal main restricted universe multiverse
deb http://ports.ubuntu.com/ubuntu-ports focal-updates main restricted universe multiverse
deb-src http://ports.ubuntu.com/ubuntu-ports focal-updates main restricted universe multiverse
deb http://ports.ubuntu.com/ubuntu-ports focal-backports main restricted universe multiverse
deb-src http://ports.ubuntu.com/ubuntu-ports focal-backports main restricted universe multiverse
deb http://ports.ubuntu.com/ubuntu-ports focal-security main restricted universe multiverse
@staltz
staltz / introrx.md
Last active December 20, 2025 07:23
The introduction to Reactive Programming you've been missing
@misostack
misostack / clean-architecture.md
Last active December 20, 2025 07:21
Clean Architecture

Clean Architecture

image

1. What is architecture?

Architecture is simply a set of attributes about how your code is laid out, organized, and how it interacts with other pieces or layers of the code.

@sebastianrothbucher
sebastianrothbucher / README.md
Created March 16, 2019 16:12
Reactjs docs as ebook (epub / Kindle)

This is how you can conver the react docs to a .ePub / Kindle (.mobi) file to read in an eReader (or eReader app):

echo '' > ALL.md
for i in $(cat nav.yml | grep 'id:' | awk -F:  '{print$2}')
do
#!/usr/bin/env bash
# install-ark-lxc.sh
# Proxmox LXC one-shot installer for ARK dedicated server
set -euo pipefail
# ---------- Config (override via env) ----------
CTID="${CTID:-$(pct list | awk 'NR>1{print $1}' | sort -n | awk 'END{print ($0? $0+1:100)}')}"
HN="${HN:-ark-server}"
CPU="${CPU:-4}"

MEGA Downloader

MEGA.nzmega.nz

We make secure cloud storage simple. Create an account and get 50 GB free on MEGA's end-to-end encrypted cloud collaboration platform today!

Mega.n Downloader Script

A script to download file from Mega.n and read it. (Using PHP)

@tracend
tracend / gist:912308
Created April 10, 2011 12:40
DirectInput keyboard scan codes
/****************************************************************************
*
* DirectInput keyboard scan codes
*
****************************************************************************/
#define DIK_ESCAPE 0x01
#define DIK_1 0x02
#define DIK_2 0x03
#define DIK_3 0x04
#define DIK_4 0x05
This gist contains the necessary files to transform the Copilot key into a Compose key under X or
Wayland. This is done by creating a custom keyboard option that simply needs to be enabled in your
system's settings.
Bonus: if your keyboard has a level 3 key (AltGr) then AltGr+Copilot gives you greek letters!
How to:
1. Place each files in `~/.config/xkb/<folder indicated on the first line>`.
@hackermondev
hackermondev / writeup.md
Last active December 20, 2025 07:05
How we pwned X (Twitter), Vercel, Cursor, Discord, and hundreds of companies through a supply-chain attack

hi, i'm daniel. i'm a 16-year-old high school senior. in my free time, i hack billion dollar companies and build cool stuff.

about a month ago, a couple of friends and I found serious critical vulnerabilities on Mintlify, an AI documentation platform used by some of the top companies in the world.

i found a critical cross-site scripting vulnerability that, if abused, would let an attacker to inject malicious scripts into the documentation of numerous companies and steal credentials from users with a single link open.

(go read my friends' writeups (after this one))
how to hack discord, vercel, and more with one easy trick (eva)
Redacted by Counsel: A supply chain postmortem (MDL)

@kevin-smets
kevin-smets / iterm2-solarized.md
Last active December 20, 2025 07:03
iTerm2 + Oh My Zsh + Solarized color scheme + Source Code Pro Powerline + Font Awesome + [Powerlevel10k] - (macOS)

Default

Default

Powerlevel10k

Powerlevel10k