simple scripts I use to start and end my day
This commit is contained in:
		
							
								
								
									
										12
									
								
								home/bin/goodmorning.sh
									
									
									
									
									
										Executable file
									
								
							
							
						
						
									
										12
									
								
								home/bin/goodmorning.sh
									
									
									
									
									
										Executable file
									
								
							| @@ -0,0 +1,12 @@ | ||||
| #!/bin/sh | ||||
|  | ||||
| # system setup | ||||
| chef-client | ||||
| rvm gemset reset_env # rvm cookbook breaks this | ||||
| brew upgrade  | ||||
| brew cleanup | ||||
| for cask in $(brew cask list); do brew cask install $cask; done | ||||
| brew cask cleanup | ||||
|  | ||||
| open $(mdfind Emacs.app) | ||||
|  | ||||
							
								
								
									
										17
									
								
								home/bin/goodnight.sh
									
									
									
									
									
										Executable file
									
								
							
							
						
						
									
										17
									
								
								home/bin/goodnight.sh
									
									
									
									
									
										Executable file
									
								
							| @@ -0,0 +1,17 @@ | ||||
| #!/bin/sh | ||||
|  | ||||
| # shutdown vagrant boxes | ||||
| for box in $(vagrant global-status|grep running|awk '{ print $1 }'); do vagrant halt $box; done | ||||
|  | ||||
| # kill tmux sessions | ||||
| tmux kill-server | ||||
|  | ||||
| # quit apps | ||||
| osascript -e 'tell application "emacs" to quit' | ||||
| osascript -e 'tell application "textual" to quit' | ||||
| osascript -e 'tell application "adium" to quit' | ||||
| osascript -e 'tell application "flowdock" to quit' | ||||
| osascript -e 'tell application "skype" to quit' | ||||
| osascript -e 'tell application "slack" to quit' | ||||
|  | ||||
| uncommitted ~/Projects ~/.homesick | ||||
		Reference in New Issue
	
	Block a user