Skip to content

Instantly share code, notes, and snippets.

@lolptdr
lolptdr / undo-git-rebase.sh
Created June 3, 2016 16:27 — forked from rymawby/undo-git-rebase.sh
Undoing a git rebase
# find head commit
git reflog
# now reset hard - where N is the head commit found in the reflog
git reset --hard HEAD@{N}
@lolptdr
lolptdr / gist:68aa363277f32357bb14
Created November 25, 2015 07:37 — forked from olivierlacan/gist:4062929
Code School Screencasting Framework

Screencasting Framework

The following document is a written account of the Code School screencasting framework. It should be used as a reference of the accompanying screencast on the topic.

Why you should care about screencasting?

You're probably aren't going to take the time to read this document if you're not interested, but there are a lot of nice side effects caused by learning how to create quality screencasts.

  1. Communicating more effectively - At Envy Labs we produce screencasts for our clients all the time. Whether it's demoing a new feature or for a presentation for an invester, they're often much more effective and pleasent than a phone call or screen sharing.
var mixin = require('mixin');
class Cyclist {
ride() {
console.log(`${this.name} is riding`);
}
}
class Swimmer {
swim() {
@lolptdr
lolptdr / multiple_ssh_setting.md
Last active August 29, 2015 14:26 — forked from jexchan/multiple_ssh_setting.md
Multiple SSH keys for different github accounts

Multiple SSH Keys settings for different github account

create different public key

create different ssh key according the article Mac Set-Up Git

$ ssh-keygen -t rsa -C "your_email@youremail.com"
@lolptdr
lolptdr / README.md
Last active August 29, 2015 14:26 — forked from hofmannsven/README.md
My simply Git Cheatsheet
@lolptdr
lolptdr / thpsetup.py
Last active August 29, 2015 14:16 — forked from oaass/thpsetup.py
#!/bin/bash
echo ""
echo "=========================================================================="
echo "= Pentest Attack Machine Setup ="
echo "= Based on the setup from The Hacker Playbook ="
echo "=========================================================================="
echo ""
# Prepare tools folder