insults If set, sudo will insult users when they enter an incorrect password. This flag is off by default.
insults If set, sudo will insult users when they enter an incorrect password. This flag is off by default.
Posted by stechert on July 14, 2007 at 02:18 PM in Read | Permalink | Comments (0) | TrackBack (0)
Reblog
(0)
| | Digg This
| Save to del.icio.us
|
| |
Technorati Tags: Flickr
Posted by stechert on May 08, 2007 at 12:58 PM in Experience | Permalink | Comments (0) | TrackBack (0)
Reblog
(0)
| | Digg This
| Save to del.icio.us
|
| |
If you have MacPorts installed, try this:
sudo port install bash-completion source /opt/local/etc/bash_completion
There is so much yumminess here that it's hard to know where to begin. Directory commands like pushd
will now tab-complete only to directories, user commands like usermod
now only complete to usernames, gunzip
completes only to files that end in .gz, unalias
completes only with current aliases, kill
completes with a list of pids, etc., etc., etc. The only danger here is wearing out your tab key.
Obviously, you want to put this in your ~/.profile. Also, since the file takes advantage of features in the latest versions of bash, you may want to sudo port install bash
, add /opt/local/bin/bash
to /etc/shells
, and chsh
.
Technorati Tags: OSX, Programming, MacPorts
Posted by stechert on May 01, 2007 at 06:19 PM in Experience | Permalink | Comments (0) | TrackBack (0)
Reblog
(0)
| | Digg This
| Save to del.icio.us
|
| |
Posted by stechert on April 30, 2007 at 07:58 PM in Experience | Permalink | Comments (0) | TrackBack (0)
Reblog
(0)
| | Digg This
| Save to del.icio.us
|
| |
Probably old humor to many, new to me:
stechert@kirin:~/Repositories/perforce/current/UnixBuild/swig [1140] $ otool -h _splunkswig.so _splunkswig.so: Mach header magic cputype cpusubtype filetype ncmds sizeofcmds flags 0xfeedface 7 3 8 16 2264 0x0001a085
Makes me think we missed an opportunity with our magic:
stechert@kirin:~/Scratch/bproblem [1157] $ od -N 7 -a 1143222000-1143220421-21680121.tsidx 0000000 S p l u n k 3
Technorati Tags: humor, Programming
Posted by stechert on April 19, 2007 at 07:23 PM in Create | Permalink | Comments (0) | TrackBack (0)
Reblog
(0)
| | Digg This
| Save to del.icio.us
|
| |
It was nice knowing you, 2006, how colorful you were.
Now, on to reckoning with 2007. Now hear this:
Finally, some small predictions, because I can't resist:
Technorati Tags: 2006
Posted by stechert on January 02, 2007 at 05:55 AM in Experience | Permalink | Comments (0) | TrackBack (0)
Reblog
(0)
| | Digg This
| Save to del.icio.us
|
| |
#include <stdio.h> #include <sys/types.h> #include <sys/sysctl.h> int main() { int retval, mib[4]; struct kinfo_proc kp; size_t len; len = sizeof(kp); mib[0] = CTL_KERN; mib[1] = KERN_PROC; mib[2] = KERN_PROC_PID; mib[3] = getpid(); retval = sysctl(mib, 4, &kp, &len, NULL, 0); if (retval == -1) return 1; if (len <= 0) return 2; printf("%u\n", kp.kp_eproc.e_pcred.p_svuid); return 0; }
Posted by stechert on October 03, 2006 at 06:08 PM in Create | Permalink | Comments (0) | TrackBack (0)
Reblog
(0)
| | Digg This
| Save to del.icio.us
|
| |
Posted by stechert on September 27, 2006 at 12:55 AM in Read | Permalink | Comments (0) | TrackBack (0)
Reblog
(0)
| | Digg This
| Save to del.icio.us
|
| |
I just finished reading "The Facebook Book" by my friend Karel Baloun. It's a tasty blend of like-you-were-there-vignette, easy-going-humor, a hint of salty-engineer, with a large slathering of starry-eyed-startup-wanderlust.
The two-minute summary: at the end of reading it, you literally feel like you worked at the faceboook for the couple of years prior. You know the inside jokes, you know the nicknames, and you know the history of the software, the way the company was built and funded, and, e.g., how darn similar the facebook seems to a lot of other startups that don't achieve anywhere near its success (Game room with an Xbox? Where have i seen THAT movie before? Fancy chairs and on-the-company-caffeine?). Karel captures more than a few salient observations about what the team had to do to stay focused and get the product out the door. E.g., when they had 2.5 million registered members and over a billion pageviews a month, they were still making all site changes as root. Without version control. Yes, you read that right. That's worth thinking about the next time you find yourself in a bickering match about version control for your nobody-even-uses-it-yet website/product (*clears throat, looks askance*). For you Splunkers out there -- for the record, facebook uses Subversion and TRAC. Another thing is the scary drink-the-koolaid level of single-minded focus the company has. As an engineer, page 39's simple recipe for how to get a great application built is worth the ten bucks. And so on.
My favorite sentence in the book, from the chapter "Giving users what they want": "Facebook gives users what they want, which for college students is information about their friends and school mates, for the purpose of, well, um, sex." Perspicacious, indeed! Recommended.
Technorati Tags: facebook
Posted by stechert on September 16, 2006 at 03:10 AM in Read | Permalink | Comments (0) | TrackBack (0)
Reblog
(0)
| | Digg This
| Save to del.icio.us
|
| |
Technorati Tags: Parallels
Posted by stechert on August 24, 2006 at 08:55 PM in Experience | Permalink | Comments (0) | TrackBack (0)
Reblog
(0)
| | Digg This
| Save to del.icio.us
|
| |