Skip to content

Instantly share code, notes, and snippets.


Tommy Marshall tommymarshall

View GitHub Profile
View gist:3760dcb44f01b510a336ccceb3f0cc98
2004 Lexus IS300 for sale. Car is in perfect working order. It's stock except for a K&N Air Filter and front Strut Bar. Comes with TWO full-size spares. This is the first car I ever owned. I'm the 2nd owner, purchased 9 years ago and babied with only 91 gas and greater (ever).
Recent work done:
– New Battery
– Replaced Timing Belt and Water Pump ($1.8k of work, have parts list /receipt)
– Tires all have 70% tread or more on them (17" Wheels, not the smaller 16")
– Replaced brakes and rotors
– Just detailed, changed oil, wiper fluid, cleaned air filter, etc.
View .zshrc
# If you come from bash you might have to change your $PATH.
export PATH=./node_modules/.bin:$HOME/bin:$HOME/.composer/vendor/bin:/usr/local/bin:/Users/tmarshall/repos/multitasking/bin:$PATH
# Path to your oh-my-zsh installation.
export ZSH=/Users/tmarshall/.oh-my-zsh
# Set name of the theme to load. Optionally, if you set this to "random"
# it'll load a random theme each time that oh-my-zsh is loaded.
# See
# ZSH_THEME="af-magic"
View keybindings.json
// Place your key bindings in this file to overwrite the defaults
"key": "alt+down",
"command": "incrementor.decByOne"
"key": "ctrl+down",
"command": "-incrementor.decByOne"
View .vscode-settings
"workbench.colorTheme": "One Monokai",
"editor.lineHeight": 24,
"editor.fontSize": 14,
"files.autoSave": "onFocusChange",
"workbench.editor.labelFormat": "default",
"sublimeTextKeymap.promptV3Features": true,
"editor.multiCursorModifier": "ctrlCmd",
"editor.snippetSuggestions": "top",
"editor.fontFamily": "Fira Code",
tommymarshall / .zshrc
Created Jan 29, 2018
Create a PR against master from your the branch you're in, and open it in the browser.
View .zshrc
pr () {
local repo=`git remote -v | grep -m 1 "origin" | sed -e "s/.*[:/]\(.*\)\.git.*/\1/"`
local branch=`git name-rev --name-only HEAD`
echo "... creating pull request for branch \"$branch\" in \"$repo\""
tommymarshall / keybindings.json
Created Dec 1, 2017
Get Emmet tag completion (type 'div' hit TAB) working in JSX files
View keybindings.json
"keys": ["tab"], "command": "expand_abbreviation_by_tab", "context": [
"operand": "source.js",
"operator": "equal",
"match_all": true,
"key": "selector"
"key": "selection_empty",
tommymarshall /
Last active Oct 11, 2017
# of times Nationals won 2 games in a row during the regular season
tommymarshall / Demo.js
Last active Aug 9, 2017
Simple Modal in React using react-portal-minimal and styled-components
View Demo.js
import React from 'react';
import { TextBlock } from '../../text';
import { Modal } from '../';
class Demo extends React.Component {
state = {
open: false
handleOpenModel = () => this.setState({ open: ! });
View ContentfulBuilder.php
class ContentfulBuilder {
protected $query;
public function __construct() {
$this->query = new Query;
tommymarshall / ansible_play.yaml
Created Jan 6, 2017
Ansible play for provision server with SSL
View ansible_play.yaml
company: XXX
provider: rackspace
server_os: trusty
server_size: 8G
stack: lamp
httpd_package: apache
database_package: mysql
ssl_test_mode: yes