As configured in my dotfiles.
start new:
tmux
start new with session name:
#!/usr/bin/env python | |
""" | |
Parse a HAR (HTTP Archive) and return URLs which resulted in a given HTTP response code | |
HAR Spec: http://groups.google.com/group/http-archive-specification/web/har-1-2-spec | |
Copyleft 2010 Ian Gallagher <[email protected]> | |
Example usage: ./har_response_urls.py foo.har 404 | |
""" | |
import json |
As configured in my dotfiles.
start new:
tmux
start new with session name:
public class ImageFlipper{ | |
private static final int START_ANGLE = 90; | |
private static final int END_ANGLE = 270; | |
private int animationDuration = 800; | |
private ObjectAnimator flipObjectAnimator; | |
public ImageFlipper(final View targetView, final int[] drawableResources){ | |
((ImageView)targetView).setImageResource(drawableResources[0]); | |
flipObjectAnimator = ObjectAnimator.ofFloat(targetView, "rotationY", START_ANGLE, END_ANGLE); |
Get Homebrew installed on your mac if you don't already have it
Install highlight. "brew install highlight". (This brings down Lua and Boost as well)
#!/bin/sh | |
# This script will install a Git pre-commit hook that stop accidental commits to master and develop branches. | |
# RUN THIS SCRIPT | |
# curl -fL https://gist.githubusercontent.com/shauvik/7175fa008bb29e83a86a6795159a893f/raw/install-pre-commit.sh | sh -s pre-commit-3 | |
# Original stuff. | |
# There is also a variant that includes a core.whitespace check. See pre-commit-2 below. | |
# Install in current Git repo: | |
# curl -fL https://gist.githubusercontent.com/stefansundin/9059706/raw/install-pre-commit.sh | sh |
The following instructions assumes you already have your internet set up and working with CenturyLink. It is known to work on these modems:
To start, connect the dsl port on the Modem/router CenturyLink device (will call it "modem") to the wall phone jack and then plug in the power cable. Also connect the Google WiFi to power. Do not connect the two devices via ethernet yet.
Once they are both powered on, factory reset both devices. I've found this will cut down the number of problems during setup.