Skip to content

Instantly share code, notes, and snippets.

@Harsha-Bhattacharyya
Harsha-Bhattacharyya / Instructions.md
Last active September 30, 2025 08:45
Guide: 0 to Aero

From 0 to Aero - Complete Arch Rice Guide

Microsoft® Windows™ is a registered trademark of Microsoft® Corporation. This name is used for referential use only, and does not aim to usurp copyrights from Microsoft. Microsoft Ⓒ 2025 All rights reserved. All resources belong to Microsoft Corporation.

Part of the Neo-Aero movement - Bringing classic Windows 7 Aero aesthetics to Linux

Prerequisites

@MillionthOdin16
MillionthOdin16 / convert.py
Created April 2, 2023 14:49
Import pytorch model files (such as pytorch_model-00001-of-00006.bin) into the ggml format. Params.json (for llama 13B) included as example.
from sentencepiece import SentencePieceProcessor # type: ignore
import json, struct, os, re, zipfile, pickle, itertools, sys, enum, threading, concurrent.futures, argparse
from pathlib import Path
import numpy as np
from collections import namedtuple
from typing import Optional, Callable, Type, Any, Iterable, IO, Sequence, Union, TypeVar
from dataclasses import dataclass
NDArray = np.ndarray[Any, Any]
@EvanMcBroom
EvanMcBroom / encrypting-strings-at-compile-time.md
Last active October 25, 2025 04:54
Encrypting Strings at Compile Time

Encrypting Strings at Compile Time

Thank you to SpecterOps for supporting this research and to Duane and Matt for proofreading and editing! Crossposted on the SpecterOps Blog.

TLDR: You may use this header file for reliable compile time string encryption without needing any additional dependencies.

Programmers of DRM software, security products, or other sensitive code bases are commonly required to minimize the amount of human readable strings in binary output files. The goal of the minimization is to hinder others from reverse engineering their proprietary technology.

Common approaches that are taken to meet this requirement often add an additional maintenance burden to the developer and are prone to error. These approaches will be presented along with t

@gmurdocca
gmurdocca / socat_caesar_dpi.md
Last active May 2, 2025 06:17
Circumventing Deep Packet Inspection with Socat and rot13

Circumventing Deep Packet Inspection with Socat and rot13

I have a Linux virtual machine inside a customer's private network. For security, this VM is reachable only via VPN + Citrix + Windows + a Windows SSH client (eg PuTTY). I am tasked to ensure this Citrix design is secure, and users can not access their Linux VM's or other resources on the internal private network in any way outside of using Citrix.

The VM can access the internet. This task should be easy. The VM's internet gateway allows it to connect anywhere on the internet to TCP ports 80, 443, and 8090 only. Connecting to an internet bastion box on one of these ports works and I can send and receive clear text data using netcat. I plan to use good old SSH, listening on tcp/8090 on the bastion, with a reverse port forward configured to expose sshd on the VM to the public, to show their Citrix gateway can be circumvented.

Rejected by Deep Packet Inspection

I hit an immediate snag. The moment I try to establish an SSH or SSL connection over o

@FAUSheppy
FAUSheppy / sheepit-run.sh
Created October 12, 2021 18:42
sheep-it client command line
/usr/bin/java -jar sheepit-client-6.21175.0.jar
-ui text
-cache-dir /tmp/sheepit-cache/
-compute-method CPU
-login Sheppy
-password YOUR_TOKEN
-memory 5G
-request-time 1:00-10:00
@TBog
TBog / !readme.md
Last active March 7, 2024 00:04
Chage Garuda Arch linux distribution zram configuration
@FreddieOliveira
FreddieOliveira / docker.md
Last active October 26, 2025 10:36
This tutorial shows how to run docker natively on Android, without VMs and chroot.

Docker on Android 🐋📱

Edit 🎉

All packages, except for Tini have been added to termux-root. To install them, simply pkg install root-repo && pkg install docker. This will install the whole docker suite, left only Tini to be compiled manually.


Summary

@HerrCraziDev
HerrCraziDev / dock.ks
Last active July 19, 2021 22:30
Auto-docking script for KSP, using kOS. It doesn't performs orbital rendez-vous, hence you should be in the vicinity of your target when executing it.
//***********************************/
//* Auto-docking system */
//* - */
//* © FAITO Aerospace Inc. - 2059 */
//***********************************/
// Author : HerrCrazi - License : GNU GPL 3.0
// This program is distributed by FAITO Aerospace and the Feguan Open Source Foundation under a GNU GLP 3.0 license,
// as part of the National Open-source Initiative of 2096.
@gipert
gipert / itunes-on-arch-linux-guide.md
Created May 10, 2020 00:49
iTunes on (Arch) Linux: installation guide

Prerequisites

  1. Enable the multilib repository by editing /etc/pacman.conf
  2. Install WineHQ and some other optional dependencies:
    $ pacman -Syu wine
    $ pacman -S --asdeps lib32-mpg123 lib32-gnutls {lib32-,}gst-plugins-base-libs \
                         lib32-alsa-plugins lib32-libpulse lib32-openal
    $ yay -S lib32-unixodbc # or your favourite AUR helper
  3. We'll install a 64-bit version of iTunes, so no need to set WINEARCH
@101arrowz
101arrowz / README.md
Last active October 19, 2025 00:05
Download a McGraw Hill Education eTextbook

Download a McGraw Hill Education eTextbook

If you purchase a textbook from McGraw Hill, the website to view it is clunky and only works on some devices. You can't go to specific page numbers, the search is super slow, etc. That's why I wrote this script to download the textbook as an ePub file for your own viewing.

Using this script is 100% legal. McGraw Hill publicly hosts their ebooks online in order for their web client to download it. Moreover, to use it, you must already have purchased the book you would like to download, so it is legally yours to use as you please. However, it IS illegal to use this for piracy purposes. DO NOT DISTRIBUTE ANY TEXTBOOKS YOU DOWNLOAD USING THIS SCRIPT.