Skip to content

Instantly share code, notes, and snippets.

View sbseltzer's full-sized avatar

Sam Seltzer-Johnston sbseltzer

View GitHub Profile
@sbseltzer
sbseltzer / 1_ubuntu_terminal_command
Last active July 30, 2018 19:54 — forked from lucasdavila/1_ubuntu_terminal_command
Installing Source Code Pro fonts in ubuntu
# to execute this gist, run the line bellow in terminal
\curl -L https://gist.githubusercontent.com/seltzy/2e9c791bf8f57a388cfffc4dd92824db/raw/1c100cae16a06bef154af0f290d665405b554b3b/install_source_code_pro.sh | sh
@sbseltzer
sbseltzer / timestamp.js
Created October 31, 2016 16:54 — forked from hurjas/timestamp.js
Print out a nicely formatted timestamp in JavaScript.
/**
* Return a timestamp with the format "m/d/yy h:MM:ss TT"
* @type {Date}
*/
function timeStamp() {
// Create a date object with the current time
var now = new Date();
// Create an array with the current month, day and time
@sbseltzer
sbseltzer / .gitignore
Last active August 30, 2015 02:20 — forked from thebeardphantom/.gitignore
Unity GitIgnore
# Ignore everything
/*
/*/
# Inverse ignore some stuff
!/Assets/
!/ProjectSettings/
!.gitignore
# OS Stuff