2011/11/20-2012/2/6 [Computer/Companies/Apple, Computer/SW/Unix] UID:54237 Activity:nil | 11/20 Are there tools that can justify a chunk of plain ASCII text by
replacing words with words of similar meaning and inserting/removing
commas into the text? I received a 40-line plain text mail where
all the lines are justified on left and right. Every word and comma
is followed by only one space, and every period is followed by two
spaces. The guy is my kid's karate instructor which I don't think is
...
|
2008/6/6-10 [Computer/SW/OS/Windows, Computer/SW/Unix] UID:50172 Activity:nil | 6/6 Am I in alone is really hating tabbed web browsing? I cannot stand
it! If I go to a new site I like to have a new window because I
might want to see both sites at once or I might want to kill the
window entirely if it gets hung up. From my POV tabbed browsing is
not a plus.
\_ I multitask between 2-3 different things, meaning I need to
...
|
2006/10/30-11/1 [Computer/SW/Unix] UID:45041 Activity:high | 10/30 My favorite command in UNIX is "cal". What is your favorite?
\_ Nein, I vill be. A German and a Jerry, danke, und Heil! -John
\_ PARSE ERROR. Are you on drugs again John?
\_ That's just my troll farm being rambunctious. Use new
Extra Strength Troll-Gro for healthy and frisky trolls!
\_ Based on frequency of use, gonna have to go with tcsh
...
|
2006/8/6-10 [Computer/SW/Mail] UID:43922 Activity:nil | 8/5 I just want to take this fine opportunity and say, FUCK sendmail.
It is difficult to configure and its debugging facility totally
blows. I can't believe how braindead sendmail config is, not to
mention its sucky security. Fuck sendmail, use postfix instead.
I got postfix running in a jiffy and I didn't even have to go
through 800 pages of sendmail manpage. Fuck sendmail and
...
|
2006/3/24-27 [Computer/SW/Languages/Web] UID:42409 Activity:nil | 3/24 PHP masters, help. In Perl I used to be able to do the followings:
($var1,$var2,@rest)=@list_of_variables;
@partial_list=@complete_list[5..10];
Things of that nature. But in PHP I can't find this type of
syntactic sugar anywhere on the manpage to do the shortcut so I
end up doing clumsy things like
...
|
2006/1/11-13 [Computer/SW/Database] UID:41348 Activity:kinda low | 1/11 Let's say I have two sql tables, A and B that both have a column
called id. I can do "SELECT id FROM A" and "SELECT id FROM B".
How do I merge them with one query? I'd like to do something to
the effect of "SELECT DISTINCT id FROM A,B"
\_ (SELECT id FROM A) UNION DISTINCT (SELECT id FROM B) --dbushong
\_ Whoa, by default mysql is already doing DISTINCT on all the
...
|
2005/11/18-19 [Computer/SW/Languages/Perl] UID:40650 Activity:nil | 11/18 In C, argv[0] is the command that invokes the program. Is there an
equivalent in Perl? Thx.
\_ $0
I believe the perlrun manpage has all you would ever want to
know on this subject.
\_ It works. Thx.
...
|
2005/9/19-21 [Computer/SW/Unix] UID:39746 Activity:nil | 9/18 I just installed Red Hat Enterprise Linux 2.1 and everything
seems to work ok except my httpd cannot be reached outside
of the box. I have no problem pinging and sshing into the
system, but http connection would not work. However, it does
seem to work when I launch firefox within (same machine).
What could cause this? I'm not familiar with PAM and I'm
...
|
2005/5/28-31 [Computer/SW/Unix] UID:37873 Activity:nil | 5/28 What's the equivalent of >>! in bash?
\_ I'm not a bash user, but the manpage (hey, it has one!) seems to
imply >>|
\_ It seems that >> in bash works like >>! in csh?
\_ In either bash or (t)csh, you must set "noclobber" to prevent
overwriting. Perhaps you have it set it in (t)csh but
...
|
2005/3/28-30 [Computer/SW/Unix] UID:36930 Activity:moderate | 3/28 Is it possible to nfs export the same filesystem twice under two names
one read only one read-write. Perhaps with a symlink? Perhaps
mounting a partion in two different places with two different names
and exporting them seperately (one rw one ro)
(or am I begging for trouble doing something like that).
\- You can mount it in difference places, but you cant export
...
|
2005/3/2-3 [Computer/SW/Database] UID:36497 Activity:high | 3/2 Lets say you are running a website connected to a database. The
website stores all sorts of time sensative info in the database,
like order timestamps, keeping track of various states of stuff,
etc. When we go on or off daylight savings time, doesn't that totally
mess up things that deal with spans of time? How do you deal with that?
And how do you display things to the user when they happen right around
...
|
2005/2/8-9 [Computer/SW/OS/Windows, Computer/HW/Drives] UID:36099 Activity:kinda low | 2/8 I would like to destroy/wipe the data in a particular directory
of a portable linux computer without wiping the whole disk. Any
suggestions for how to do this easily?
\_ rm. If you are worried aboyt someone undeleting and
discovering your porno collection you can write a script
and overwrite each file with /dev/zero bits.
...
|
|