Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 38 lines (23 sloc) 0.921 kB
ee6e671 @davisp Pythonification.
davisp authored
1 Phone Pipe Recipes
2 ==================
3
4 When the compile's done
5 -----------------------
6
7 $ make; phone
8
9 Get your IP addresses
10 ---------------------
11
12 $ ifconfig | grep inet | phone
13
14 Get your ethernet addresses
15 ---------------------------
16
17 $ ifconfig | grep ether | phone
18
19 Rtorrent (0.8.4+) notification on download complete
20 ---------------------------------------------------
21
22 Add this line to ~/.rtorrent.rc:
23
2319716 @pbutler Modified phone to use the optparse module to provide a more traditional
pbutler authored
24 system.method.set_key = event.download.finished,notify_me,"execute=/usr/local/bin/phone,--title=rtorrent,--,$d.get_name="
ee6e671 @davisp Pythonification.
davisp authored
25
26 Notify when user logs in on Mac OSX 10.3+
27 -----------------------------------------
28
29 Stick this in /Library/Scripts/login.sh:
30
31 #!/bin/bash
2319716 @pbutler Modified phone to use the optparse module to provide a more traditional
pbutler authored
32 /usr/local/bin/phone --username=<username> --secret=<secret> --title="`hostname` login" $1
ee6e671 @davisp Pythonification.
davisp authored
33
34 Then run this:
35
36 sudo chmod +x /Library/Scripts/login.sh
37 sudo defaults write com.apple.loginwindow LoginHook /Library/Scripts/login.sh
Something went wrong with that request. Please try again.