View gist:1885435

1. Clone your fork:

git clone

2. Add remote from original repository in your forked repository:

cd into/cloned/fork-repo
git remote add upstream git://
git fetch upstream
View Slack_solarized_themes
Solarized Dark
View Joi 7.0.0

Joi extensibility proposal

Following the many demands of Joi custom functions, here's my proposal to achieve this in a sane way. I want to gather as many feedback as possible so we don't miss any use case that would be important, so I'll leave this open for a while.



Creates a new Joi type and attaches it to a clone of Joi.

View gist:1990245
### Locating UI elements ###
# By ID
<div id="coolestWidgetEvah">...</div>
element = driver.find_element_by_id("coolestWidgetEvah")
from import By
element = driver.find_element(by=By.ID, value="coolestWidgetEvah")
# By class name:
View .vimrc
" VIM Configuration File
" Description: Optimized for C/C++ development, but useful also for other things.
" Author: Gerhard Gappmeier
" set UTF-8 encoding
set enc=utf-8
set fenc=utf-8
set termencoding=utf-8
" disable vi compatibility (emulation of old bugs)
from django.template.defaultfilters import slugify
class AutoSlugMixin(object):
Automatically set slug to slugified version of the name if left empty.
Use this as follows::
class MyModel(AutoSlugMixin, models.Model):
def save(self):
super(MyModel, self).save()

Business Models


Models Examples
Display ads Yahoo!
Search ads Google
View get-watchers.js
function getWatchers(root) {
root = angular.element(root || document.documentElement);
var watcherCount = 0;
function getElemWatchers(element) {
var isolateWatchers = getWatchersFromScope($isolateScope);
var scopeWatchers = getWatchersFromScope($scope);
var watchers = scopeWatchers.concat(isolateWatchers);
angular.forEach(element.children(), function (childElement) {
watchers = watchers.concat(getElemWatchers(angular.element(childElement)));

If you were to give recommendations to your "little brother/sister" on things that they need to do to become a data scientist, what would those things be?

I think the "Data Science Venn Diagram" ( is a great place to start. You need three things to be a good data scientist:

  • Statistical knowledge
  • Programming/hacking skills
  • Domain expertise

Statistical knowledge


Install & Configure

  1. Install DNSMasq

    $ brew install dnsmasq
  2. Install DNSCrypt-proxy

    $ brew install dnscrypt-proxy