Skip to content

Instantly share code, notes, and snippets.

@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 "[email protected]"
@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

ECMAScript 6 git.io/es6features

Introduction

ECMAScript 6 is the upcoming version of the ECMAScript standard. This standard is targeting ratification in June 2015. ES6 is a significant update to the language, and the first update to the language since ES5 was standardized in 2009. Implementation of these features in major JavaScript engines is underway now.

See the draft ES6 standard for full specification of the ECMAScript 6 language.

ES6 includes the following new features:

How to write the perfect pull request
January 21, 2015 Keavy McMinn keavy Engineering
As a company grows, people and projects change. To continue to nurture the culture we want at GitHub, we've found it useful to remind ourselves what we aim for when we communicate. We recently introduced these guidelines to help us be our best selves when we collaborate on pull requests.
Approach to writing a Pull Request
Include the purpose of this Pull Request. For example:
This is a spike to explore…
This simplifies the display of…
@lolptdr
lolptdr / dotfiles.rb
Created December 2, 2014 16:01
Dotfile and system setup with developer's environment
#!/usr/bin/env ruby
require 'fileutils'
require 'mkmf'
USERNAME = `whoami`.chomp
HOME_DIR = File.expand_path('~/')
DOT_DIR = File.expand_path('~/.mks-dotfiles')
MKS_DIR = File.expand_path('~/code/mks')
DOT_FILES = ['.gitignore', '.gitconfig', '.zshrc']
@lolptdr
lolptdr / short.js
Created November 19, 2014 23:07
short circuit examples - gilbert
// Short-circuit examples
var one = 10 || 20
console.log("1.", one)
var two = false || 30
console.log("2.", two)
var three = true || 40 || 50
console.log("3.", three)