Wednesday, February 17, 2010
Does this look familiar?: ps aux|grep “YOUR_PROGRAM –WITH-SOME-SPECIAL-SWITCHES” 1000 28319 0.0 2.6 54884 47340 ? S Feb16 0:01 YOUR_PROGRAM –WITH-SOME-SPECIAL-SWITCHES 1000 28330 0.0 2.6 54880 47360 ? S Feb16 0:01 YOUR_PROGRAM –WITH-SOME-SPECIAL-SWITCHES 1000 28347 0.0 2.6 54884 47336 ? S Feb16 0:01 YOUR_PROGRAM –WITH-SOME-SPECIAL-SWITCHES kill 28319 kill 28330 kill 28347 If it does then STOP! [...]
Want a simple SQL database client? Try Emacs. Emacs has an alright sql-mode. Here’s how to use it to connect to a MySQL server. Type the meta command: M-x To connect the server, type: sql-mysql Enter username, password, host, and database name when prompted. Open a new buffer: C-x [new buffer name] Type the meta [...]
Saturday, February 10, 2007
I’m always amazed to find out what Emacs can do. I’ve read that long time users of Emacs still find commands and features they didn’t know about, even after years of use. Case in point, hexl-mode, which I recently discovered. Hexl-mode enables basic hex editing of files in Emacs. To use it, open a binary [...]