Skip to content

Instantly share code, notes, and snippets.

@lolptdr
lolptdr / README.md
Last active August 29, 2015 14:26 — forked from hofmannsven/README.md
My simply Git Cheatsheet
@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 "[email protected]"
var mixin = require('mixin');
class Cyclist {
ride() {
console.log(`${this.name} is riding`);
}
}
class Swimmer {
swim() {
@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.
@lolptdr
lolptdr / List of Golden Guns
Created January 28, 2016 17:23
A list of all the magical Stack Overflow fixes
Make a clickable area larger (mobile app issue): http://stackoverflow.com/a/20327676/3412545
@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 / phonebook-directive-spec.js
Created September 29, 2016 19:43
Created new spec file for Joel's phonebook directive
directiveTest({
module: angular.module('app'),
name: 'phonebookDirectve',
template: '<phonebook phone-numbers="testNumbers"></phonebook>',
controller: 'phonebook',
selectors: {
'phonenumber': 0
},
assertions: {
'should expose refresh functionality': function($element) {
@lolptdr
lolptdr / README.md
Last active October 5, 2016 13:27
Notes on installing Elixir, Postgresql, and Phoenix

#Install Elixir, Posgresql, and Phoenix for this repo: https://github.com/dantswain/beanie#

On MacOS Sierra (10.12) with Xcode 8 and node >= 5.0

brew update
brew install elixir
brew install postgresql
createuser postgres --superuser