This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
""" | |
Print out the apps and clients that are inhibiting session actions like log out, user switching, suspending or idle. | |
%InsertOptionParserUsage% | |
Example: | |
track_session_inhibitors & | |
Todo: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
""" | |
The testkernel command does these things to make linux kernel testing easy: | |
looks in the indicated folder on the web | |
downloads the .deb files for the kernel of the given type | |
installs them locally | |
configures grub2 to reboot to the given kernel on the next reboot | |
TODO: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Peter Lyons' notes on installing fgdb (Free Geek Database) from the trunk: | |
git://git.freegeek.org:/git/fgdb.rb | |
Note that after running into some problems with that, we tried using the one at github which is close to version 1.0.30 of the main project, and that has been working better. | |
http://wiki.github.com/markstos/fgdb.rb/ | |
But for the record, here is the procedure we tried for the trunk version (about version 1.0.50): | |
-Installed Ubuntu Server 10.04 amd64 (Lucid) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## Climate analysis R code based on Steve McIntyre's example at | |
## http://camirror.wordpress.com/2009/11/29/replicating-the-trick-diagram/#more-130 | |
## with some fixes by Neal McBurnett. | |
## Usage: R --save < replicate_trick.r | |
## which produces an "Rplots.ps" file | |
##COMPARE ARCHIVED BRIFFA VERSION TO CLIMATEGATE VERSION# | |
#1. LOAD BRIFFA (CLIMATEGATE VERSION) | |
# archive is truncated in 1960: ftp://ftp.ncdc.noaa.gov/pub/data/paleo/treering/reconstructions/n_hem_temp/briffa2001jgr3.txt” |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
"""Convert ranked ballots from the CSV format provided by CIVS | |
(http://www.cs.cornell.edu/andru/civs.html) to the BLT format | |
used by, e.g., OpenSTV (www.openstv.org/). | |
http://code.google.com/p/stv/wiki/BLTFileFormat | |
TODO: support the popular "text" format and equal rankings via the "=" delimiter. | |
%InsertOptionParserUsage% |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# just playing | |
def self.pkg(platform, opt) | |
# short time solution <start> | |
extension = case platform | |
when "win32" then | |
"exe" | |
when "linux" then | |
"run" | |
when "osx" then | |
"dmg" |
NewerOlder