start new:
tmux
start new with session name:
tmux new -s myname
| import requests, json | |
| from subarucreds import username,password,pin # just a "subarucreds.py" that has some variables i didn't want to share | |
| import datetime | |
| #login | |
| s=requests.Session() | |
| loginr=s.post('https://www.mysubaru.com/login', data = {'username':username,'password':password}) | |
| #should return a response 200 | |
| #Where's my subaru? |
| replaced by https://gist.github.com/mayel/c07bc0acb91824501d5bdbdc9eb7b33a |
| #!/bin/sh | |
| echo Install all AppStore Apps at first! | |
| # no solution to automate AppStore installs | |
| read -p "Press any key to continue... " -n1 -s | |
| echo '\n' | |
| echo Install and Set San Francisco as System Font | |
| ruby -e "$(curl -fsSL https://raw.github.com/wellsriley/YosemiteSanFranciscoFont/master/install)" | |
| echo Install Homebrew, Postgres, wget and cask | |
| ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)" |
| #!/bin/bash | |
| url='rtsp://10.0.1.10:554/video-stream' | |
| avconv -i $url -r 1 -vsync 1 -qscale 1 -f image2 images%09d.jpg |