Skip to content

Instantly share code, notes, and snippets.

View 0x90's full-sized avatar
🏠
Working from home

0x90 0x90

🏠
Working from home
View GitHub Profile
### Keybase proof
I hereby claim:
* I am 0x90 on github.
* I am 090h (https://keybase.io/090h) on keybase.
* I have a public key whose fingerprint is 6AB4 9A89 FD92 610D B2B6 2182 D990 880B EC71 0D52
To claim this, I am signing this object:
@0x90
0x90 / .zshrc
Created January 31, 2015 15:36
# Path to your oh-my-zsh configuration.
ZSH=$HOME/.oh-my-zsh
# Set name of the theme to load.
# Look in ~/.oh-my-zsh/themes/
# Optionally, if you set this to "random", it'll load a random theme each
# time that oh-my-zsh is loaded.
#ZSH_THEME="robbyrussell"
#ZSH_THEME="pygmalion"
@0x90
0x90 / gist:90964e04ace2c11b71cf
Created September 6, 2014 00:50
OS X monitor
lsof -Pnl +M -i4
lsof -Pl +M -i4
lsof -i | awk '{ print $1,$2,$9; }' | sort -u
nettop
sudo fs_usage -f filesys
sudo fs_usage -f network
sudo fs_usage -w
git clone git://github.com/bastibl/gr-ieee802-11.git
cd gr-ieee802-11
mkdir build
cd build
cmake ..
#!/usr/bin/env bash
# Some things taken from here
# https://github.com/mathiasbynens/dotfiles/blob/master/.osx
# Ask for the administrator password upfront
sudo -v
# Keep-alive: update existing `sudo` time stamp until `.osx` has finished
while true; do sudo -n true; sleep 60; kill -0 "$$" || exit; done 2>/dev/null &
@0x90
0x90 / hack.sh
Created November 21, 2013 18:48 — forked from erikh/hack.sh
#!/usr/bin/env sh
##
# This is script with usefull tips taken from:
# https://github.com/mathiasbynens/dotfiles/blob/master/.osx
#
# install it:
# curl -sL https://raw.github.com/gist/2108403/hack.sh | sh
#
@0x90
0x90 / gist:4348565
Last active December 10, 2015 00:08
#!/bin/env python
import httplib,urllib
from urlparse import urlparse
from time import sleep
TARGET_URL = 'http://ctf.phdays.com:1411/news/1/add-comment'
def inject_query(query):
sleep(1)
parsed = urlparse(TARGET_URL)