##iTerm
iTerm is a replacement for the termainal which does some nice things: https://www.iterm2.com/
##Tmux
Tmux provides session and window management to the terminal: https://robots.thoughtbot.com/a-tmux-crash-course
##Tmate
class Euler | |
ALPHABET = ("A".."Z").to_a | |
VALUES = {} | |
def initialize | |
get_values | |
get_names | |
find_score | |
end |
##iTerm
iTerm is a replacement for the termainal which does some nice things: https://www.iterm2.com/
##Tmux
Tmux provides session and window management to the terminal: https://robots.thoughtbot.com/a-tmux-crash-course
##Tmate
# customize prompt | |
#PS1="\$(~/.rvm/bin/rvm-prompt) $PS1" | |
# Git branch in prompt. | |
parse_git_branch() { | |
git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/ (\1)/' | |
} | |
parse_git_dirty() { | |
st=$(git status 2>/dev/null | tail -n 1) | |
if [[ $st == "" ]]; then |
##vim
Vim is a text editor available on most unix systems, and can easily be installed via package managers if not already installed.
My reasoning for using Vim over other text editors and IDEs:
<!DOCTYPE HTML> | |
<html> | |
<head> | |
<meta http-equiv="content-type" content="text/html; charset=utf-8" /> | |
<title></title> | |
</head> | |
<body> |
#!/bin/sh | |
pdf_stylesheet="/Users/dkirschner/dev/mapr/apache_spark/ebook/spark-book-theme/pdf/pdf.css" | |
theme_stylesheet="/Users/dkirschner/dev/mapr/apache_spark/ebook/spark-ebook/theme/pdf/pdf.css" | |
print_stylesheet="/Users/dkirschner/dev/mapr/apache_spark/ebook/spark-book-theme/pdf/pdf_print.css" | |
USAGE="Usage: -f input file with either md or html file ending, -o optional output file with pdf ending, -p anything here will turn on print mode, -? or -h prints usage" | |
while getopts “ht:f:o:p” OPTION | |
do | |
case $OPTION in |
#!/bin/sh | |
pdf_stylesheet="/Users/dkirschner/dev/mapr/apache_spark/ebook/spark-book-theme/pdf/pdf.css" | |
theme_stylesheet="/Users/dkirschner/dev/mapr/apache_spark/ebook/spark-ebook/theme/pdf/pdf.css" | |
print_stylesheet="/Users/dkirschner/dev/mapr/apache_spark/ebook/spark-book-theme/pdf/pdf_print.css" | |
USAGE="Usage: -f input file with html ending, -p anything here will turn on print mode, -? or -h prints usage" | |
while getopts “ht:f:p” OPTION | |
do | |
case $OPTION in |
#!/bin/sh | |
pdf_stylesheet="/Users/dkirschner/dev/mapr/apache_spark/ebook/spark-book-theme/pdf/pdf.css" | |
theme_stylesheet="/Users/dkirschner/dev/mapr/apache_spark/ebook/spark-ebook/theme/pdf/pdf.css" | |
print_stylesheet="/Users/dkirschner/dev/mapr/apache_spark/ebook/spark-book-theme/pdf/pdf_print.css" | |
USAGE="Usage: -f markdown file with md file ending, -o optional output file with pdf ending, -p anything here will turn on print mode, -? or -h prints usage" | |
while getopts “ht:f:o:p” OPTION | |
do | |
case $OPTION in |
some nice things to do when setting up git: | |
# just push current branch when you do git push: | |
git config --global push.default current |
Processing by BatchboxController#create as JSON | |
Parameters: {"FromName"=>"Danny K", "From"=>"[email protected]", "FromFull"=>{"Email"=>"[email protected]", "Name"=>"Danny K", "MailboxHash"=>""}, "To"=>"[email protected], \"Danny Kirschner\" <[email protected]>", "ToFull"=>[{"Email"=>"[email protected]", "Name"=>"", "MailboxHash"=>""}, {"Email"=>"[email protected]", "Name"=>"Danny Kirschner", "MailboxHash"=>""}], "Cc"=>"", "CcFull"=>nil, "Bcc"=>"", "BccFull"=>nil, "Subject"=>"test csv", "MessageID"=>"3187dfc1-5245-4ece-94b0-343126a8d177", "ReplyTo"=>"", "MailboxHash"=>"", "Date"=>"Thu, 31 Jul 2014 15:16:46 -0400", "TextBody"=>"testing csv to ngrok\r\n", "HtmlBody"=>"<div dir="ltr">testing csv to ngrok</div>\r\n", "StrippedTextReply"=>"", "Tag"=>"", "Headers"=>[{"Name"=>"X-Spam-Checker-Version", "Value"=>"SpamAssassin 3.3.1 (2010-03-16) on sc-ord-inbound2"}, {"Name"=>"X-Spam-Status", |