some bash scripts

Sorry if it annoys anyone that I don't like to put .sh in the script names.

Some functions that I think are convenient for writing c.

bash_funcs_to_compile_c


script to add #!/bin/bash to the first line of the file when you first create it. This might just seem lazy, but if it isn't there vim doesn't know to treat it like a bash script.

bashfile


Play episodes one after another in a season, keeping track of where you are. It's lame but I love this thing. (now with flags, several versions of this have been posted. This current one seems to have the bugs worked out.) This is the coolest script I've made. It has lots of functionality like -q for quick play, -s to set the episode to start from and -l to limit play to a specific number of episodes. Also, -r to refresh the episode list if you start watching before downloading all the episodes in a season. Poor man's Netflix : D

season player continuous:spc


A different way of playing episodes and keeping track of them, using select:

play_episode


Get the current stock price of any stock at Google Finance. Takes advantage of ddgr, curl and awk to extract the price.

get_stock_price


Keep track of classes with private students and generate reports--cool, user-friendly menu.

reports_wizard


CLI game that allows you to build multiple stock potfolios and track their progress over time (based on an earlier C version).

cli_gf_stock_tracker


Similar to the above, but just for one portfolio, sets up a conky instance that displays all the info on the desktop. Uses lots of flags so the program handles everything--maybe a bit tricky to figure out... And I guess it should have conky in the name.

gf_stock_tracker


Not really bash scripts, but related:

.my_bashrc
.my_vimrc