Skip to content

Instantly share code, notes, and snippets.

View dcalacci's full-sized avatar
🦩
wfh baby

Dan Calacci dcalacci

🦩
wfh baby
View GitHub Profile
@dcalacci
dcalacci / .bash_profile
Created September 6, 2012 23:48
bash_profile
# Added by install_latest_perl_osx.pl
[ -r /Users/Dan/.bashrc ] && source /Users/Dan/.bashrc
[[ -s "/Users/Dan/.rvm/scripts/rvm" ]] && source "/Users/Dan/.rvm/scripts/rvm" # Load RVM into a shell session *as a function*
## PATH variables
export PATH="$HOME/bin/Racket\ v5.2.1/bin/:$PATH" # Racket
export PATH=/Users/Dan/bin/google/android-sdk-macosx/tools/:$PATH #Android development
alias mips='java -jar /Users/Dan/Dropbox/work/classes/cs2600/assembly/Mars_4_1.jar' #MIPS emulator (MARS)
function git_prompt() {
@dcalacci
dcalacci / easyjava
Created September 10, 2012 17:52 — forked from nixpulvis/easyjava
Simple and Easy way to run a java class.
#!/usr/bin/env ruby
# ## An Easy Way to Compile and Run Java Classes
#
# System utility for compiling and running Java classes
# in a specific directory structure.
#
# #### Recommended Installation
# Save this code to a file named `easyjava`, somewhere on your HD. Then
# in your `~/.bash_profile` add the following:
@dcalacci
dcalacci / README.md
Created November 7, 2012 07:15 — forked from agnoster/README.md
My ZSH Theme

agnoster-light.zsh-theme

My own fork of agnoster, optimized for a terminal that uses the solarized-light colorscheme.

A ZSH theme optimized for people who use:

  • Solarized
  • Git
  • Unicode-compatible fonts and terminals (I use iTerm2 + Menlo)
@dcalacci
dcalacci / net.johnmacfarlane.gitit.plist
Created November 29, 2012 02:38 — forked from kowey/net.johnmacfarlane.gitit.plist
Edit and save in ~/Library/LaunchAgents
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>WorkingDirectory</key>
<string>/Users/Dan/wiki/gitit/</string>
<key>KeepAlive</key>
<true/>
<key>EnvironmentVariables</key>
<dict>
@dcalacci
dcalacci / export_google_music.js
Last active August 2, 2022 15:15 — forked from jmiserez/export_google_music.js
Export your Google Music Library and Playlists (Google Play Music All Access) (see http://webapps.stackexchange.com/questions/50311/print-playlist-from-google-play-music for more)
// Jeremie Miserez <jeremie@miserez.org>, 2015
//
// A little bit of Javascript to let you export your Google Music library, playlists, and album track lists :)
//
// I posted this as an answer here: http://webapps.stackexchange.com/questions/50311/print-playlist-from-google-play-music
//
// 1. Go to: https://play.google.com/music/listen#/all (or your playlist)
//
// 2. Open a developer console (F12 for Chrome). Paste
// code below into the console.