Skip to content

Instantly share code, notes, and snippets.

View igable's full-sized avatar

Ian Gable igable

  • Stardog
  • Victoria, Canada
View GitHub Profile
[igable@elephant ~]$ repoman modify-image bbrA52-2-cvmfs --name bbrA52-2-cvmfs.gz
Updating image bbrA52-2-cvmfs with metadata:
name: bbrA52-2-cvmfs
Updating metadata.
Metadata modification complete.
[igable@elephant ~]$
[igable@elephant ~]$
[igable@elephant ~]$ repoman list-images
Images for user igable:
bbrA52-2-cvmfs
[igable@elephant ~]$ repoman describe-image bbrA52-2-cvmfs
uploaded: Mon Dec 20 21:20:38 2010
read_only: False
uuid: fde63f6a0c7e11e09df70024e846fbc8
name: bbrA52-2-cvmfs
unauthenticated_access: True
checksum: {u'type': None, u'value': None}
os_variant: scientificlinux5_5
[igable@elephant vmrepo]$ repoman describe-image bbrA52-2-cvmfs
uploaded: Mon Dec 20 19:19:36 2010
read_only: False
uuid: 153879640c6e11e098b20024e846fbc8
name: bbrA52-2-cvmfs
unauthenticated_access: True
checksum: {u'type': None, u'value': None}
os_variant: scientificlinux5_5
sabadoo:repoman igable$ ec2-get-console-output i-98edc1f5
i-98edc1f5
2010-12-09T18:20:43+0000
[ 0.000000] Linux version 2.6.18-xenU-ec2-v1.0 (root@domU-12-31-39-00-49-B3) (gcc version 4.0.2 20051125 (Red Hat 4.0.2-8)) #2 SMP Tue Feb 19 10:51:53 EST 2008
[ 0.000000] BIOS-provided physical RAM map:
[ 0.000000] Xen: 0000000000000000 - 000000006d400000 (usable)
[ 0.000000] 1020MB HIGHMEM available.
[ 0.000000] 727MB LOWMEM available.
[ 0.000000] NX (Execute Disable) protection: active
[ 0.000000] Allocating PCI resources starting at 70000000 (gap: 6d400000:92c00000)
@igable
igable / gist:722440
Created November 30, 2010 21:28
wriitng optparse help
#!/usr/bin/python
#
#
#
# This script watches a TeX file for changes and then runs the
# latex compiler rubber is the file has changed. It then pop open
# the mac pdf viewer Preview.
#
#
@igable
igable / gist:716141
Created November 26, 2010 01:06
Extra conf steps for repoman on Ubuntu
ubuntu@domU-12-31-39-14-F9-6A:/etc/apache2$ sudo a2enmod ssl
Enabling module ssl.
See /usr/share/doc/apache2.2-common/README.Debian.gz on how to configure SSL and create self-signed certificates.
Run '/etc/init.d/apache2 restart' to activate new configuration!
ubuntu@domU-12-31-39-14-F9-6A:/etc/init.d$ sudo apt-get install libapache2-mod-wsgi
ubuntu@domU-12-31-39-14-F9-6A:/etc/init.d$ sudo a2enmod wsgi