Skip to content

Instantly share code, notes, and snippets.

@0x676e67
0x676e67 / crypto.py
Last active January 10, 2024 13:45
arkose_crypto
import os
import json
import base64
import hashlib
from cryptography.hazmat.primitives.ciphers import Cipher, algorithms, modes
from cryptography.hazmat.backends import default_backend
from cryptography.hazmat.primitives import padding
@davidteren
davidteren / nerd_fonts.md
Last active June 16, 2024 14:00
Install Nerd Fonts via Homebrew [updated & fixed]
@hdorio
hdorio / Zig-install-on-ubuntu-20.04.md
Created October 19, 2020 15:10
Installation instructions to build Zig on Ubuntu 20.04

These instructions assert a clean install of Ubuntu 20.04 with no previous LLVM or C compiler installed.

Install LLVM 11

  apt update
  apt install wget lsb-release software-properties-common
  bash -c "$(wget -O - https://apt.llvm.org/llvm.sh 11)"
  ln -s /usr/lib/llvm-11/bin/lld   /usr/bin/lld 
 ln -s /usr/lib/llvm-11/bin/clang /usr/bin/clang
@fire1ce
fire1ce / oh-my-zsh on openwrt or lede-project.md
Last active April 26, 2024 05:00
Install oh-my-zsh on openwrt/lede-project

Install oh-my-zsh on OpenWrt

Install Requirements Packages

opkg update && opkg install ca-certificates zsh curl git-http

Install oh-my-zsh

@JackDanger
JackDanger / git-remove-history.sh
Created August 19, 2010 22:06
remove large binary files from git history
#!/bin/bash
set -o errexit
# Author: David Underhill
# Script to permanently delete files/folders from your git repository. To use
# it, cd to your repository's root and then run the script with a list of paths
# you want to delete, e.g., git-delete-history path1 path2
#
# retrieved from: http://dound.com/2009/04/git-forever-remove-files-or-folders-from-history/
#