-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathsetup.txt
129 lines (77 loc) · 2.72 KB
/
setup.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
It's a little Inception:
Repo setup:
rm -rf django
git clone [email protected]:ajschumacher/dcpython-django.git django-safe
(at 77af075)
git clone [email protected]:ajschumacher/tset.git
(at 710628d)
cp -r tset tset-safe
git clone https://github.com/scikit-learn/scikit-learn.git
(at e579171)
cp -r scikit-learn scikit-learn-safe
Browser setup:
Three tabs:
https://github.com/DCPython/dcpython-django
https://github.com/ajschumacher/dcpython-django
https://twitter.com/planarrowspace
Full screen, no tabs showing.
Shell setup:
Enter this once so that it'll be in the command history:
`grep -o '\w*grep' ~/.bashrc | sort | uniq -c`
Process 1:
`e`
`M-x twittering-mode`
`u` to open compose tweet
Kill the tweet-listing buffer.
Put in kill ring:
"""
"Your father's lightsaber. This is the weapon of a Jedi Knight. Not as clumsy or random as a blaster. A more elegant weapon for a more civilized age."
- Obi Wan Kenobi, Star Wars: A New Hope
"""
"""
#Emacs and #Python at @DCPython! Readable presentation: https://github.com/ajschumacher/emacs_python/blob/master/README.md Featuring 26 screenshots, Tetris, Nyan Cat, and this tweet!
"""
In scratch buffer, put 78 characters across the screen.
Now `C-x C-c` leaves one Emacs daemon and no clients.
Process 2:
Start a separate Emacs process with `emacs`.
My current email setup is just for sending email, and it prompts for a
password at least once per session. So send a throw-away email (C-x m)
before the demo starts, to hopefully save having to type it a password
live.
Then, set up to send this email:
To:
"""
Eddie Welker <[email protected]>
"""
Subject:
"""
thanks!
"""
Body:
"""
Hi Eddie!
Thanks for having me present at DC Python! It's always a great event, and a great audience - thanks for organizing it. I just hope I don't mess up too much, trying to do everything live!
I've got all the materials from the talk online already, and I'll tweet out a link at the end of the presentation.
Thanks again! Best,
"""
Background with `C-z`.
Process 3:
Start a third Emacs with `emacs`. It should be at the startup screen.
If there's any problem, get the startup screen with
`(display-startup-screen)`.
Background with `C-z`.
Process 4:
Open a graphical Emacs client with `eg`.
Check the right zoom level and number of columns and rows for the
graphical interface when going to full screen, to avoid fiddling
around too much when switching from console Emacs to graphical Emacs
launched from a shell in Emacs.
Remember settings, close graphical interface.
Process 5:
Open a terminal Emacs client with `emacs`.
Full-screen the terminal, zoom to a good size.
Close with `C-x C-c`.
Now there are three Emacs processes. One server, and two standalones.
Bring up the third with `fg.
Present.