- ages are in years
- contribution, and savings are in dollars
- avg_annual_return is a ratio, so 1.07 is a 7% annual return
let's say I'm 25 years old, I am going to contribute $2000/yr in bonds (~5% return), and I've already invested $5700 in bonds
cd $HOME | |
ln -s `which php54` ~/bin/php | |
export PATH=$HOME/bin:$PATH | |
curl -sS https://getcomposer.org/installer | php54 | |
echo -e "\n# Composer\nalias composer=\"php54 \$HOME/composer.phar\"" >> $HOME/.bash_profile | |
source $HOME/.bash_profile |
CB_color_cycle = ['#377eb8', '#ff7f00', '#4daf4a', | |
'#f781bf', '#a65628', '#984ea3', | |
'#999999', '#e41a1c', '#dede00'] |
# -*- coding: utf-8 -*- | |
""" | |
Created on Sat Nov 30 22:32:04 2013 | |
@author: pascal Schetelat | |
""" | |
import matplotlib.pyplot as plt |
(* PROPERTIES *) | |
property LF : (ASCII character 10) | |
property LF1 : (ASCII character 32) & (ASCII character 32) & (ASCII character 10) | |
property tid : AppleScript's text item delimiters | |
(* THE SCRIPT *) | |
tell application "Skim" | |
set theTextStatus to display dialog "Is the PDF a Primary or Secondary text?" buttons {"Primary", "Secondary"} default button {"Secondary"} | |
-- original by Stephen Margheim | |
-- edited by Derick Fay, 29 Aug 2013 | |
-- copies to clipboard | |
-- uses Cite Key rather than title as link text | |
-- Displays Cite Key as well as Title in selection dialog | |
-- (I use Author-Date cite keys, & tend to think of publications as Author Date references rather than titles…) | |
display dialog "Get Link of selected item or choose other item?" buttons {"Get Selected", "Choose Other"} default button {"Get Selected"} | |
--Get Markdown formatted info for selected item |
/** | |
* diskutil list shows you the partitions currently connected to your unit | |
**/ | |
imac:~ user$ diskutil list | |
/dev/disk0 | |
#: TYPE NAME SIZE IDENTIFIER | |
0: GUID_partition_scheme *1.0 TB disk0 | |
1: EFI 209.7 MB disk0s1 | |
2: Apple_HFS Macintosh HD 987.2 GB disk0s2 |
license: gpl-3.0 | |
height: 2910 | |
border: no | |
redirect: https://observablehq.com/@d3/d3-calendar-view |