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 October 14, 2025 22:59
Bypassing Discord's masked links filter
@0xdevalias
0xdevalias / reverse-engineering-webpack-apps.md
Last active October 22, 2025 01:56
Some notes and techniques for reverse engineering Webpack (and a little bit about React/Vue/Angular) apps
@iscle
iscle / gist:66e946553e74a883b4494d3b6df0ee82
Last active October 26, 2025 14:04
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 November 5, 2025 02:56
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
{
/**
@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

@seanorama
seanorama / README.md
Last active August 5, 2025 16:52
certutil/nssdb

How to work with nssdb and certutil

remove database

rm -r ~/.pki/nssdb

create database directory