File: 1.html

package info (click to toggle)
lg-issue113 1-1
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 1,932 kB
  • ctags: 42
  • sloc: sh: 364; makefile: 34
file content (664 lines) | stat: -rw-r--r-- 26,428 bytes parent folder | download
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
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
<html>
<head>
<link href="../../lg.css" rel="stylesheet" type="text/css" media="screen, projection"  />
<title>The Answer Gang: LG 113: Lifehacks</title>

<style type="text/css" media="screen, projection">
<!--
.articlecontent {
        position:absolute;
        top:143px;
}
-->
</style>
</head>
<body>
<img src="../../gx/2003/newlogo-blank-200-gold2.jpg" id="logo" alt="Linux Gazette"/>
<p id="fun">...making Linux just a little more fun!</p>


<div class="content articlecontent">

<div id="previousnexttop">
<A HREF="../lg_tips.html" >&lt;-- 2c Tips</A> 
| <A HREF="../lg_answer.html">TAG Index</a> 
| <A HREF="1.html">1</a> 
| <a href="../../tag/kb.html">Knowledge Base</a>
| <A HREF="../lg_bytes.html" >News Bytes --&gt;</A>
</div>



<h1 align="center"><IMG SRC="../../gx/dennis/qbubble.gif" align="left"> The Answer Gang <IMG SRC="../../gx/dennis/bbubble.gif" align="right"></h1>

<p align="center">By Jim Dennis, Jason Creighton, Chris G, Karl-Heinz, and... 
	(<A HREF="../../tag/bios.html">meet the Gang</A>) ... 
	the Editors of <I>Linux Gazette</I>... and 
	<a href="../../tag/members-faq.html">You</a>!</p>
<br clear="both">
<HR>
<!-- begin 1 -->
<H3 align="left"><img src="../../gx/dennis/qbubble.gif" 
	height="50" width="60" alt="(?) " border="0"
	>Lifehacks</H3>


<p><strong>From Jimmy O'Regan 
</strong></p> 
<p></strong></p>

<p align="right"><strong>Answered By:  Jimmy O'Regan, Brian Bilbrey, Raj Shekhar, Heather Stern
</strong></p>

