Skip to content

Instantly share code, notes, and snippets.

View serious-angel's full-sized avatar
...cogito, ergo sum...

/\ngel serious-angel

...cogito, ergo sum...
View GitHub Profile
@ormaaj
ormaaj / roflparser.md
Created March 10, 2025 19:35
Silly bash typeset builtin wrapper

This script exploits bash's weird interpretation of POSIX's requirement that declaration builtins overloaded by functions must not modify the parsing of the arguments. Bash even extends this requirement to nonstandard extensions such as arrays. This typeset wrapper parses options by stealing the (approximately correct) optstring from ksh. It modifies each assignment then prints the effect of the command as a side-effect.

Code:

@Nickguitar
Nickguitar / bypassing_discord_masked_links_filter.md
Last active December 4, 2025 03:08
Bypassing Discord's masked links filter
@0xdevalias
0xdevalias / reverse-engineering-webpack-apps.md
Last active December 5, 2025 02:11
Some notes and techniques for reverse engineering Webpack (and a little bit about React/Vue/Angular) apps
@iscle
iscle / gist:66e946553e74a883b4494d3b6df0ee82
Last active November 19, 2025 16:59
Install python2.7 on Ubuntu 23.04 as "python"
wget https://www.python.org/ftp/python/2.7.18/Python-2.7.18.tgz
tar xzf Python-2.7.18.tgz
cd Python-2.7.18
sudo ./configure --enable-optimizations
sudo make altinstall
sudo ln -s "/usr/local/bin/python2.7" "/usr/bin/python"
@ConnerWill
ConnerWill / ANSI-escape-sequences.md
Last active December 6, 2025 05:42
ANSI Escape Sequences cheatsheet

ANSI Escape Sequences

Standard escape codes are prefixed with Escape:

  • Ctrl-Key: ^[
  • Octal: \033
  • Unicode: \u001b
  • Hexadecimal: \x1B
  • Decimal: 27
@zookee1
zookee1 / tamrieltradecentre.sh
Last active August 2, 2025 21:29
Tamriel Trade Centre Update
#!/bin/bash
REGION="eu" # eu or us
TTC="/mnt/games/SteamLibrary/steamapps/compatdata/306130/pfx/drive_c/users/steamuser/My Documents/Elder Scrolls Online/live/AddOns/TamrielTradeCentre"
ZIP="/tmp/PriceTable.zip"
wget -O $ZIP https://$REGION.tamrieltradecentre.com/download/PriceTable
unzip -o $ZIP -d "$TTC"
<!DOCTYPE html>
<html lang="en">
<head>
<link rel="icon" type="image/x-icon" href="/favicon.ico">
<title>Rebane's Discord Colored Text Generator</title>
<meta charset="UTF-8">
<meta name="description" content="Rebane's Discord Colored Text Generator">
<meta name="author" content="rebane2001">
<style>
/*
@besrabasant
besrabasant / NoDebugBar.php
Last active August 15, 2024 14:25
A handy middleware to disable Laravel Debugbar.
<?php
namespace App\Http\Middleware;
use Closure;
use Barryvdh\Debugbar\Facade as Debugbar;
class NoDebugbar
{
/**
@erangaeb
erangaeb / tshark-capture
Last active November 19, 2025 15:18
tshark capture packets
# capture all packets on default network interface
sudo tshark
# capture all packets on specific network interface
# -i ens4 (ens4 interface)
sudo tshark -i ens4
# capture packets with disable name resolutions (e.g hostname, tcp udp port names), it would be good for peformance
@gokulkrishh
gokulkrishh / useful-npx-commands.md
Last active October 17, 2025 13:42
List of useful npx (Node Package Runner) commands (https://git.io/useful-npx-commands)

NPX (NPM Package Runner) Commands

List of useful npx (NPM Package Runner) commands.

What is NPX?

Using NPX we can execute/run node binaries without the need to install it locally or globally.

Commands