A collection of scripts that I wrote to make life easier.
save.py
begin.py
ctl.sh
GetBing.py
- This runs the commands needed to create a commit and to push to the remote branch.
- Run
python save.py
in command line. - Type in commit message.
- This just starts up websites that I normally view in the morning.
- Run
python begin.py
in command line.
- This is a bash script that will be used for the current koazie ec2 server. It handles the start/stop of
server.js
and themongod
service.
- Script that gets Bings Spotlight Image and sets it as my wallpaper.
- This script is used in conjunction with Automator and the Calendar app for OSX. Automator to create a executable app and Calendar to run everyday.
- Type
python GetBing.py
in the Terminal
- Create an app using Automator with the action
Run Shell Script
- Copy and Paste the script into the section provided
- Save anywhere (I did it in my Applications folder) under any name you want.
- Next, go to Calendar and create an event that repeats everyday at arbitrary time (I don't know when Microsoft updates the image)
- Add an alert
- Click the 'Message' drop down and select
Open file...
- Choose your app.
- begin.py is actually used through Automator for Mac.
- ctl.sh has a hardcoded path. It's bad practice, but since it'll just sit there on a server then there shouldn't be any issues.