This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import sys | |
import pickle | |
import console | |
from collections import namedtuple | |
import dropboxlogin # this code can be found here https://gist.github.com/4034526 | |
STATE_FILE = '.dropbox_state' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
MAILTO=sysadmin@example.com | |
#################################################################### | |
#minute (0-59), # | |
#| hour (0-23), # | |
#| | day of the month (1-31), # | |
#| | | month of the year (1-12), # | |
#| | | | day of the week (0-6 with 0=Sunday)# | |
#| | | | | commands # | |
#################################################################### |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
startup_message off | |
backtick 1 3600 3600 whoami | |
caption always "%{= wk} %{= bW}[%1`@%H]%{= wk} %-Lw%{= bW}%50>%n%f* %t%{-}%+Lw%{= wk} %= %{= bW}[%l]%{= wk} " |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
hmann@SAL9000:~/Desktop$ cp .DS_Store .DS_Store_backup | |
hmann@SAL9000:~/Desktop$ # SORT BY NAME - IRRITATING MISTAKE | |
hmann@SAL9000:~/Desktop$ cp .DS_Store_backup .DS_Store | |
hmann@SAL9000:~/Desktop$ killall Finder | |
hmann@SAL9000:~/Desktop$ # EVERYTHING BACK WHERE IT BELONGS | |
hmann@SAL9000:~/Desktop$ | |
This also works for copying old .DS_Store files out of Time Machine backups. |