<blockquote><em><font color="#006600">I'm looking for everyone's lifehacks. For more information about what a
lifehack is, scroll down -- I've included the introduction to an article
I was writing for another site (<EM>cough</EM>) that I couldn't make relevant
there -- but in short, it's things that make your life easier, like Ben's
quote catcher or my screen scrapers (they save me ~5 minutes per day
that I can waste on IRC instead
<IMG SRC="../../gx/dennis/smily.gif" ALT=" :) " 
		height="24" width="20" align="middle"> .
</font></em></blockquote>
<blockquote><em><font color="#006600">So drag out your ugly scripts, or at least say what they do in
principle. (No, I don't have any that haven't been made into articles
already :)
 -- Jimmy</font></em></blockquote>

<h4 align="center"><br>Lifehacks
</h4>
<P><STRONG>
<a href="http://www.lifehacks.com/wiki/FrontPage">Lifehacks</a>
are an idea that was put forward by
<a href="http://www.oblomovka.com/">Danny O'Brien</a>
at the
<a href="http://conferences.oreillynet.com/cs/et2004/view/e_sess/4802">O'Reilly Emerging Technology Conference</a>.
 Lifehacks are the result of taking one of the basic principles of
self-help -- find out how the experts work,
and emulate them -- and applying it to geeks.
</STRONG></P>
<P><STRONG>
One of the least surprising discoveries of the Lifehacks research is
that "Overprolific Alpha Geeks" spend most of their working lives using
the shell. Two of the
<a href="http://craphound.com/lifehacks2.txt">conclusions</a>
of the talk are that geeks will have private blogs/RSS feeds.
</STRONG></P>
<P><STRONG>
Why would you use private blogs?
</STRONG></P>
<P><STRONG>
Most people need to provide their bosses with periodic reports. Because
feed aggregators are available for almost every imaginable platform,
reading feeds is not an issue. Having reports available in a private
blog offers two immediate benefits: each report is archived in a known
location; and the feed reader provides notification of new entries (as
well as keeping its own archive of entries). Making reports available as
a feed can also boost productivity and increase communication --
sysadmins, for example, can generate many of their reports from log
files, and add this to the feed so their boss no longer needs to wait
around for a formal report; programmers can use scripts in CVS (or other
version control systems) that generate a report containing a list of
changed files and the log message for every commit.
</STRONG></P>
<P><STRONG>
A popular use of blogs is as a whiteboard -- people thinking out loud,
inviting passers-by to offer suggestions or criticism which may help to
improve an idea. By maintaining different blogs with varying levels of
availability, people can share ideas with the appropriate audience
without revealing things they would prefer to keep secret.
</STRONG></P>
<P><STRONG>
The most basic advantage of writing down an idea is that you no longer
have to worry about remembering it. Even writing to a completely private
blog, as a "todo" list, has advantages. Writing an idea forces you to
clarify your own thoughts: the simple act of writing an idea down to
remember it can lead to you expressing it well enough to share it with a
wider audience. Once an idea is written, it can then be refactored --
you can share it at a later date, when you have developed it further.
Another advantage is that each blog entry is automatically dated, so
each idea can be compared with public blog entries from the same time,
so you can discover why the idea was relevant; and if nothing else, a
blog provides you with a single place where you can archive your ideas
and
<a href="http://www.lifehacks.com/wiki/SecretScripts">"secret scripts"</a>
in case you need them again.
</STRONG></P>
<P><STRONG>
Semi-public blogs, available only on a company or department intranet,
allow co-workers to keep track of each others activities and to offer
and receive suggestions about ideas without publicly exposing company
secrets. Information put on a semi-private blog may later become
suitable for public consumption, such as a note about a bug in a
product, or information about server downtime.
</STRONG></P>
<blockQuote>
<IMG SRC="../../gx/dennis/bbub.gif" ALT="(!)"
	HEIGHT="28" WIDTH="50" BORDER="0"
	> [Brian] 
Thank you.
</blockQuote>
<blockQuote>
Thank you, Thank You, THANK YOU!
</blockQuote>
<blockQuote>
This is the sort of thing that I've been doing unconsciously for the
last 20 years, and what's been lacking is the vision to make it a
conscious process.
</blockQuote>
<blockQuote>
Every machine I have does webserving, I drop stuff into the serving
space for testing, for review, for remembering.
</blockQuote>
<blockQuote>
I put stuff on my public site so that when I forget I ever knew how to
do a thing, I can google for the answer and find what I wrote once upon
a time (that's happened THREE times in the last year).
</blockQuote>
<blockQuote>
I <EM>rsync</EM> everything, everywhere. <EM>Cron</EM> takes care of most of it,
occasionally I'll manually run a set to a sometimes running box, and
then shut it down and put it in the basement. Mostly that's private
stuff, and not the things that can be replicated or are static,
committed to DVD+R (like the ogg collection).
</blockQuote>
<blockQuote>
I run
<a href="http://www.phpgroupware.org/">phpGroupWare</a>
at work with Calendar, TroubleTicket and Todo modules active.
</blockQuote>
<blockQuote>
I publish fun and useful links in my webspace on the internal server -
everything from a demo of how the Windows messenger error looks when
Samba +
<a href="http://www.clamav.net">ClamAV</a>
+Samba-vscan catches an inbound virus, to the mods I might
make to my cube to get a nerf-weapon war type of battle-cube.
</blockQuote>
<blockQuote>
All of my email accounts are IMAP, I have 5 active places, and I copy
stuff from account to account, in and out of the assorted todo
sub-folders as I want to apply the topic to the part of my life in question.
</blockQuote>
<blockQuote>
<IMG SRC="../../gx/dennis/bbub.gif" ALT="(!)"
	HEIGHT="28" WIDTH="50" BORDER="0"
	> [Jimmy] 
I do the same. Anything that I <em>  really  </em> like, or may need in real life,
I email to my phone (my phone has Blackberry email, so email to my
private account comes in like an SMS message: straight to the phone, no
need to check :)
</blockQuote>
<blockQuote>
Email is one of the top geek ways of keeping information, according to
that survey. Wanna remember something, mail it to yourself.
</blockQuote>
<blockQuote>
<IMG SRC="../../gx/dennis/bbub.gif" ALT="(!)"
	HEIGHT="28" WIDTH="50" BORDER="0"
	> [Brian] 
I don't have a useful PDA. I've had FUN ones, linux-based, but I'm
thinking I need a real one, one of these days. Useful AND used. All the
Linux ones provided tools to sync/work with Windows boxen. Um, sorry,
don't run that one, got any other choices? I'm leaning towards Treo. Any
thoughts?
</blockQuote>
<blockQuote>
<IMG SRC="../../gx/dennis/bbub.gif" ALT="(!)"
	HEIGHT="28" WIDTH="50" BORDER="0"
	> [Jimmy] 
I use my phone as a pda. Getting
<a href="http://www.syncml.org/">SyncML</a>
going is something I really want
to do, but I'm not sure I want to be synchronising across the Internet
when the phone is right beside the blasted PC :(
</blockQuote>

<blockquote><em><font color="#000066">SyncML is now part of the Open Mobile Alliance
(<A HREF="http://www.openmobilealliance.org/index.html"
	>http://www.openmobilealliance.org/index.html</A>)
 -- Heather</font></em></blockquote>
<blockQuote>
<IMG SRC="../../gx/dennis/bbub.gif" ALT="(!)"
	HEIGHT="28" WIDTH="50" BORDER="0"
	> [Brian] 
I have one "blog" that I'm experimenting with, using
<a href="http://wordpress.org/">Wordpress</a>
. There are parts of it I like, but for many purposes I really like the
read-in-time-ordinal of journalling rather than the reverse mode of
Blogging. I suppose that's why I've never really mentally connected with
RSS feeds, even though a great number of people I know think that feeds
are the greatest thing since sliced bread. Are these "problems" for me?
Am I just in the wrong phase of a Candlestick-Two Faces conundrum?
Thoughts, please...
</blockQuote>
<blockQuote>
I <EM>LOVE</EM> the idea of using a blog as a log watch aggregator. That ROCKS!
</blockQuote>
<blockQuote>
<IMG SRC="../../gx/dennis/bbub.gif" ALT="(!)"
	HEIGHT="28" WIDTH="50" BORDER="0"
	> [Jimmy] 
Heh. That was an obvious use I didn't see mentioned. Back in college I
used to have a bunch of scripts that ran grep over various log files,
diffed them against yesterday's, and mailed the result to an admin account.
</blockQuote>
<blockQuote>
I used them to track things like who used su and when etc., and had
something similar in root's .bash_logout so I could compare and see who
was doing what (not to snoop, just to offer a helping hand to the newbie
admins).
</blockQuote>
<blockQuote>
<IMG SRC="../../gx/dennis/bbub.gif" ALT="(!)"
	HEIGHT="28" WIDTH="50" BORDER="0"
	> [Brian] 
What's in my ~/bin: 87 scripts, mostly ugly hacks to run CLI and GUI
tools in a specific order. For example:
</blockQuote>

<blockquote><pre>bilbrey@vimes:~/bin$ cat getpix | egrep -v "^$"
</pre></blockquote>
<p align="center">See attached <tt><a href="../misc/tag/brian.getpix.bash.txt">brian.getpix.bash.txt</a></tt></p>
<blockQuote>
Since the USB card reader doesn't ALWAYS see media inserted, a quick
cfdisk brings that problem to an end. I mount the card, copy the
contents to the directory I specified on the commandline. Ick, no test
for correct input, eh? Unmount, prompt, call another script to convert
all to 640x480. use
<a href="http://gqview.sourceforge.net/">GQview</a>
to pick and choose. Those I keep, I may edit
using
<a href="http://www.gimp.org/">GIMP</a>
from within GQview. When I'm done, I have the 640x480 snaps
that I'll use on the website. Exit GQview and the script continues. Make
thumbnails of the remaining files. Copy everything into my local copy of
the webtree. Blow the whole processing tree away, leaving me with camera
originals on the disk. I don't use this one much anymore, because I have
a new camera and a new method of doing some of that stuff. I haven't
automated it yet because I've been too busy to save time. Sigh.
</blockQuote>
<blockQuote>
<IMG SRC="../../gx/dennis/bbub.gif" ALT="(!)"
	HEIGHT="28" WIDTH="50" BORDER="0"
	> [Jimmy] 
I keep my photos on
<a href="http://flickr.com/">flickr.com</a>
(and on CD, but they're easier to find on
flickr), and my links on
<a href="http://del.icio.us/">del.icio.us</a>
. In issue #110 I described what I use
to get a montage of my last N photos (
<a href="../../110/oregan.html">Flickr and Perl</a>
) and
<a href="../../112/lg_tips.html#tips.4">My tip in #112</a>
has a script I use to get a Netscape bookmarks-compatible version of
all the links I have in del.icio.us.
</blockQuote>
<blockQuote>
<IMG SRC="../../gx/dennis/bbub.gif" ALT="(!)"
	HEIGHT="28" WIDTH="50" BORDER="0"
	> [Brian] 
I have another little script, a three liner that drops me down into the
current year's working directory in my web space, pops a firefox window
pointing at <b>http://localhost/xxx/xxx/blah.php</b>, and fires up bluefish
with the most recently edited page in the window.
</blockQuote>
<blockQuote>
I have a number of scripts dedicated to setting up ssh tunnelling for
<a href="http://www.realvnc.com">VNC</a>
connections to windows desktops at my last-but-two employer out in
CA, where I still consult from time to time, and it's much easier to
answer Netscrape or LookOut questions when they can SHOW me instead of
trying to describe things over the phone.
</blockQuote>

<font color="#000066"><blockquote><IMG SRC="../../gx/dennis/bbub.gif" ALT="(!)"
	HEIGHT="28" WIDTH="50" BORDER="0"
	> [Heather] For being able to show someone _else_ that VNC session,
<a href="http://vncsnapshot.sourceforge.net/">VNC snapshot</a>
over at sourceforge looks nice...
</blockquote></font>
<blockQuote>
<IMG SRC="../../gx/dennis/bbub.gif" ALT="(!)"
	HEIGHT="28" WIDTH="50" BORDER="0"
	> [Brian] 
I have lots of little scripts for rsyncing chunks of my local machine to
other places, for web publishing, for backup, for sharing data.
</blockQuote>
<blockQuote>
I need to spend more time being efficient, writing still more tools to
do my work for me.
</blockQuote>
<blockQuote>
<IMG SRC="../../gx/dennis/bbub.gif" ALT="(!)"
	HEIGHT="28" WIDTH="50" BORDER="0"
	> [Jimmy] 
Same here. I'm finding more and more that it pays to take a step outside
myself and really pay attention to what I'm doing, then use this function:
</blockQuote>
<blockQuote><CODE>
histdump()</TT> { history $(($1 + 1))|head -n $1|awk '{print $2}'&gt;sh-$(date +"%b%d-%H:%M"); }
</CODE></blockQuote>
<blockQuote>
<IMG SRC="../../gx/dennis/bbub.gif" ALT="(!)"
	HEIGHT="28" WIDTH="50" BORDER="0"
	> [Raj] 
One thing I use heavily is Emacs. It has a number of nifty modes which
make life much organized for a programmer.  I will list  a few
especially good ones
</blockQuote>
<blockQuote><DL><DT>
emacs-PlannerMode:
<DD><A HREF="http://sacha.free.net.ph/notebook/wiki/PlannerMode.php#sec1"
	>http://sacha.free.net.ph/notebook/wiki/PlannerMode.php#sec1</A>
</DL></blockQuote>
<blockQuote>
PlannerMode is an organizer and day planner for Emacs. It helps you keep
track of your pending and completed tasks, daily schedule, dates to remember,
notes and inspirations.
</blockQuote>
<blockQuote>
emacs-outline-mode:
very useful if you are writing an outline for an
article or just taking notes. (I find wiki-mode more user friendly, see
below)
</blockQuote>
<blockQuote>
<IMG SRC="../../gx/dennis/bbub.gif" ALT="(!)"
	HEIGHT="28" WIDTH="50" BORDER="0"
	> [Jimmy] 
I'm familiar with it :)
(<A HREF="../../108/oregan.html"
	>http://linuxgazette.net/108/oregan.html</A>)
</blockQuote>
<blockQuote>
<IMG SRC="../../gx/dennis/bbub.gif" ALT="(!)"
	HEIGHT="28" WIDTH="50" BORDER="0"
	> [Raj] 
emacs-wiki-mode:
This is a Emacs mode for maintaining a local Wiki.
Though I use it for making outlines of articles and keeping notes during
meetings.  The main idea is that you write using plain text, but it is
rendered on emacs as html. (emacs-wiki-mode comes with emacs-planner-mode)
</blockQuote>
<blockQuote>
Instead of having a personal blog to keep a track of
personal-todos/inspirations etc. , I use a wiki:
<A HREF="http://rajshekhar.net/wiki"
	>http://rajshekhar.net/wiki</A>
</blockQuote>
<blockQuote>
<IMG SRC="../../gx/dennis/bbub.gif" ALT="(!)"
	HEIGHT="28" WIDTH="50" BORDER="0"
	> [Jimmy] 
Ah. There's something worth mentioning. You all know and love Heather's
SysadMoin (<A HREF="http://www.starshine.org/SysadMoin"
	>http://www.starshine.org/SysadMoin</A>), right?
</blockQuote>
<blockQuote>
Yeah, wikis are brilliant. You can even get them for your desktop now
(<A HREF="http://www.beatniksoftware.com/tomboy"
	>http://www.beatniksoftware.com/tomboy</A>)
</blockQuote>
<blockQuote>
<IMG SRC="../../gx/dennis/bbub.gif" ALT="(!)"
	HEIGHT="28" WIDTH="50" BORDER="0"
	> [Heather] 
The great thing about
<a href="http://moinmoin.wikiwikiweb.de/">MoinMoin</a>
is, it supports access control lists,
so it can be public and private spaces at the same time.
</blockQuote>
<blockQuote>
Yeah, pardon my dust over there at SysadMoin, it's only available inside
our LAN at the moment while I'm preparing an upgrade.  Not moin's fault - I
had a hard disk go <EM>crunch</EM> - most annoying - geez, it's a good thing I make
regular backups.  A few merges, oh, I have to re-do my dark theme too...
</blockQuote>
<blockQuote>
Ahhhhh, backups.  If there's one "hack" I've taken back
out of the computer world into my real life, it's making sure to have
backups.  Backup plans, backup copies of contact info, someone to backup
for me if that old problem about not being able to be in two places at
once strikes home.  Save early, save often, save extras.
</blockQuote>
<blockQuote>
Over in #moin on freenode, where I have been hanging out a lot lately,
there's one fellow (deitarion) who's cleaning up not only a lifetime
of loose notes but also organizing and commenting on a number of files
he's gathered over time, using MoinMoin Desktop Edition, in other words,
a wiki <EM>designed</EM> to be personal:
<A HREF="http://moinmoin.wikiwikiweb.de/DesktopEdition"
	>http://moinmoin.wikiwikiweb.de/DesktopEdition</A>
</blockQuote>
<blockQuote>
He seems to have saved a bunch of space already and be working on some
search engine tricks for it, combining it with
<a href="http://www.nongnu.org/gtktalog/">GTKtalog</a>
(commandline fans may prefer
<a href="http://www2.gvsu.edu/~swietonm/index.html">SwissDB</a>
)
and planning on a local web proxy to manage his external bookmarks.
He's working on saving enough space and/or being clear enough on what's
his, to have this help his emigration from his current distro to Gentoo.
</blockQuote>
<blockQuote>
<IMG SRC="../../gx/dennis/bbub.gif" ALT="(!)"
	HEIGHT="28" WIDTH="50" BORDER="0"
	> [Jimmy] 
One of the best tips I saw is one from JWZ. He keeps an <TT>/etc/setup</TT>
script, and every time he does anything from the root account, copies
and pastes it into the script, and comments it saying why, before
copying it to his other machines, so he can have every machine set up to
exactly the same state whenever needed.
</blockQuote>
<blockQuote>
<IMG SRC="../../gx/dennis/bbub.gif" ALT="(!)"
	HEIGHT="28" WIDTH="50" BORDER="0"
	> [Heather] 
Jim (the Answer Guy) and I both keep a README file for each of our
machines, either in <TT>/etc</TT> or in <TT>/</TT> (I like to hardlink them together;
keeping <TT>/etc</TT> on a seperate partition from <TT>/</TT> is rare and creepy, but a
symlink would do nicely - hardlinks, though, protect it from being
deleted by the fs if one of the links is removed).
</blockQuote>
<blockQuote>
This file datestamps any interesting changes we do to a machine,
possibly including script bits, fstab tweaks, etc.  Reading it <EM>should</EM>
be enough to figure out how to spin up another machine just like this
one even without the box itself.
</blockQuote>
<blockQuote>
I also keep one of these in each complete chroot area I set up, since I
treat them like whole machines.  Which brings me to the next Lifehack :)
For chroot'd environments that aren't just the single app, I change its
<TT>/etc/hostname</TT> to something that clarifies what it is (past examples
include "rescue", "minideb", "dev-potato", "memoryalpha" for my trek
stuff), and I change the part in the root user's setup (<TT>/root/.bashrc</TT>)
so that instead of asking for hostname:
</blockQuote>

<blockquote><pre>export PS1='\h:\w\$ '
</pre></blockquote>
<blockQuote>
...it uses the contents of the hostname file:
</blockQuote>

<blockquote><pre>export PS1="-=[ `cat /etc/hostname` ]=- \w\$ "
</pre></blockquote>
<blockQuote>
Note the doublequotes - if you use single quotes, the command to cat the
file is going to be used every time, and you don't really change a
chroot's hostname all the time, do you?  (I certainly don't.)
</blockQuote>
<blockQuote>
Since my chroot'd prompt also looks different, even without colorization
tricks that I use on my terminals, I can easily tell that I'm in the
chroot, and which one I'm in.   So nice when I'm ssh'd in and using a
screen session heavily.
</blockQuote>
<blockQuote>
If you haven't heard of
<a href="http://www.gnu.org/software/screen/">screen</a>
then for goodness' sake get it.  Job control
is nice, but this gives whole windows with real terminals, so the
<EM>human</EM> can multitask too;  things that you might want to background can
be run in another window where they think they have foreground;  it can
be told to log one of its windows (great when a compile or some other
scripted thing is about to spout lots of text you want to read later, or
grep through); with some rather careful permission settings it can even
be used in multi-user mode, so you can show a junior admin, your kid
sister, or a linux newbie you're helping spin up to speed, the exact
things that you're doing.  With screen you don't need X and vnc unless
you need graphics :)
</blockQuote>
<blockQuote>
<IMG SRC="../../gx/dennis/bbub.gif" ALT="(!)"
	HEIGHT="28" WIDTH="50" BORDER="0"
	> [Jimmy] 
Hey Raj, you've been holding out!
<A HREF="http://del.icio.us/lunatech/lifehacks"
	>http://del.icio.us/lunatech/lifehacks</A> has the kind of stuff I was
looking for and you know it! :-P
</blockQuote>
<blockQuote>
<IMG SRC="../../gx/dennis/bbub.gif" ALT="(!)"
	HEIGHT="28" WIDTH="50" BORDER="0"
	> [Raj] 
I never thought anyone else (who is a geek/programmer) would find those
useful. I had collected them from manager-type fellows
<IMG SRC="../../gx/dennis/smily.gif" ALT=" :-) " 
		height="24" width="20" align="middle"> . You might
find these useful too
- <A HREF="http://del.icio.us/tag/cli"
	>http://del.icio.us/tag/cli</A>
- <A HREF="http://del.icio.us/lunatech/hacks"
	>http://del.icio.us/lunatech/hacks</A>
</blockQuote>
<blockQuote>
<IMG SRC="../../gx/dennis/bbub.gif" ALT="(!)"
	HEIGHT="28" WIDTH="50" BORDER="0"
	> [Jimmy] 
What, geeks don't have to deal with managers anymore?
</blockQuote>
<blockQuote>
I really liked the "Hack Yourself" link
(<A HREF="http://www.bloodletters.com/hackyourself.shtml"
	>http://www.bloodletters.com/hackyourself.shtml</A>)
</blockQuote>

<TABLE WIDTH="95%" BORDER="1" BGCOLOR="#FFFFCC"><TR><TD>
<p align="center">...............</p>
<blockQuote>
You don't exist.
</blockQuote>
<blockQuote>
You just think you do.
</blockQuote>
<blockQuote>
We're nothing but the stories we tell ourselves. We know in our hearts what
kind of people we are, what we're capable of, because we've told ourselves
what kind of people we are. You're a carefully-rehearsed list of weaknesses
and strengths you've told yourself you have.
</blockQuote>
<blockQuote>
(Self-confidence, for example, is a particularly nebulous quality you can
easily talk yourself out of having.)
</blockQuote>
<blockQuote>
You owe no allegiance to that self-image if it harms you. If you don't like
the story your life has become -- tell yourself a better one.
</blockQuote><p align="center">...............</p>
</TD></TR></TABLE>
<blockQuote>
The lifehacks tag is a good one to keep an eye on:
<A HREF="http://del.icio.us/tag/lifehacks"
	>http://del.icio.us/tag/lifehacks</A> (or even
<A HREF="http://del.icio.us/tag/lifehacks+gtd"
	>http://del.icio.us/tag/lifehacks+gtd</A>)
</blockQuote>
<blockQuote><DL><DT>
Since lifehacks is pretty much just self-improvement geekified:
<DD><A HREF="http://c2.com/cgi/wiki?SelfImprovementPatternsRoadMap"
	>http://c2.com/cgi/wiki?SelfImprovementPatternsRoadMap</A>
</DL></blockQuote>
<blockQuote>
"How to Make a Complete Map of Every Thought you Think"
(<A HREF="http://speakeasy.org/~lion/nb"
	>http://speakeasy.org/~lion/nb</A>) is a braindump book about how to keep a
paper version of a wiki.
</blockQuote>
<blockQuote>
<IMG SRC="../../gx/dennis/bbub.gif" ALT="(!)"
	HEIGHT="28" WIDTH="50" BORDER="0"
	> [Heather] 
I think John Walker's "The Hacker's Diet" counts as his own lifehack:
<A HREF="http://www.fourmilab.ch/hackdiet/www/hackdiet.html"
	>http://www.fourmilab.ch/hackdiet/www/hackdiet.html</A>
</blockQuote>
<blockQuote>
<IMG SRC="../../gx/dennis/bbub.gif" ALT="(!)"
	HEIGHT="28" WIDTH="50" BORDER="0"
	> [Brian] 
THANK YOU, Jimmy, for bringing this one up!
</blockQuote>
<blockQuote>
<IMG SRC="../../gx/dennis/bbub.gif" ALT="(!)"
	HEIGHT="28" WIDTH="50" BORDER="0"
	> [Jimmy] 
You're welcome :)
</blockQuote>

<!-- end 1 -->
<hr>
<p><CENTER><Font face="Helvetica"><STRONG>
This page edited and maintained by the Editors of <I>Linux Gazette</I>
<br>HTML script maintained by
        <A HREF="mailto:star@starshine.org">Heather Stern</a> of
        Starshine Technical Services,
<A HREF="http://www.starshine.org/">http://www.starshine.org/</A></STRONG></Font></CENTER></p>
<hr>

<div id="articlefooter">
<p>
Each TAG thread <a href="http://linuxgazette.net/copying.html"
        >Copyright &copy;</a> its authors, 2005
</p>
<p>
Published in issue 113 of <I>Linux Gazette</I> April 2005
</p>
</div>


<div id="previousnextbottom">
<A HREF="../lg_tips.html" >&lt;-- 2c Tips</A> 
| <A HREF="../lg_answer.html">TAG Index</a>
| <A HREF="1.html">1</a> 
| <a href="../../tag/kb.html">Knowledge Base</a>
| <A HREF="../lg_bytes.html" >News Bytes --&gt;</A>
</div>
</div>

<div id="navigation">
<a href="../../index.html">Home</a>
<a href="../../faq/index.html">FAQ</a>
<a href="../../lg_index.html">Site Map</a>
<a href="../../mirrors.html">Mirrors</a>
<a href="../../mirrors.html">Translations</a>
<a href="http://linuxgazette.net/search.html">Search</a>
<a href="../../archives.html">Archives</a>
<a href="../../authors/index.html">Authors</a>
<a href="../../contact.html">Contact Us</a>
</div>

<div id="breadcrumbs">
<a href="../../index.html">Home</a> &gt; 
<a href="../index.html">April 2005 (113)</a> &gt; 
<a href="../lg_answer.html">The Answer Gang</a> &gt; 
Thread
</div>

<img src="../../gx/2003/sit3-shine.7-2.gif" id="tux" alt="Tux"/>

</body>
</html>