#sphinx needs this, along with some static site generators (charlesbrandt.com)
sudo pip install docutils

cd /c/mindstream
sudo python setup.py develop


sudo pip install BeautifulSoup

sudo pip install mako

pyglet

areaui

cd /c/medley
sudo python setup.py develop

(use binary distribution on Mac: http://qt-project.org/wiki/PySide_Binaries_MacOSX)
sudo pip install PySide

sudo pip install mercurial
also [2013.11.19 08:18:13]
sudo pip install hg-git

via: http://hg-git.github.io/

be sure ~/.hgrc has:
[extensions]
hgext.bookmarks =
hggit =

sudo pip install virtualenv
sudo pip install virtualenvwrapper

Install pip:
http://www.pip-installer.org/en/latest/installing.html

Summary:

download:
https://bitbucket.org/pypa/setuptools/raw/bootstrap/ez_setup.py
cd ~/Downloads
sudo python ez_setup.py

download:
https://raw.github.com/pypa/pip/master/contrib/get-pip.py
sudo python get-pip.py

cd /c/moments/
sudo python setup.py develop

not sure which steps eventually worked for netbook wireless settings.

I think this was the best looking option, and might be what I tried last:
http://askubuntu.com/questions/316072/broadcom-bcm4313-on-13-04

xubuntu broadcom BCM4313
How do I get a Broadcom BCM4313 wireless card working?

These were the other links open at the time:
https://www.google.com/search?q=asus+1015e+xubuntu+wireless+network&oq=asus+1015e+xubuntu+wireless+network&aqs=chrome..69i57.10054j0j1&sourceid=chrome&espv=210&es_sm=91&ie=UTF-8#es_sm=91&espv=210&q=asus+1015e+wireless+network+linux&start=10
http://askubuntu.com/questions/tagged/asus?sort=active&pagesize=50
http://support.asus.com/Troubleshooting/detail.aspx?SLanguage=en&p=20&m=Eee%20PC%201015E&s=1&hashedid=n/a&os=&no=1006
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1221067
http://askubuntu.com/questions/337708/asus-q400a-wireless-drivers
http://ubuntuforums.org/showthread.php?t=1368699
https://www.google.com/search?q=asus+1015e+ubuntu+broadcom&oq=asus+1015e+ubuntu+broadcom&aqs=chrome..69i57.15513j0j1&sourceid=chrome&espv=210&es_sm=91&ie=UTF-8
http://askubuntu.com/questions/350049/bcm-4313-issue-with-asus-1015e-brcmsmac-ubuntu-13-04
http://pastebin.com/f6ptr2DD
https://www.google.com/search?q=xubuntu+broadcom+BCM4313&oq=xubuntu+broadcom+BCM4313&aqs=chrome..69i57.13054j0j1&sourceid=chrome&espv=210&es_sm=91&ie=UTF-8
http://ubuntuforums.org/showthread.php?t=2131289
http://askubuntu.com/questions/127633/how-do-i-get-a-broadcom-bcm4313-wireless-card-working
http://askubuntu.com/questions/55868/how-to-install-broadcom-wireless-drivers
http://askubuntu.com/questions/316072/broadcom-bcm4313-on-13-04







I don't think changing the bios had any effect:
https://www.google.com/search?q=asus+1015E+change+harddrive&oq=asus+1015E+change+harddrive&aqs=chrome..69i57.8189j0j1&sourceid=chrome&espvd=210&es_sm=91&ie=UTF-8#es_sm=91&q=asus+1015E+upgrade+harddrive
http://liliputing.com/2013/05/asus-1015e-low-cost-mini-notebook-review.html
https://www.google.com/search?q=asus+1015E+tear+down&oq=asus+1015E+tear+down&aqs=chrome..69i57.6091j0j1&sourceid=chrome&espvd=210&es_sm=91&ie=UTF-8#es_sm=91&q=asus+1015E+teardown&spell=1
http://www.youtube.com/watch?v=9cTX1ztaEZ8
http://www.youtube.com/watch?v=Llgwsev_zfA
https://www.google.com/search?q=asus1015E+bios+key&oq=asus1015E+bios+key&aqs=chrome..69i57.5372j0j1&sourceid=chrome&espv=210&es_sm=91&ie=UTF-8#es_sm=91&espv=210&q=asus+1015E+bios+key&spell=1
http://support.asus.com/Troubleshooting/detail.aspx?SLanguage=en&p=20&m=Eee%20PC%201015E&s=1&hashedid=n/a&os=&no=1718


sudo parted -a optimal /dev/sdb print
Model: WD My Passport 0748 (scsi)
Disk /dev/sdb: 2000GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos

Number Start End Size Type File system Flags
1 1049kB 2000GB 2000GB primary ntfs

For each active instance of emacs:

open up the file called instances.txt
make a new entry
(keywords describing what you're doing with the files that are open)
press M-x jp (journal print open file paths)
save it

also check the launch.sh script for that context
describe the workspace state
and make sure everything open is noted there.

close emacs (repeat for any other emacs open)

previously [2009.01.15 16:00:43]

If on a machine with multiple workspaces or desktops,
it's probably easiest to update the todo list for that machine
to reflect each desktop's current task.

Now that desktops can be ordered, that order should reflect todo list priority.

Alternatively for a machine with multiple workspaces,
manually note which workspaces are open in a new journal entry:
[now] instances [system]
1:
2:
3:
4:
5:
6:
7:
[etc]


https://www.eff.org/deeplinks/2012/10/privacy-ubuntu-1210-amazon-ads-and-data-leaks



#Location of your local Context instance:
export USBPATH=/media/disk

#If you're *not* on a live instance, you can download everything
#locally instead, saving space on your USB device:
export USBPATH=/c

export VERSION=12.04
export PREVIOUS=11.10

#If this is a new version, backup previous startup notes:
cp $USBPATH/technical/system/ubuntu.txt $USBPATH/technical/system/ubuntu-$PREVIOUS.txt


export ARCHIVEPATH=$USBPATH/downloads/ubuntu/$VERSION
#create a new directory for archives:
sudo mkdir -p $ARCHIVEPATH
#sudo chmod -R 777 /c

cd $ARCHIVEPATH
#start with a fresh copy of sources.list (will update later)
cp /etc/apt/sources.list $ARCHIVEPATH/sources.list

#be sure to clean up any updates that have already been downloaded previously
ls /var/cache/apt/archives/
#shouldn't have anything with clean system:
#mkdir updates-existing
#sudo mv /var/cache/apt/archives/*.deb updates-existing/


#You need to check that a universe mirror is listed in your /etc/apt/sources.list file.
#Open Ubuntu Software Centre, then on the top system bar select Edit and then select Software Sources. Next tick the boxes next to universe & multiverse, enter your password and click okay.

sudo apt-get update

#moving desktop config here... for xubuntu need an update to xfce:
Change Desktop background / wallpaper.


#This downloads everything for local/later use.
#To perform the actual installation, see startup.sh

#get base system updates
#(do not do this first on a live instance)
sudo apt-get upgrade -y -d
mkdir updates
sudo mv /var/cache/apt/archives/*.deb updates/
#to apply immediately
#sudo dpkg -i updates/*.deb
#check for any problems... if so:
#sudo apt-get -f install
#mkdir updates2
#sudo mv /var/cache/apt/archives/*.deb updates2/


sudo apt-get install -y -d python2.7-dev python2.7-dbg python-imaging python-docutils python-numpy python-setuptools python-nose python-reportlab python-mako python-rsvg mercurial python-pyaudio
mkdir python
sudo mv /var/cache/apt/archives/*.deb python/

#pyaudio (python 2.7, i386)
#http://people.csail.mit.edu/hubert/pyaudio/
#wget http://people.csail.mit.edu/hubert/pyaudio/packages/python-#pyaudio_0.2.6-1_i386.deb
#mv *.deb python

sudo apt-get install -y -d libjpeg-progs libgif4 tofrodos jhead
mkdir libraries
sudo mv /var/cache/apt/archives/*.deb libraries

#wget http://www.sentex.net/~mwandel/jhead/jhead
#sudo cp jhead /usr/bin

#to apply immediately
#sudo dpkg -i python/*.deb
#sudo dpkg -i libraries/*.deb

#while online, might be good to update pyglet (if mercurial is available):
hg clone https://pyglet.googlecode.com/hg/ $USBPATH/pyglet/


#If on a system with multiple operating systems, but you don't want
#ubuntu to be the default operating system, install startup manager:
sudo apt-get install -y -d startupmanager
mkdir startupmanager
sudo mv /var/cache/apt/archives/*.deb startupmanager
#remember to run startup manager after installation and choose the correct operating system


#now is a good time to run startup.sh



https://www.eff.org/deeplinks/2012/10/privacy-ubuntu-1210-amazon-ads-and-data-leaks
(shouldn't be an issue with xubuntu)



#Location of your local Context instance:
export USBPATH=/media/disk

export VERSION=12.10x
export PREVIOUS=12.04

#If this is a new version, backup previous startup notes:
cp $USBPATH/technical/system/ubuntu.txt $USBPATH/technical/system/ubuntu-$PREVIOUS.txt

#If you're *not* on a live instance, you can download everything
#locally instead, saving space on your USB device:
sudo mkdir /c
sudo chmod 777 /c
export USBPATH=/c

export ARCHIVEPATH=$USBPATH/downloads/ubuntu/$VERSION
#create a new directory for archives:
sudo mkdir -p $ARCHIVEPATH
#sudo chmod -R 777 /c

cd $ARCHIVEPATH


#get base system updates
#(do not do this first on a live instance)

Change Desktop background / wallpaper.
#moving desktop config here... for xubuntu need an update to xfce:
#http://www.webupd8.org/2012/11/how-to-use-multiple-monitors-in-xubuntu.html
sudo add-apt-repository ppa:xubuntu-dev/xfce-4.12
sudo apt-get update
sudo apt-get upgrade

#clean up any updates that have been downloaded
ls /var/cache/apt/archives/
mkdir updates
sudo mv /var/cache/apt/archives/*.deb updates/
#if previously downloaded but not applied, apply now:
#sudo dpkg -i updates/*.deb
#check for any problems... if so:
#sudo apt-get -f install



#Check that a universe mirror is listed in your /etc/apt/sources.list file.
#Open Ubuntu Software Centre, then on the top system bar select Edit and then select Ubuntu Software (default tab). Next tick the boxes next to universe & multiverse, enter your password and click okay.


#This downloads everything for local/later use.
#To perform the actual installation, see startup.sh

sudo apt-get install -y -d python2.7-dev python2.7-dbg python-imaging python-docutils python-numpy python-setuptools python-nose python-reportlab python-mako python-rsvg mercurial python-pyaudio
mkdir python
sudo mv /var/cache/apt/archives/*.deb python/

#pyaudio (python 2.7, i386)
#http://people.csail.mit.edu/hubert/pyaudio/
#wget http://people.csail.mit.edu/hubert/pyaudio/packages/python-#pyaudio_0.2.6-1_i386.deb
#mv *.deb python

sudo apt-get install -y -d libjpeg-progs libgif4 tofrodos jhead
mkdir libraries
sudo mv /var/cache/apt/archives/*.deb libraries

#wget http://www.sentex.net/~mwandel/jhead/jhead
#sudo cp jhead /usr/bin

#to apply immediately
#sudo dpkg -i python/*.deb
#sudo dpkg -i libraries/*.deb

#while online, might be good to update pyglet (if mercurial is available):
hg clone https://pyglet.googlecode.com/hg/ $USBPATH/pyglet/


#If on a system with multiple operating systems, but you don't want
#ubuntu to be the default operating system, install startup manager:
sudo apt-get install -y -d startupmanager
mkdir startupmanager
sudo mv /var/cache/apt/archives/*.deb startupmanager
#remember to run startup manager after installation and choose the correct operating system


#now is a good time to run startup.sh



https://www.eff.org/deeplinks/2012/10/privacy-ubuntu-1210-amazon-ads-and-data-leaks
(shouldn't be an issue with xubuntu)



#Location of your local Context instance:
export USBPATH=/media/disk

export VERSION=13.04x
export PREVIOUS=12.10x

#If this is a new version, backup previous startup notes:
cp $USBPATH/technical/system/ubuntu.txt $USBPATH/technical/system/ubuntu-$PREVIOUS.txt

#If you're *not* on a live instance, you can download everything
#locally instead, saving space on your USB device:
sudo mkdir /c
sudo chmod 777 /c
export USBPATH=/c

export ARCHIVEPATH=$USBPATH/downloads/ubuntu/$VERSION
#create a new directory for archives:
sudo mkdir -p $ARCHIVEPATH
#sudo chmod -R 777 /c

cd $ARCHIVEPATH



Change Desktop background / wallpaper.
#moving desktop config here... for xubuntu need an update to xfce:
#http://www.webupd8.org/2012/11/how-to-use-multiple-monitors-in-xubuntu.html
#sudo add-apt-repository ppa:xubuntu-dev/xfce-4.12
sudo apt-get update
sudo apt-get upgrade


#get base system updates
#(do not do this first on a live instance)

#clean up any updates that have been downloaded
ls /var/cache/apt/archives/
mkdir updates
sudo mv /var/cache/apt/archives/*.deb updates/
#if previously downloaded but not applied, apply now:
#sudo dpkg -i updates/*.deb
#check for any problems... if so:
#sudo apt-get -f install



#Check that a universe mirror is listed in your /etc/apt/sources.list file.
#Open Ubuntu Software Centre, then on the top system bar select Edit->Software Sources and then select Ubuntu Software (default tab). Next tick the boxes next to universe & multiverse, enter your password and click okay.
#have been enabled by default on xubuntu after enabling third party plugins during installation


#This downloads everything for local/later use.
#To perform the actual installation, see startup.sh

sudo apt-get install -y -d python2.7-dev python2.7-dbg python-imaging python-docutils python-setuptools python-nose python-reportlab python-mako python-rsvg mercurial python-pyaudio python-pip
mkdir python
sudo mv /var/cache/apt/archives/*.deb python/

sudo apt-get install -y -d libjpeg-progs libgif4 tofrodos jhead
mkdir libraries
sudo mv /var/cache/apt/archives/*.deb libraries

#wget http://www.sentex.net/~mwandel/jhead/jhead
#sudo cp jhead /usr/bin

#to apply immediately
#sudo dpkg -i python/*.deb
#sudo dpkg -i libraries/*.deb

#while online, might be good to update pyglet (if mercurial is available):
hg clone https://pyglet.googlecode.com/hg/ $USBPATH/pyglet/


#If on a system with multiple operating systems, but you don't want
#ubuntu to be the default operating system, install startup manager:
sudo apt-get install -y -d startupmanager
mkdir startupmanager
sudo mv /var/cache/apt/archives/*.deb startupmanager
#remember to run startup manager after installation and choose the correct operating system


#now is a good time to run startup.sh



http://www.howtogeek.com/howto/15037/use-an-ubuntu-live-cd-to-securely-wipe-your-pcs-hard-drive/

sudo apt-get install wipe

#make sure to get the right drive:
sudo fdisk -l
mount

sudo wipe /dev/sdb2
sudo wipe /dev/sdb1





/c/technical/instances.txt
/c/technical/system/browsers.txt
/c/technical/system/startup-extended.sh
/c/technical/system/startup.sh
/c/technical/system/ubuntu.txt
/c/technical/system/ubuntu-extended.txt

on os x 10.8 (10.7+) they've eliminated formatting drive as "Mac OS Extended" (non-journaled).

Linux cannot write to HFS+ Journal, so must diable Journal:
To get around this:

You must partition it journaled; then select the partition in Disk Utility's sidebar, press the Option key before selecting File from the menubar, and you'll see a Disable Journaling option.

https://discussions.apple.com/thread/3232454?start=0&tstart=0




but sometimes the hardware does fail
and in that case, check if the product is still under warranty
most drives have a 3 year warranty, and many drives fail within that time, if they're going to fail.


in the past have used:
Get Data Back
software on Windows (usually seems to be NTFS filesystems that go bad most often)

can't seem to find notes on this process

hopefully your backup processes are good enough that if a drive fails, or if the filesystem becomes corrupt enough, that you can easily just recover from backup, rather than try to repair the disk.

But it happens... that data that isn't quite important enough to worry about, but is worth a little effort to try to recover.

sudo easy_install reportlab

sudo easy_install mako

sudo easy_install sphinx

sudo easy_install beautifulsoup

if freetype2 support in PIL is important to you, get that now too

might try Pillow this time around...
see if it's any easier

sudo easy_install pillow

test with:
python
import PIL

(may need to update a few scripts to use "import PIL" instead of "import Image"









consider browser configurations:
browsers.txt

Download and compile the latest libjpeg library: (be sure Xcode is set up first)

http://www.ijg.org

export VERSION=8d
#curl http://www.ijg.org/files/jpegsrc.v6b.tar.gz > /tmp/libjpeg.tar.gz
#curl http://www.ijg.org/files/jpegsrc.v8a.tar.gz > /tmp/libjpeg.tar.gz
curl http://www.ijg.org/files/jpegsrc.v$VERSION.tar.gz > ~/Downloads/libjpeg.tar.gz

tar -xzvf ~/Downloads/libjpeg.tar.gz
cd jpeg-$VERSION
./configure

sudo make install

cd ../
sudo rm -rf jpeg-$VERSION



PIL (Pillow)
=============

The Python Imaging Library is a tricky beast to get set up on systems where it is not included by default.

If you plan to make more than one system account, consider setting up a default account first to use to propigate (blank) settings. See:
default_account.txt

clone any other personal repositories as needed

hg clone /media/CONTEXT/mindstream /c/mindstream

cd /c/moments
sudo python setup.py develop

cd /c/mindstream
sudo python setup.py develop

Set good place for first few terminals to open (where emacs lines up)

also [2010.04.19 15:52:25]
open two terminals
Window->Save Windows as Group
default window group
select "use window group when Terminal starts"



be sure to check in and sync any changes you've made to this document on the USB before cloning locally.

cd /path/to/USB
hg stat
hg ci -m "changes to mac os x configuration notes"
cd /c/technical/
hg pull /path/to/USB
hg update

System Preferences -> Security & Privacy:
Allow applications downloaded from:
Anywhere
or
Ctrl-Click -> Open
to bypass Gatekeeper and Signed Applications

Space have been merged with Mission Control (option-up or F3)
to add a new Space, open Mission Control, then hover in the upper right corner to see a "+" to add a new space
http://mattgemmell.com/2011/07/27/using-spaces-on-os-x-lion/

System Preferences -> Keyboard:
disable Ctrl-arrows to navigate between spaces in Mission Control.
this interferes with Emacs
Option-arrows is a better choice (and doesn't appear to have any conflicts)

these days macs no longer come with optical media for os installations
I believe the system is smart enough to download and install a fresh instance for you, should you wipe the system clean.

but to be safe, it's always good to take an image of the machine at different stages of installation
that way you can always revert back to an original state.

other options:

sudo parted -a optimal /dev/sdb mklabel mac
sudo parted -a optimal /dev/sdb mklabel msdos #is this Master Boot Record?

sudo parted -a optimal /dev/sdb mkpart primary NTFS 20.5kB 2000GB
Warning: The resulting partition is not properly aligned for best performance.
Ignore/Cancel? C


examples:

formatted with mac os X: (GUID Partition Table)
---------------------------------------------------
sudo parted -a optimal /dev/sdb print
Model: SAMSUNG HD204UI (scsi)
Disk /dev/sdb: 2000GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt

Number Start End Size File system Name Flags
1 20.5kB 210MB 210MB fat32 EFI System Partition boot
2 210MB 2000GB 2000GB hfs+ Untitled

looking into Advanced Format drives
wdc.com/advformat

they recommend parted (2.2 and up) instead of fdisk:
parted -v

#this starts in an interactive mode similar to fdisk:
sudo parted -a optimal /dev/sdb


#can also supply commands via command line:

sudo ls #prime sudo

sudo parted -a optimal /dev/sdb mklabel gpt
sudo parted -a optimal /dev/sdb print

sudo parted -a optimal /dev/sdb rm 1
sudo parted -a optimal /dev/sdb rm 2

sudo parted -a optimal /dev/sdb mkpart primary NTFS 1MB 2000GB
sudo mkfs.ntfs -L DATA -f /dev/sdb1

or
sudo parted -a optimal /dev/sdb mkpart primary hfs 1MB 2000GB
format on mac

or
sudo parted -a optimal /dev/sdb mkpart primary ext4 1MB 2000GB
sudo mkfs.ext4 -L backups /dev/sdb1

or
sudo mkfs.vfat -n UBUNTU /dev/sdb1
format USB drive


be sure to label the drive externally
when it was first initialized
what file system
capacity (in case it's not clear from the drive)

/c/technical/instances.txt
/c/technical/system/firefox.txt
/c/technical/system/chrome.txt
/c/technical/system/startup-extended.sh
/c/technical/system/ubuntu-extended.txt
/c/technical/system/startup.sh
/c/technical/system/ubuntu.txt

---------------
Once you have a fresh instance of Ubuntu running, it is time to install a few critical applications. The goal is to get to the point of logging moments offline, minimally.

It is best to perform the following steps on a *live* instance, just incase you install something you didn't mean to.

There are some general system settings that are good to take care of first:

Configure gedit to insert a date, timestamp in the correct format (from moments/editors/gedit.txt)

Gedit ships with a plug-in that is enabled by default for inserting the date and time.
This functionality can be found under:
Edit->Insert Date and Time...

Edit->Preferences->Plugins->Insert Date/Time->Configure Plugin
To conform to the moments date/timestamp, use a custom format as follows:


------------------------------
Once you have a fresh instance of Ubuntu running, it is time to install a few critical applications. The goal is to get to the point of logging moments offline, minimally.

It is best to perform the following steps on a *live* instance, just incase you install something you didn't mean to.

There are some general system settings that are good to take care of first:

Configure gedit to insert a date, timestamp in the correct format (from moments/editors/gedit.txt)

Gedit ships with a plug-in that is enabled by default for inserting the date and time.
This functionality can be found under:
Edit->Insert Date and Time...

Edit->Preferences->Plugins->Insert Date/Time->Configure Plugin
To conform to the moments date/timestamp, use a custom format as follows:


/c/technical/instances.txt
/c/technical/system/startup-extended.sh
/c/technical/system/ubuntu-extended.txt
/c/technical/system/startup.sh
/c/technical/system/ubuntu.txt

wow...
text edit really does work without having installed emacs, or any other packages besides base ubuntu and python settings

many many windows open... time to clean up:

Cocoa:

http://www.google.com/search?client=firefox-a&rls=org.mozilla%3Aen-US%3Aofficial&channel=s&hl=en&source=hp&biw=989&bih=547&q=qtmovieview&btnG=Google+Search#q=qtmovie+example&hl=en&client=firefox-a&rls=org.mozilla:en-US:official&channel=s&biw=989&bih=547&prmd=ivnsfd&ei=We5iTbWSHIL7lwf37OSGDA&start=20&sa=N&bav=on.1,or.&fp=9d851c902103f4cb
qtmovie example - Google Search
http://www.mactech.com/articles/mactech/Vol.21/21.07/QTForCocoaKitIII/
Developing Applications with the QuickTime for Cocoa Kit
http://developer.apple.com/library/mac/navigation/
Mac OS X Reference Library
http://developer.apple.com/library/mac/#documentation/Cocoa/Conceptual/ObjCTutorial/01Introduction/01Introduction.html#//apple_ref/doc/uid/TP40000863
Cocoa Application Tutorial: Introduction to Cocoa Application Tutorial
http://developer.apple.com/library/mac/#referencelibrary/GettingStarted/Learning_Objective-C_A_Primer/index.html#//apple_ref/doc/uid/TP40007594
Learning Objective-C: A Primer
http://developer.apple.com/library/mac/#documentation/Cocoa/Conceptual/QTKitApplicationTutorial/BuildingaSimpleMediaPlayerApplication/BuildingaSimpleMediaPlayerApplication.html#//apple_ref/doc/uid/TP40008155-CH3-SW8
QTKit Application Tutorial: Creating a Simple QTKit Media Player Application
http://developer.apple.com/library/mac/#samplecode/Movie_Overlay/Listings/ReadMe_txt.html
Movie Overlay: ReadMe.txt
http://www.mactech.com/articles/mactech/Vol.21/21.05/QuickTimeForCocoaKit/
Developing Applications With The QuickTime For Cocoa Kit
http://developer.apple.com/quicktime/qtkit.html
Using the QTKit Framework
http://developer.apple.com/library/mac/#documentation/QuickTime/Reference/QTKitFramework/Classes/QTMovie_Class/Reference/Reference.html
QTMovie Class Reference
http://www.cocoadev.com/index.pl?QTMovie
CocoaDev: QTMovie
http://forums.macrumors.com/showthread.php?t=610531
Playing movies with QTMovieView - MacRumors Forums
http://macscripter.net/viewtopic.php?id=34149
MacScripter / QTMovieVIew
http://developer.apple.com/library/mac/#documentation/QuickTime/Reference/QTKitFramework/Classes/QTMovieView_Class/Reference/Reference.html
QTMovieView Class Reference

Bindings:
http://www.google.com/search?client=firefox-a&rls=org.mozilla%3Aen-US%3Aofficial&channel=s&hl=en&source=hp&q=objective+C+quictime+video+playback+example&btnG=Google+Search#hl=en&client=firefox-a&hs=txn&rls=org.mozilla:en-US:official&channel=s&&sa=X&ei=5dfFTNakBIGglAfF6MEH&ved=0CBMQvwUoAQ&q=objective+C+quicktime+video+playback+example&spell=1&fp=1&cad=b
objective c quicktime video playback example - Google Search
http://developer.apple.com/devcenter/ios/index.action
iOS Dev Center - Apple Developer
https://developer.apple.com/devcenter/ios/index.action#downloads
iOS Dev Center - Apple Developer
http://developer.apple.com/library/mac/#documentation/MacOSX/Conceptual/OSX_Technology_Overview/About/About.html#//apple_ref/doc/uid/TP40001067-CH204-TPXREF101
Mac OS X Technology Overview: Introduction to Mac OS X Technology Overview
http://developer.apple.com/library/mac/#documentation/MacOSX/Conceptual/OSX_Technology_Overview/GraphicsTechnologies/GraphicsTechnologies.html#//apple_ref/doc/uid/TP40001067-CH273-SW1
Mac OS X Technology Overview: Graphics and Multimedia Technologies
http://developer.apple.com/library/mac/#documentation/GraphicsImaging/Conceptual/OpenGL-MacProgGuide/opengl_intro/opengl_intro.html#//apple_ref/doc/uid/TP40001987
OpenGL Programming Guide for Mac OS X: About OpenGL for Mac OS X
http://developer.apple.com/library/mac/#documentation/GraphicsImaging/Conceptual/OpenGL-MacProgGuide/opengl_fullscreen/opengl_cgl.html#//apple_ref/doc/uid/TP40001987-CH210-SW6
OpenGL Programming Guide for Mac OS X: Drawing to the Full Screen
http://developer.apple.com/library/mac/#documentation/Cocoa/Conceptual/CocoaFundamentals/WhatIsCocoa/WhatIsCocoa.html#//apple_ref/doc/uid/TP40002974-CH3-SW16
Cocoa Fundamentals Guide: What Is Cocoa?
http://developer.apple.com/library/mac/#documentation/Cocoa/Conceptual/RubyPythonCocoa/Introduction/Introduction.html#//apple_ref/doc/uid/TP40004936
Ruby and Python Programming Topics for Mac OS X: Introduction to Ruby and Python Programming Topics for Mac OS X
http://developer.apple.com/library/mac/#documentation/Cocoa/Conceptual/ObjectiveC/Introduction/introObjectiveC.html#//apple_ref/doc/uid/TP30001163
The Objective-C Programming Language: Introduction to The Objective-C Programming Language
http://developer.apple.com/library/mac/#documentation/Cocoa/Conceptual/QTKitApplicationTutorial/BuildingaSimpleMediaPlayerApplication/BuildingaSimpleMediaPlayerApplication.html#//apple_ref/doc/uid/TP40008155-CH3-SW8
QTKit Application Tutorial: Creating a Simple QTKit Media Player Application
http://developer.apple.com/library/mac/#documentation/Cocoa/Conceptual/QTKitApplicationProgrammingGuide/AnatomyoftheQTKFramework/AnatomyoftheQTKFramework.html#//apple_ref/doc/uid/TP40008156-CH109-SW15
QTKit Application Programming Guide: QTKit Architecture
http://developer.apple.com/library/mac/#documentation/QuickTime/Reference/QTCocoaObjCKit/_index.html#//apple_ref/doc/uid/TP40001164
QTKit Framework Reference
http://developer.apple.com/library/ios/#documentation/cocoa/Conceptual/LoadingResources/ImageSoundResources/ImageSoundResources.html
Resource Programming Guide: Image, Sound, and Video Resources
http://developer.apple.com/library/ios/#documentation/cocoa/Conceptual/LoadingResources/CocoaNibs/CocoaNibs.html#//apple_ref/doc/uid/10000051i-CH4-SW8
Resource Programming Guide: Nib Files
http://www.google.com/search?q=Cocoa+Bindings&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:en-US:official&client=firefox-a
cocoa bindings - Google Search
http://developer.apple.com/library/mac/#documentation/Cocoa/Conceptual/CocoaBindings/CocoaBindings.html
Cocoa Bindings Programming Topics: Introduction to Cocoa Bindings Programming Topics
http://developer.apple.com/library/mac/#documentation/Cocoa/Conceptual/CocoaBindings/Concepts/WhatAreBindings.html
Cocoa Bindings Programming Topics: What Are Cocoa Bindings?

pyobjc
http://www.google.com/search?q=pyobjc&hl=en&client=firefox-a&rls=org.mozilla%3Aen-US%3Aofficial&channel=s&prmdo=1&num=10&lr=&ft=i&cr=&safe=images&tbs=,qdr:y
pyobjc - Google Search
http://stackoverflow.com/questions/426607/pyobjc-vs-rubycocoa-for-mac-development-which-is-more-mature
python - PyObjc vs RubyCocoa for Mac development: Which is more mature? - Stack Overflow
http://developer.apple.com/cocoa/pyobjc.html
Using PyObjC for Developing Cocoa Applications with Python
http://pyobjc.sourceforge.net/
PyObjC - A python<->Objective-C Bridge
http://pyobjc.sourceforge.net/index.html
PyObjC - A python<->Objective-C Bridge
http://sourceforge.net/mailarchive/forum.php?thread_name=C973F8F7-CCB4-44CC-A5F6-C2CE48D01541%40mac.com&forum_name=pyobjc-dev
SourceForge.net: PyObjC: pyobjc-dev
http://pyobjc.sourceforge.net/examples/index.html
PyObjC Examples
http://pyobjc.sourceforge.net/examples/pyobjc-framework-Cocoa/index.html
Examples for Cocoa
http://pyobjc.sourceforge.net/examples/pyobjc-framework-InstantMessage/index.html
Examples for InstantMessage
http://pyobjc.sourceforge.net/examples/pyobjc-framework-ScreenSaver/index.html
Examples for ScreenSaver
http://pyobjc.sourceforge.net/examples/pyobjc-framework-ScreenSaver/SillyBallsSaver/index.html
SillyBallsSaver
http://www.google.com/search?q=pyobjc+iboutlet&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:en-US:official&client=firefox-a
pyobjc iboutlet - Google Search


PyGui:
http://www.cosc.canterbury.ac.nz/greg.ewing/python_gui/
PyGUI
http://www.cosc.canterbury.ac.nz/greg.ewing/python_gui/version/Doc/index.html
PyGUI
http://www.cosc.canterbury.ac.nz/greg.ewing/python_gui/version/Doc/Window.html
Window
http://www.cosc.canterbury.ac.nz/greg.ewing/python_gui/version/Doc/ownership.html
PyGUI - Overview
http://www.cosc.canterbury.ac.nz/greg.ewing/python_gui/screenshots.html
PyGUI - Screenshots
http://www.cosc.canterbury.ac.nz/greg.ewing/python_gui/CHANGES.txt
http://www.cosc.canterbury.ac.nz/greg.ewing/python_gui/CHANGES.txt
http://pyopengl.sourceforge.net/
PyOpenGL -- The Python OpenGL Binding
http://pyopengl.sourceforge.net/documentation/installation.html
Installing (and Building) PyOpenGL
http://pypi.python.org/pypi/PyOpenGL
Python Package Index : PyOpenGL 3.0.1
http://www.google.com/search?q=pyopengl+mac&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:en-US:official&client=firefox-a
pyopengl mac - Google Search

Quicktime examples:
http://developer.apple.com/library/ios/#documentation/mediaplayer/reference/MPMoviePlayerController_Class/MPMoviePlayerController/MPMoviePlayerController.html
MPMoviePlayerController Class Reference
http://www.java2s.com/Open-Source/Python/Development/PyObjC/trunk/pyobjc/pyobjc-framework-QTKit/PyObjCTest/CatalogPyObjCTest.htm
 » Development » PyObjC » trunk » pyobjc » pyobjc-framework-QTKit » PyObjCTest » Python Open Source
http://www.koders.com/python/fidD7ACFBAF9996D0E5AC4F0BF08803CB68BF0A35E7.aspx?s=cdef%3Asniffer
Koders Code Search: video.py - Python - GPL
http://orestis.gr/blog/2008/05/17/pyobjc-hello-world/
PyObjC Hello World : orestis.gr
http://orestis.gr/tags/cocoa/
orestis.gr
http://developer.apple.com/library/mac/#releasenotes/ScriptingAutomation/RN-AppleScriptObjC/index.html
AppleScriptObjC Release Notes
http://psykinematix.kybervision.net/
Psykinematix: Visual Psychophysics Made Easy on Mac OS X
http://www.google.com/search?q=qtkit+media+player+command+line&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:en-US:official&client=firefox-a#sclient=psy&hl=en&client=firefox-a&hs=yqB&rls=org.mozilla:en-US%3Aofficial&source=hp&q=qtkit%20command%20line&aq=0v&aqi=g-v1&aql=f&oq=qtkit+command+line&pbx=1&fp=1&pf=p&pdl=1000&cad=b
qtkit command line - Google Search
http://lists.apple.com/archives/QuickTime-API/2007/Aug/msg00105.html
Re: QTKit from a command-line app

cocoa without interface builder:
http://www.google.com/search?client=firefox-a&rls=org.mozilla%3Aen-US%3Aofficial&channel=s&hl=en&source=hp&biw=989&bih=547&q=cocoa+without+interface+builder&btnG=Google+Search
cocoa without interface builder - Google Search
http://stackoverflow.com/questions/717442/how-do-i-create-cocoa-interfaces-without-interface-builder
objective c - How do I create Cocoa interfaces without Interface Builder? - Stack Overflow
http://vimeo.com/3363949
Building iPhone Applications without Interface Builder on Vimeo
http://lists.apple.com/archives/Cocoa-dev/2009/Aug/msg01259.html
Re: How to create an interface without interface builder
http://www.google.com/search?q=cocoa+windows+and+views&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:en-US:official&client=firefox-a
cocoa windows and views - Google Search
http://developer.apple.com/library/mac/#documentation/Cocoa/Conceptual/ObjCTutorial/05View/05View.html
Cocoa Application Tutorial: Defining the View: Building the User Interface
http://www.google.com/search?q=cocoa+NSWindow&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:en-US:official&client=firefox-a
cocoa nswindow - Google Search
http://developer.apple.com/library/mac/#documentation/Cocoa/Reference/ApplicationKit/Classes/NSWindow_Class/Reference/Reference.html
NSWindow Class Reference

Eventually you'll probably want to use XCode when developing applications on the Mac and writing Objective C code.

XCode has templates to help you get started. The above minimal approach is helpful to learn about what those templates are configuring behind the scenes.

This is also a good overview of Xcode:
http://developer.apple.com/tools/xcode/xcodeprojects.html


When writing code in C or Objective C, you can compile basic code with gcc. The C tutorial above describes this.

This page also describes the basics for a Cocoa / Objective C application that compiles with gcc:
http://cocoawithlove.com/2010/09/minimalist-cocoa-programming.html


It's a good idea to understand the basics of C and Objective C.

Here is a simple tutorial for C:
http://cocoadevcentral.com/articles/000081.php

From the same site, here is a good tutorial for Objective C:
http://cocoadevcentral.com/d/learn_objectivec/

Objective C is a superset of the C programming language.

Cocoa is a framework for building applications on the Mac OS X platform.

PyObjC wraps calls to Objective C from Python, exposing that functionality within Python.

xcode 3.2 no longer ships pyobjc project templates

to get them:

ls /Developer/Library/Xcode/Project\ Templates/Application/

svn co http://svn.red-bean.com/pyobjc/trunk/pyobjc/pyobjc-xcode/Project%20Templates/ /Developer/Library/Xcode/Project\ Templates/PyObjC\ Application/

also [2011.02.14 11:27:03]
this will allow you to open projects, but the rename in the templates won't work.


svn co http://svn.red-bean.com/pyobjc/trunk/pyobjc/pyobjc-xcode/Project%20Templates/Cocoa-Python%20Document-based%20Application/ /Developer/Library/Xcode/Project\ Templates/Application/Cocoa-Python\ NSDocument\ based\ Application

http://stackoverflow.com/questions/1382252/xcode-3-2-ruby-and-python-templates



t (toggle)
af (HFS / HFS+)

format on Mac OS X using Disk Utility
Volume Format: Mac OS Extended
don't forget to change permissions for writing on linux:
sudo chmod -R 777 /media/external


when wanting to make calls for Cocoa from Python,

consider the Cocoa and Objective C calls first
make it work with Objective C and Xcode first

once it is working there, it should be easy(er) to wrap those calls with something like PyObjC... but until then, that might just get in the way. Need to define what it is that you want to do first.


unmount any drives that are attached.
unplug cables

/c/technical/system/upgrade.txt
/c/scripts/system/ubuntu-personal.txt
/c/technical/system/ubuntu.txt
/c/technical/system/shutdown.txt

upgrading a system,

should follow all instructions in shutdown.txt
(up to actually turning computer off)

Binary data should be elsewhere. If not, export that now.
ls /c/binaries-local
ls /c/out-backups


move personal data to a separate location

be sure that all personal data and settings are backed up.
Settings should be backed up in the form of notes and install procedures.
Once a structure is in place that is used, everything should be in that structure, and nothing unnecessary should be in it.

(currently under /c)



if backing things up to an NTFS drive, it might be better to make a tar file of everything so that permissions are preserved correctly (otherwise scripts get reset as not executable... a hassle)

sudo tar -zcvf /media/charles/DRIVE/20130514-old_macbook-c.tgz /c



creating a bootable USB:
will need to do this before starting fresh. On Ubuntu, there is usb-creator built in...
you can use that on a standard Ubuntu machine, but XUbuntu does not run on Gnome, so usb-creator is not available for it.

Can either make the USB manually:
http://www.pendrivelinux.com/usb-xubuntu-804-persistent-install-from-linux/

or try this utility:
http://unetbootin.sourceforge.net/

sudo apt-get install unetbootin

if possible, sync mercurial
/c/moments/mercurial_sync.py

or use TortoiseHG on windows (should have minimal repositories there)
(following does not work currently: [2010.08.26 10:57:14])
c:\c\scripts\mercurial_sync.py c:\c d:\

on posix systems
note uptime
make new entry for that.

t (toggle)
7 (HPFS/NTFS)
sudo mkfs.ntfs -L DATA -f /dev/sdc1

having trouble formatting drive as HFS+ after being formatted as ext3 (again... see.. [2008.10.27 14:29]
partition type set to af already
able to format it as MS-DOS (VFAT)

need to make sure that the partition size is correct
use the "Partition" option for the disk
select "2 Partitions"
allow the 1st to be the largest size allowed by configuration (might lose a few gigabytes here)
set the second one to be free space (can be reclaimed for swap later if needed)

mkdir -p /c/downloads/python/
cd /c/downloads/python/
hg clone https://pyglet.googlecode.com/hg/ pyglet
cd pyglet
sudo python setup.py develop (or install)

get any packages that are not included by default for Python:
/c/technical/system/python-install.txt
(things like PIL, nose, etc)

rearrange notes if anything would have made it easier to edit these instructions on your new system sooner.

install moments

hg clone http://bitbucket.org/cbrandt/moments /c/moments
#or use a local copy
#hg clone /Volumes/CONTEXT/moments /c/moments

cd
ln -s /c/moments/editors/emacs/.emacs .emacs
ln -s /c/moments/editors/emacs/.emacs.d .emacs.d
ln -s /c/moments/editors/vi/.exrc .exrc

mkdir /c/outgoing

open up your text editor

make a common directory for all User Accounts to use for shared information on the system. I like to use /c :

sudo mkdir /c
cd /c
sudo chmod 777 .

create new clones of any personal mercurial repositories.
hg clone /media/CONTEXT/technical /c/technical

cd
cp /c/technical/.bashrc .bash_profile
source .bash_profile

change location for weather on dashboard






Breathe. :)

Download the main applications you need.
This is a good chance to get updated versions of everything

Make sure wireless network is enabled and connected.
Register your computer if your network requires it.

Change Desktop Background
(Ctl-Click on desktop for option)
For Default I prefer Solid Gray Dark... can always customize later in other instances.

Go through and answer the standard questions for Setup. These should be self explanatory.

reboot.
jump. jump. jump.

phowa. release consciousness to buddha mind.

I can never find an easy way to do this on the rare occasions that I need to do this.
maybe I can rediscover the different ways and keep track of them here.

http://www.google.com/search?client=firefox-a&rls=org.mozilla%3Aen-US%3Aofficial&channel=s&hl=en&source=hp&q=mac+dos+2+unix&btnG=Google+Search
mac dos 2 unix - Google Search
http://www.macosxhints.com/article.php?story=20031018164326986
Convert end-of-line characters (revisited) - Mac OS X Hints
https://ccrma.stanford.edu/~craig/utility/flip/
ASCII text converstion between UNIX, Macintosh, MS-DOS


System Preferences -> Sound
uncheck play user interface sound effects
turn down alert volume

System Preferences -> Dock
Automatically hide and show the Dock

when a disk cannot be ejected due to a process having an open file,
can use:
lsof | grep [disk path part]

to find the process

update to the latest xcode
this provides compilers needed for other installations from source code
https://developer.apple.com/xcode/

also [2009.12.15 16:01:14] xcode
3.2.1 only works with 10.6
3.1.4 is the last one that works with leopard 10.5

also [2012.08.10 21:51:56]
http://stackoverflow.com/questions/9353444/how-to-use-install-gcc-on-mac-os-x-10-8-xcode-4-4
Starting with Xcode 4.3 - you must now manually install command line tools from Xcode menu > Preferences > Downloads.


if easy_install is not available, (which easy_install)
be sure to set up easy_install for the new python instance
this can be done by running
ez_setup.py
available at:
http://peak.telecommunity.com/dist/ez_setup.py

curl http://peak.telecommunity.com/dist/ez_setup.py > ez_setup.py

http://www.google.com/search?hl=en&client=firefox-a&channel=s&rls=org.mozilla%3Aen-US%3Aofficial&hs=ODd&q=jhead&btnG=Search
jhead - Google Search
http://www.sentex.net/~mwandel/jhead/
Exif Jpeg header manipulation tool

download and move prebuilt binary for osx to /usr/local/bin
sudo mv ~/Downloads/jhead /usr/local/bin
sudo chmod +x /usr/local/bin/jhead


consider making swap space on the drive if there is ever a chance that it will be the only drive in a live system
(if formatting with ext3, there is a good chance of that)
much easier to spare a few gigs now, than try to create it later.

delete
new
primary
1
write

#then make the new filesystem
sudo mkfs.ext3 -L data /dev/sda1

create a link from /Volumes to /media to be more compatible with linux scripts:
sudo ln -s /Volumes /media

nosetests
http://somethingaboutorange.com/mrl/projects/nose/
sudo easy_install nose

change Preferences for Terminal
Under Settings
Use Pro, make it Default, and then make sure Pro is used for:
On startup, open: New window with settings: Pro

Making the profile Default will ensure that it applies to new tabs as well.

move any downloaded files to your new Context
cd
mkdir -p /c/downloads/macosx
ls ~/Desktop
ls ~/Downloads
mv ~/Downloads/* /c/downloads/macosx/

and backup to USB for future use:
rsync -av /c/downloads $USBPATH/downloads/

apply any other personal settings to your system




http://emacsformacosx.com
download and install

also [2012.10.02 19:52:48]
use homebrew to install aspell
http://mxcl.github.com/homebrew/
ruby -e "$(curl -fsSkL raw.github.com/mxcl/homebrew/go)"

brew install aspell --lang=en

via
http://stackoverflow.com/questions/6748439/r-aspell-homebrew

http://mercurial.selenic.com/downloads/
download mercurial
install mercurial
open Terminal
which hg

Create a default .hgrc file:
vi ~/.hgrc

[ui]
username = Firstname Lastname
ui.report_untrusted = False

This can be overridden on a repository by repository basis with the file:
/.hg/hgrc


Open System Preferences
in Date & Time:
enable Set date & time automatically
choose timezone
use 24-hour clock

System Preferences -> Users & Groups:
Click the lock to make changes.
Login Options
Automatic Login: Off
Show fast user switching menu as: Icon

also [2009.06.21 10:57:11]
Disable guest account

Check for software updates
this can take a while to download

System Preferences -> Sharing
change machine name

also [2010.04.16 13:34:19]
=============================
Mac OS X Install Notes:
=============================
It's that time again. Maybe you have a brand new computer (yay!), maybe you updated the operating system, or maybe it's just time to do some spring cleaning. Either way...

Start with a fresh install of the operating system.

If this is a system with an existing and used operating system in place, I prefer to wipe the drive completely for that "fresh install" feeling. Having install move the previously installed system to "Previous Systems" does not clean everything up. If you want to keep it around, it is better to move it to an archive drive of sorts. Do that now if you haven't already.

#open terminal
#find your drive
mount

#see what is mounted:
#/dev/sdb1 on /media/backups type ext3 (rw,nosuid,nodev,uhelper=hal)
#/dev/sdc1 on /media/CHARLES type vfat (rw,nosuid,nodev,uhelper=hal,shortname=mix

#scan dmesg for drive devices that were detected:
dmesg

#set up the one you want to format:
sudo fdisk /dev/sdc

optionally, if online, check for software updates to your operating system
sometimes these are the actual trigger for a restart (shutdown)

if updates are taking too long, can restart then check for updates before launching again.

Python is included with many operating systems.

An easy way to check if your system already has Python is to open up a terminal / command prompt and type:

python -V

If your operating system does not have Python installed, please visit:
http://www.python.org
For more information on downloading and installing Python for your system.

macdrive7 looks like the software needed to mount hfs+ on windows machines.

http://www.google.com/search?client=firefox-a&rls=org.mozilla%3Aen-US%3Aofficial&channel=s&hl=en&q=windows+xp+hfs&btnG=Google+Search
windows xp hfs - Google Search
http://www.macwindows.com/disks2.html
Sharing Disks - Windows Products
http://hem.bredband.net/catacombae/hfsx.html
HFSExplorer
http://www.tomshardware.com/forum/103879-45-read-volumes-windows
How to read hfs volumes with windows xp
http://forums.macrumors.com/showthread.php?t=293781
HFS on Windows XP - Mac Forums
http://www.f.kth.se/~f96-bet/hfsutils/
HFS utilities for DOS, Windows and OS/2
http://www.mediafour.com/products/macdrive/
Mediafour | MacDrive
http://www.mediafour.com/support/macdrive/
Mediafour | MacDrive 7

consider:
python-uno - Python interface for OpenOffice.org
python-django - A high-level Python Web framework
python-twill - A simple scripting language for Web browsing

gimp-python - Python support and plugins for The GIMP
python-lame - Python bindings for LAME
python-pygame - SDL bindings for games development in Python

pyslide - Tiny but powerful program to make animated presentations


python-avahi - Python utility package for Avahi

python-profiler - deterministic profiling of any Python programs

supybot - robust and user friendly Python IRC bot

solfege - Ear training program for GNOME2
renpy - framework for developing visual-novel type games
rekall - graphical database front-end

rats - Rough Auditing Tool for Security
pyxmms-remote - command-line interface to XMMS
python-xmms - Python interface to XMMS
pythoncad - Computer Aided Drafting (CAD) program
python-yapgvb - Python bindings for Graphviz, using Boost.Python
python-xapian - Xapian search engine interface for Python
python-xen-3.1 - python bindings for Xen, a Virtual Machine Monitor
python-vobject - parse iCalendar and VCards in python
python-vipscc - image processing system good for very large images (tools)
python-urljr - Common interface to urllib2 and curl for making HTTP requests
python-tofu - high-level network game engine for Python
python-tunepimp - Python bindings for MusicBrainz tagging library
python-turbogears - Python-based web framework
python-tclink - TrustCommerce credit card processing for Python
python-tables - hierarchical database for Python based on HDF5
python-svn - A(nother) Python interface to Subversion
python-sqlite - python interface to SQLite 2
python-soya - high level 3D engine for Python
python-soya-doc - high level 3D engine for Python
python-slides - Python-based Slide Maker
python-scapy - Packet generator/sniffer and network scanner/discovery
python-pyxmpp - XMPP and Jabber implementation for Python
python-pyxmpp-doc - XMPP and Jabber implementation for Python (documentation)
python-pyxine - interface to the xine media player for Python
python-pyusb - USB interface for python
python-pyrss2gen - A Python interface for generating RSS 2.0 feeds

python-pykaraoke - free CDG/MIDI/MPEG karaoke player
python-pygraphviz - Python interface to the Graphviz graph layout and visualization package
python-pydot - Python interface to Graphviz's dot

python-prelude - Hybrid Intrusion Detection System [ Base library ]
python-preludedb - Hybrid Intrusion Detection System [ Base library ]
python-pmock - Python module for unit testing using mock objects
python-ncrypt - python wrapper for OpenSSL

python-mode - Emacs-lisp python-mode and doctest-mode for the Python language
python-ldaptor - Pure-Python library for LDAP

doxygen - Documentation system for C, C++, Java, Python and other languages
doxygen-doc - Documentation for doxygen
epydoc-doc - official documentation for the Epydoc package
python-moinmoin - Python clone of WikiWiki - library

moinmoin-common - Python clone of WikiWiki - common data
python-cddb - Python interface to CD-IDs and FreeDB
python-crypto - cryptographic algorithms and protocols for Python
python-doc - Documentation for the high-level object-oriented language Python
python-docutils - Utilities for the documentation of Python modules
python-epydoc - tool for generating Python API documentation

python-geoip - python bindings for the GeoIP IP-to-country resolver library
python-geoip-dbg - python bindings for the GeoIP IP-to-country resolver library
(debug extension)
python-imaging - Python Imaging Library
python-jabber - Python module for the Jabber instant messaging platform
python-ldap - An LDAP interface module for Python
python-mutagen - audio metadata editing library
python-mechanize - stateful programmatic web browsing
python-mysqldb - A Python interface to MySQL

python-paramiko - make SSH2 connections with python
python-reportlab - ReportLab library to create PDF documents using Python
python-eyed3 - Python module for id3-tags manipulation
python-json - a JSON (http://json.org) reader and writer in Python
python-paste - Tools for using a Web Server Gateway Interface stack
python-pastedeploy - Load, configure, and compose WSGI applications and servers
python-pastescript - serving web applications, creating file layouts for python packages
python-pastewebkit - port/reimplementation of Webware WebKit in WSGI and Paste
python-openid - OpenID support for servers and consumers
python-pymad - Python wrapper to the MPEG Audio Decoder library
python-sqlobject - python module for SQLObject

python-stats - A collection of statistical functions for Python
python-scgi - Server-side implementation of the SCGI protocol
python-quixote - A highly Pythonic Web application framework
python-quixote-doc - Quixote web application framework documentation
python-ipod - ipod library
python-id3 - Python module for id3-tags manipulation
bicyclerepair - A refactoring tool for python
ipython - enhanced interactive Python shell

eikazo - graphical frontend for SANE designed for mass-scanning
nicotine - graphical client for the SoulSeek peer-to-peer system

python-asterisk - Asterisk Manager API interface module for Python
python-aubio - python interface for aubio, a library for audio segmentation
python-audit - Python bindings for security auditing

hfsplus, formatted on mac, seems to load no problem in ubuntu
note [2008.02.15 11:11]
journaled is only read only on linux. need to make it non-journaled.

##########################
# FDISK AND MKRAID
##########################

#TODO:
#fdisk these drives for raid
#mkfs -t (same as current music) /dev/md0
#with only 3 drives in system:
#sudo mdadm --assemble /dev/md0 /dev/sdc1
sudo mdadm --assemble /dev/md0 /dev/sda1 /dev/sdd1

sudo fdisk /dev/sda
sudo fdisk /dev/sdd
#use type fd - Linux raid autodetect
#mdadm --create /dev/md0 --chunk=128 --level=1 --raid-devices=2 --spare-devices=0 /dev/hde1 /dev/hdg1

sudo mdadm -C -n 2 -l 1 -x 0 /dev/sda1 /dev/sdd1

sudo mkdir /media/data
sudo mount /dev/md0 /media/data
sudo mkreiserfs /dev/md0


To quickly access this command, type:
Alt-E, S, Enter


Change trackpad settings / mouse sensitivity

Apply any machine specific configurations as needed. (e.g. thinkpad-configure.txt)

Set clock, including time format. Enable Date and Month in menu bar.

Change Desktop background / wallpaper.

Under "System Settings"->"Screensaver", uncheck "Lock screen when screensaver is active"

Change terminal profile settings"
"Edit"->"Profile Preferences..."
Under "Colors" tab,
disable "Use colors from system theme"
just use white on black
and set the background transparency to about 85%

Create a default .hgrc file:
vi ~/.hgrc

[ui]
username = Firstname Lastname
ui.report_untrusted = False

This can be overridden on a repository by repository basis with the file:
/.hg/hgrc

if you've already downloaded packages, jump straight to:
startup.sh

Connect to a wireless network.


export VERSION=11.04
export PREVIOUS=10.04

#Location of your local Context instance:
export USBPATH=/media/disk

#If this is a new version, backup previous startup notes:
cp $USBPATH/technical/system/ubuntu.txt $USBPATH/technical/system/ubuntu-$PREVIOUS.txt

#If you're *not* on a live instance, you can download everything
#locally instead, saving space on your USB device:
export USBPATH=/c


export ARCHIVEPATH=$USBPATH/downloads/ubuntu/$VERSION
#create a new directory for archives:
sudo mkdir -p $ARCHIVEPATH

sudo chmod -R 777 /c
cd $ARCHIVEPATH
#start with a fresh copy of sources.list (will update later)
cp /etc/apt/sources.list $ARCHIVEPATH/sources.list

#be sure to clean up any updates that have already been downloaded previously
ls /var/cache/apt/archives/
#shouldn't have anything with clean system:
#mkdir updates-existing
#sudo mv /var/cache/apt/archives/*.deb updates-existing/



sudo apt-get update

#This downloads everything for local/later use.
#To perform the actual installation, see startup.sh

#get base system updates
#(do not do this first on a live instance)
sudo apt-get upgrade -y -d
mkdir updates
sudo mv /var/cache/apt/archives/*.deb updates/
#to apply immediately
#sudo dpkg -i updates/*.deb

sudo apt-get install -y -d python2.7-dev python2.7-dbg python-imaging python-docutils python-numpy python-setuptools python-pyaudio python-nose mercurial
mkdir python python-reportlab
sudo mv /var/cache/apt/archives/*.deb python/

sudo apt-get install -y -d jhead libjpeg-progs libungif4g tofrodos
mkdir libraries
sudo mv /var/cache/apt/archives/*.deb libraries

#don't forget mozilla configs... either from scratch:
#see firefox.txt then copy for future installs:
cp -r ~/.mozilla $ARCHIVEPATH/.mozilla
#or copy previous:
#cp -r $ARCHIVEPATH/.mozilla ~/.

#while online, might be good to update pyglet (if mercurial is available):
hg clone https://pyglet.googlecode.com/hg/ $USBPATH/pyglet/

#now is a good time to run startup.sh




To quickly access this command, type:
Alt-E, S, Enter


Change trackpad settings / mouse sensitivity

Apply any machine specific configurations as needed. (e.g. thinkpad-configure.txt)

Set clock, including time format. Enable Date and Month in menu bar.

Change Desktop background / wallpaper.

Under "System Settings"->"Screen", uncheck "Lock"

Change terminal profile settings"
"Edit"->"Profile Preferences..."
Under "Colors" tab,
disable "Use colors from system theme"
just use white on black
and set the background transparency to about 85%

Create a default .hgrc file:
vi ~/.hgrc

[ui]
username = Firstname Lastname
ui.report_untrusted = False

This can be overridden on a repository by repository basis with the file:
/.hg/hgrc

if you've already downloaded packages, jump straight to:
startup.sh

Connect to a wireless network.



export VERSION=11.10
export PREVIOUS=11.04

#Location of your local Context instance:
export USBPATH=/media/disk

#If this is a new version, backup previous startup notes:
cp $USBPATH/technical/system/ubuntu.txt $USBPATH/technical/system/ubuntu-$PREVIOUS.txt

#If you're *not* on a live instance, you can download everything
#locally instead, saving space on your USB device:
export USBPATH=/c


export ARCHIVEPATH=$USBPATH/downloads/ubuntu/$VERSION
#create a new directory for archives:
sudo mkdir -p $ARCHIVEPATH

sudo chmod -R 777 /c
cd $ARCHIVEPATH
#start with a fresh copy of sources.list (will update later)
cp /etc/apt/sources.list $ARCHIVEPATH/sources.list

#be sure to clean up any updates that have already been downloaded previously
ls /var/cache/apt/archives/
#shouldn't have anything with clean system:
#mkdir updates-existing
#sudo mv /var/cache/apt/archives/*.deb updates-existing/



sudo apt-get update

#This downloads everything for local/later use.
#To perform the actual installation, see startup.sh

#get base system updates
#(do not do this first on a live instance)
sudo apt-get upgrade -y -d
mkdir updates
sudo mv /var/cache/apt/archives/*.deb updates/
#to apply immediately
#sudo dpkg -i updates/*.deb
#check for any problems... if so:
#sudo apt-get -f install
#mkdir updates2
#sudo mv /var/cache/apt/archives/*.deb updates2/

sudo apt-get install -y -d python2.7-dev python2.7-dbg python-imaging python-docutils python-numpy python-setuptools python-pyaudio python-nose mercurial python-reportlab python-mako python-rsvg
mkdir python
sudo mv /var/cache/apt/archives/*.deb python/

sudo apt-get install -y -d jhead libjpeg-progs libungif4g tofrodos
mkdir libraries
sudo mv /var/cache/apt/archives/*.deb libraries

#to apply immediately
#sudo dpkg -i python/*.deb
#sudo dpkg -i libraries/*.deb

#while online, might be good to update pyglet (if mercurial is available):
hg clone https://pyglet.googlecode.com/hg/ $USBPATH/pyglet/

#don't forget mozilla configs... either from scratch:
#see firefox.txt then copy for future installs:
cp -r ~/.mozilla $ARCHIVEPATH/.mozilla
#or copy previous:
#cp -r $ARCHIVEPATH/.mozilla ~/.


#If on a system with multiple operating systems, but you don't want
#ubuntu to be the default operating system, install startup manager:
sudo apt-get install -y -d startupmanager
mkdir startupmanager
sudo mv /var/cache/apt/archives/*.deb startupmanager
#remember to run startup manager after installation and choose the correct operating system


#now is a good time to run startup.sh




To quickly access this command, type:
Alt-E, S, Enter


Change trackpad settings / mouse sensitivity

Apply any machine specific configurations that are needed to function immediately. (e.g. thinkpad-configure.txt)

Set clock, including time format. Enable Date and Month in menu bar.


if you've already downloaded packages, jump straight to:
startup.sh

Connect to a wireless network.


To quickly access this command, type:
Alt-E, S, Enter


Change trackpad settings / mouse sensitivity

Set clock, including time format. Enable Date and Month in menu bar.


if you've already downloaded packages, jump straight to:
startup.sh

Connect to a wireless network.


To quickly access this command, type:
Alt-E, S, Enter


Change trackpad settings / mouse sensitivity

Set clock, including time format. Enable Date and Month in menu bar.


if you've already downloaded packages, jump straight to:
startup.sh

Connect to a wireless network.

make sure any data stored in browser extensions (link router) is also backed up

make sure to synchronize /c