Skip to content

Instantly share code, notes, and snippets.

View jlant's full-sized avatar

Jeremiah Lant jlant

  • Senior Analytics Developer at UPS
  • Louisville, Kentucky
View GitHub Profile
@jlant
jlant / template-readme-data.md
Last active August 29, 2015 14:21
Template - readme for data files. Some advice and best practices from - http://data.research.cornell.edu/content/readme

yyyy-mm-dd-topic-source

Short description of data.

Dates

Collected - yyyy-mm-dd (single date) or yyyy-mm-dd - yyyy-mm-dd (range of dates)
Received - yyyy-mm-dd

Source

Type - website | company | personal contact

@jlant
jlant / template-meeting-notes.md
Last active August 29, 2015 14:22
Template - meeting notes.

Project: name

Date: yyyy-mm-dd

Time: HH:MM - HH:MM EST

Attendees

  1. name, title, company

Objectives

  • objective 1
  • objective 2
@jlant
jlant / template-readme-code-project.md
Last active August 29, 2015 14:22
Template - readme for code project.

Project Name

A short description of the project.

Version

0.0.0
major.minor.micro
major-changes.feature-changes.bug-fixes

Features

@jlant
jlant / python-reference.md
Last active April 19, 2019 14:26
Python - small snippets and commands.

Python reference

The Zen of Python

>>> import this
The Zen of Python, by Tim Peters

Beautiful is better than ugly.
Explicit is better than implicit.
Simple is better than complex.
@jlant
jlant / vim-commands.md
Last active August 29, 2015 14:23
Vim - some helpful commands.

Vim commands

Delete large sections of text

Go to first line to be deleted and type ma (mark a) Go to last line to be deleted and type d'a (delete to mark a)

Select and copy all text to a new file

ggVG - go to first row, first column, enter visual mode then go to last row, last column y - yank :e some-copy.txt - create a new file called some-copy.txt

@jlant
jlant / tutorial-sublime-text-2.md
Last active March 14, 2018 03:18
Tutorial - Perfect Workflow in Sublime Text 2
@jlant
jlant / git-reference.md
Last active November 28, 2016 21:48
Git - list of helpful commands

Git reference

Local config settings (just do not include the --global option)

$ git config user.name "your-name"
$ git config user.email "your-email"

Delete commits back to a specific commit

@jlant
jlant / virtual-machine-tips-and-setup.md
Last active August 29, 2015 14:26
List - virtual machine tips and setup

Virtual machine tips and setup

Create a shared folder

  1. Create a directory on your host machine; i.e. shared
  2. In VirtualBox, click on Devices -> Shared Folders -> + button on right -> type or select path to shared folder on your host
  • make sure you select Auto mount and Make permanent
  1. In the virtual machine on the command prompt:
  • create a new directory in /mnt
  • give full access rights to directory
  • mount it with proper permissions