Skip to content

Instantly share code, notes, and snippets.

@JAStanton
JAStanton / _readme.md
Last active August 21, 2022 01:11
MITM Chrome Extension

How to MITM with a chrome extension

  • Download these files and update them
  • goto chrome://extensions and drag the parent folder holding these files into the window (you may need to turn chrome extension developer mode on)
  • goto website and watch the magic.

For some extra awesomeness replace a javascript file with a js file from dropbox with ?dl=1 at the end of the js url. Now you can modify the file locally, it will update itself, and you just have to refresh the browser. Pretty cool!

{
"promo": "NTDAW",
"restriction": {
"type": "DATE",
"start": "...",
"end": "...",
"tz": "America/Los_Angeles"
}
}
call plug#begin('~/.vim/plugged')
"
" Editor
"
Plug 'scrooloose/nerdtree'
Plug 'tpope/vim-commentary'
Plug 'vim-airline/vim-airline'
Plug 'vim-airline/vim-airline-themes'
const goodPuzzle = [
[1, 4, 5, 3, 2, 7, 6, 9, 8],
[8, 3, 9, 6, 5, 4, 1, 2, 7],
[6, 7, 2, 9, 1, 8, 5, 4, 3],
[4, 9, 6, 1, 8, 5, 3, 7, 2],
[2, 1, 8, 4, 7, 3, 9, 5, 6],
[7, 5, 3, 2, 9, 6, 4, 8, 1],
[3, 6, 7, 5, 4, 2, 8, 1, 9],
[9, 8, 4, 7, 6, 1, 2, 3, 5],
[5, 2, 1, 8, 3, 9, 7, 6, 4],
{
"type": "TransformError",
"message": "SyntaxError /Users/jas/Desktop/emptybrc/index.ios.js: Unexpected token (17:6)",
"snippet": " 15 | render() {
16 | return (
> 17 | <View style={styles.container}>
| ^
18 | <Text style={styles.welcome}>
19 | Welcome to React Native!
20 | </Text>",
@JAStanton
JAStanton / console log trick
Created April 12, 2013 21:30
fun console log tricks
console.log("%c ", 'background: url("http://placekitten.com/200/200"); padding: 5000px')
url_domain (data) ->
a = document.createElement 'a'
a.href = data
a.hostname
@JAStanton
JAStanton / Google IO 2013 Binary Easter Egg
Last active December 14, 2015 14:59
goto https://developers.google.com/events/io/ and use these codes to get into secret easter egg locations of Google IO.
space: 00101010
pong: 10000001
simone: 11010011
eightbit: 01010011
song: 11011011
synth: 10001000
ascii: 01111111
bowling: 01110101
rocket: 01000101
burger: 00111001
desiredAccuracy: 0,
stationaryRadius: 1,
distanceFilter: 0,
disableElasticity: false,
stopDetectionDelay: 1,
stopTimeout: 2,
activityType: 'Other',
activityRecognitionInterval: 0,
debug: true
_ _
.-""-. ( )-"```"-( ) .-""-.
/ O O \ / \ / O O \
|O .-. \ / 0 _ 0 \ / .-. O|
\ ( ) '. _| (_) | .' ( ) /
'.`-' '-./ | |`\.-' '-'.'
\ | \ \ / / | /
\ \ '. '._.' .' / /
\ '. `'-----'` .' /
\ .' '-._ .-'\ '. /