Category: linux
11/17/11 08:14 - ID#55531
All the pretty horses
All the running processes
ps aux | less
- gives you the full command or name of the process, which you can then use to create keyboard shortcuts or just kill processes with their PID numbers
- piping the ps aux to less makes the display not run amok on your screen and you can scroll the output with your keyboard
All the processes run by you
ps -u username
- drawback is it doesn't give you the full command
Grepping for particular process.
ps aux | grep screen
- simple, you pipe the ps aux through grep.
- in the example above I was trying to search for what the screenshot utility was called. The output is below:
[user@comp ~]$ ps aux | grep screen
user 1527 0.0 0.1 429476 11664 ? Sl Nov14 0:11 gnome-screensaver
user 19804 0.0 0.1 415516 12696 ? Sl 07:54 0:00 gnome-screenshot --interactive
user 20066 0.0 0.0 109112 840 pts/0 S+ 08:07 0:00 grep --color=auto screen
The bolded text is what I was searching for.
HOWTO:
How to find the internal commands of the processes/programs/applications in linux. Can use these commands to assign keyboard shortcuts. Can use process IDs to kill applications/programs
Permalink: All_the_pretty_horses.html
Words: 192
Location: Buffalo, NY
Last Modified: 12/01/11 12:03
Category: buffalo
11/16/11 09:18 - ID#55530
Buffalo General has a rooftop disco.
l stare at this building everyday and I couldn't help but notice that they added another beacon light on its rooftop. It's almost like a discotheque now.
If you can't clearly see the gaudy three lights in the super crappy picture that my phone has taken, the new light starts off as yellow, slowly turns a dark bright orange and then dims to a low green. The older two lights were red and yellow. That's quite a spectrum there.
Did they receive complaints from the pilots of random helicopters that keep zooming around the place? Or maybe they are jazzing it up for thanksgiving. Or maybe its an alien spaceship sending signals that Buffalo is safe for landing?
Permalink: Buffalo_General_has_a_rooftop_disco_.html
Words: 125
Location: Buffalo, NY
Last Modified: 11/17/11 08:57
Category: i-tech
11/16/11 08:39 - ID#55528
Arrgh. Google Bookmarks Lists
But I did. BIG mistake. Now ALL my zillion bookmarks are stuck in lists without ANY way of exporting them anywhere. The export-bookmarks function only works for bookmarks that are NOT in lists.
This is so annoying. I hate you, Google Bookmarks List makers. Haven't you ever heard of the data liberation front, your company's own sister concern????
Aaaaarrgh.
Permalink: Arrgh_Google_Bookmarks_Lists.html
Words: 80
Location: Buffalo, NY
Last Modified: 11/16/11 08:40
Category: science
11/16/11 02:12 - ID#55525
Biological Science Journals need a reality check
Tchantchaleishvili V, Schmitto JD. Preparing a scientific manuscript in Linux: Today's possibilities and limitations. BMC research notes. 2011 Oct;4(1):434+. Available from: .
The table at the very end summarizes the format in which top biological sciences journals prefer to receive submissions.
- New England Journal of Medicine(34) PDF*, DOC, WPD, TXT, RTF
- Cell(37) DOC, RTF, TXT
- The Lancet(38) DOC
- JAMA(39) DOC, WPD
- The Journal of Biological Chemistry(35) PDF***
- Circulation(40) DOC, WPD
- ===
- Nature(29) DOC, TEX**
- Science(30) DOC, TEX**, RTF*
- PloS ONE(31) DOC, TEX, RTF
- PNAS(32) DOC, RTF, TEX
- BMC Journals (33) DOC, RTF, TEX
[* Some restrictions apply]
[** TEX files must be accompanied by a PDF version of the same text for visual reference 19 ]
[*** Although manuscripts must be submitted in PDF format, Microsoft Word is recommended to prepare the manuscript text]
Look at the sheer proliferation of M$hit formats on that list. The 1st preference is always doc. Wherever PDF is accepted, M$hit is recommended to make that PDF.
Even if you want to change *they* will not let you.
Ugh.
Am I in the wrong field or what? Nevermind content, even submission guidelines are so proprietary, backwards-thinking and insular.
Permalink: Biological_Science_Journals_need_a_reality_check.html
Words: 209
Location: Buffalo, NY
Last Modified: 11/16/11 03:15
Category: linux
11/16/11 07:35 - ID#55521
Undo any last action in Linux?
If there isn't a way, is there at least a log that logs all these events so I could check it and see what was changed?
Am I missing some obvious way to do this? Ctrl-Z does not cut it.
Permalink: Undo_any_last_action_in_Linux_.html
Words: 117
Location: Buffalo, NY
Last Modified: 11/16/11 08:35
Category: buffalo
11/15/11 08:49 - ID#55520
Ikea proxy in Buffalo
And how did I know about this charming entrepreneurial story? They left no apartment building behind. I have been seeing their flyers and hearing hushed whispers about my ikea place dot com ALL over my building, and beyond today. I can even hear the lady who hangs out in the balcony in the next building (a.k.a, beyond) smoking like a chimney and talking about it.
So I had to go and check out their website and it is quite an interesting business model. You just submit your ikea orders on their website. They go all the way to Pittsburgh, do the shopping for you and bring back whatever you wanted with them. You can then go fetch whatever it is you ordered in your ikea-craze from their
What a nifty idea... I think I can definitely push my rickety cart from their warehouse to my flat. Maybe I should stop bitterly stalking the ebay seller who ditched my sale and get those LED lamps I want from our very own buffalo ikeamongers.
Permalink: Ikea_proxy_in_Buffalo.html
Words: 244
Location: Buffalo, NY
Last Modified: 11/16/11 09:05
Category: goals
11/15/11 08:32 - ID#55515
The 20 Times Tables: 18
The 18 table.
- Starting with 18
- 36
- 54
- 72
- 90
- 108
- 126
- 144
- 162
- 180 -20 + 200
- 198
- 216
- 234
- 252
- 270
- 288
- 306
- 324
- 342
- 360
Permalink: The_20_Times_Tables_18.html
Words: 17
Location: Buffalo, NY
Last Modified: 11/15/11 08:32
Category: music
11/14/11 11:14 - ID#55513
Surgical
1.42 minutes of Celldweller awesomeness
Permalink: Surgical.html
Words: 9
Location: Buffalo, NY
Last Modified: 11/14/11 11:15
Category: r statistics
11/14/11 03:09 - ID#55510
Where is R installed on Linux?
whereis R
Turns out R on linux is installed in the following directory structures:
- /usr/bin/R : this is the executable binary
- /usr/lib64/R
ls
bin COPYING etc include lib library modules NEWS NEWS.pdf SVN-REVISION
- /usr/include/R
ls
Rconfig.h Rembedded.h R.h Rinternals.h Rversion.h
Rdefines.h R_ext Rinterface.h Rmath.h S.h
- /usr/share/R
ls
encodings java library licenses locale make R sh texmf
- /usr/share/man/man1/R.1.gz : possibly the manual pages
Permalink: Where_is_R_installed_on_Linux_.html
Words: 100
Location: Buffalo, NY
Last Modified: 11/14/11 03:18
Category: goals
11/14/11 02:27 - ID#55509
The 20 times tables: 19
- Starting with 19
- 38
- 57
- 76
- 95
- 114
- 133
- 152
- 171
- 190 +190
- 209
- 228
- 247
- 266
- 285
- 304
- 323
- 342
- 361
- 380
Permalink: The_20_times_tables_19.html
Words: 36
Location: Buffalo, NY
Last Modified: 11/14/11 11:51
Author Info
Date Cloud
- 12/21
- 12/15
- 02/15
- 01/15
- 11/14
- 08/14
- 04/14
- 02/14
- 11/13
- 07/13
- 09/12
- 08/12
- 07/12
- 04/12
- 03/12
- 02/12
- 01/12
- 12/11
- 11/11
- 10/11
- 09/11
- 08/11
- 07/11
- 06/11
- 05/11
- 04/11
- 03/11
- 02/11
- 01/11
- 12/10
- 11/10
- 10/10
- 09/10
- 08/10
- 07/10
- 06/10
- 05/10
- 04/10
- 03/10
- 02/10
- 01/10
- 12/09
- 11/09
- 10/09
- 09/09
- 08/09
- 07/09
- 06/09
- 05/09
- 04/09
- 03/09
- 02/09
- 01/09
- 12/08
- 11/08
- 10/08
- 09/08
- 08/08
- 07/08
- 06/08
- 05/08
- 04/08
- 12/07
- 11/07
- 10/07
- 09/07
- 08/07
- 07/07
- 06/07
- 05/07
- 04/07
Category Cloud
More Entries
After This
My Fav Posts
- Click the heart at the bottom of anyone's blog entry to add it here ;(