Skip to content

Instantly share code, notes, and snippets.

@jjasser
jjasser / web-servers.md
Created February 25, 2020 19:26 — forked from willurd/web-servers.md
Big list of http static server one-liners

Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.

Discussion on reddit.

Python 2.x

$ python -m SimpleHTTPServer 8000
@jjasser
jjasser / Dockerfile
Created January 21, 2020 00:19 — forked from parzel/Dockerfile
Modified Kali Dockerfile that I used for OSCP. Read more about it here: https://parzelsec.de/
FROM kalilinux/kali-linux-docker
LABEL MAINTAINER=parzelsec.de
# general
RUN apt-get update && apt-get install -y \
vim \
host \
git \
python3-pip \
@jjasser
jjasser / iterm2.md
Created March 13, 2019 04:13 — forked from nobitagit/iterm2.md
iterm2 cheatsheet

This gist has been moved to its own Github repo, so it's easier to contribute with additions and corrections. Please open a PR there if you see any mistake, I don't track comments on here as there's no notification system for gists AFAIK. Thanks.

Tabs and Windows

Function Shortcut
Previous Tab + Left Arrow
Next Tab + Right Arrow
Go to Tab + Number