start new:
tmux
start new with session name:
tmux new -s myname
| # | |
| # link: https://gist.githubusercontent.com/celly/1591cf9305734812baad/raw/ | |
| # | |
| # Add to you /usr/local/bin/gravity.sh file under sources= | |
| # | |
| # samsung 'smart tv' | |
| 127.0.0.1 log-1.samsungacr.com | |
| 127.0.0.1 log-2.samsungacr.com | |
| 127.0.0.1 notice.samsungcloudsolution.com |
| #!/usr/bin/env python | |
| import os | |
| import urllib2 | |
| countries={'DK':'denmark'} | |
| os.system("/opt/vyatta/sbin/vyatta-cfg-cmd-wrapper begin") | |
| for country in countries.keys(): |
| #!/bin/bash | |
| ## Fix OneDrive for Mac CPU usage | |
| ## | |
| ## Seems this is still a problem 5 years later after I created this little gist. | |
| ## I have long since stopped using OneDrive (luckily), but according to | |
| ## comments below, I have added the new path for OfficeFileCache for macOS | |
| ## Mojave (10.14) and Catalina (10.15). | |
| ## Run this on macOS Mojave (10.14) and Catalina (10.15) | |
| find ~/Library/Containers/ -type d -name OfficeFileCache -exec rm -r {} + |