Cakephp Dev Notes

cakebin – a place to cut/paste for the irc channel

irc.freenode.net port 6777 #cakephp

http://book.cakephp.org/view/1522/Code-Generation-with-Bake

http://book.cakephp.org/view/1039/Associations-Linking-Models-Together

http://www.cakepackages.com/

http://dblog.com.au/web-development/10-helpful-cakephp-resources/

http://devmoose.com/coding/10-awesome-cakephp-tutorials

http://www.pseudocoder.com/archives/2008/02/10/cakephp-tutorials/

http://book.cakephp.org/view/1039/Associations-Linking-Models-Together

http://book.cakephp.org/view/1525/Migrations-with-CakePHP-schema-shell

http://nuts-and-bolts-of-cakephp.com/2008/05/09/cakephp-and-custom-sql/

http://cake-php.blogspot.com/2006/09/21-things-you-must-know-about-cakephp.html

http://book.cakephp.org/view/449/find

http://book.cakephp.org/view/17/Model-Extensions-Behaviors

http://book.cakephp.org/view/183/Creating-Forms

Reprap build notes

I’m buying one of the steppers needed for this project, but I’m still not sure which RepRap I want to build.

First.. a parts list. The one that comes with the project was good, but was a bit on the confusing side to me.

Going to build a wolfstrap as a bootstrap out of wood.   First step, I need a motor to prototype with and make sure mounts are all done properly  I found two sources for the NEMA-17 motors.  I also found two pages giving details on steppers for the darwin and mendel.

www.solarbotics.com for $14.28 and hvwtech.com for $14.65

Both are a bit pricey for under a $30 dollar purchase.

Here’s the specs for the electronics that have to be built.

Gavilan showed me this for the stepper (link link) and driver.   We will need 4 steppers and 3 driviers.  The extruder controller always looks to be seperate on all the builds I’ve seen.

Video of the parts list explained, and a very nice view of part of it being assembled.

Prusa Mendel – A mendel that uses bushings instead ofwith a blog.   This is the one I will be building.
There is a very detailed parts list and nice instructions on how to assemble the end product.

Mendel electronics – looking for a good cheap source for these.  Buying this kit for my electronics.

Wolfstrap:
Berlin 1st Printing
Berlin Wolfstrap

Modding my HTC Hero

Prep Research Links:
http://forum.xda-developers.com/showthread.php?t=782320
http://forum.xda-developers.com/showthread.php?t=674833
http://forum.xda-developers.com/wiki/index.php?title=CDMA_Hero_ROMs#Kernels
http://forum.xda-developers.com/showthread.php?t=782320
http://forum.xda-developers.com/forumdisplay.php?f=643

First you have to revert the hero to a version that can be rooted.  Go into the boot loader (Volume Down+Press Trackball+Power) from a power off.

Modding my Nexus One

Okay.. here are the links I used to do this. I was pretty easy but time consuming to learn.

http://theunlockr.com/2010/02/06/how-to-backup-and-restore-your-android-phone/
http://wiki.cyanogenmod.com/index.php?title=Passion:Installing_CyanogenMod
http://forum.cyanogenmod.com/files/category/2-nexus-one/
http://forum.cyanogenmod.com/topic/5285-cyanogenmod-6-for-nexus-one-fastbootoemunlockpls-v600-08272010/
http://nexusonehacks.net/nexus-one-hacks/step-by-step-guide-on-how-to-install-cyanogen-mod-rom-on-your-nexus-one/
http://theunlockr.com/?s=nexus+one
http://alldroid.org/

I had concidered getting a larger capacity battery, but read that updating to a custom rom would help more.  The batteries I was looking at were the following:

http://www.seidioonline.com/product-p/bacy32hnx1-bk.htm
http://www.seidioonline.com/category-s/4025.htm
http://www.accessorygeeks.com/htc-nexus-one-extended-battery-battdoor-2400mah.html
http://www.wirelessground.com/nexusone.html
http://www.fommy.com/accessories.asp?make=HTC&model=HTC+Nexus+One&cat=Batteries
http://www.igonemobile.com/index.aspx

Cherrypad purchase and notes

Love this thing, and works great.  Market had some issues after about 10 downloads and stopped working.  I could search, but never could get another download to start.

Rooted the cherrypad:  I followed the instructions from here and here.  I’m archiving them here in case the site disappears.

Download the Android SDK

  1. Goto: http://developer.android.com/sdk/index.html
  2. Download the appropriate version for your OS and unzip it into a new folder.

That is now your SDK folder.

Setup SDK (Windows Only)

  1. Go into your SDK folder and run the setup task.
  2. Select the USB Drivers Revision x Package and hit Install. (No other packages are required for ADB use.)
  3. Go back to the SDK folder and go into the usb_driver folder.
  4. Download android_winusb.inf and replace the android_winusb.inf in the usb_driver folder with this modified one.

Setup ADB Access (make sure SDK is setup already following all of the above steps)

  1. Make sure your cherrypad is in “USB Debugging” by going to settings -> applications -> develpment and turning on the debugging feature.  if you don’t you won’t see the cherrypad in the device manger in the next step.
  2. Connect your GenTouch78 to the computer via USB then open the Device Manager (Right click “Computer” or “My Computer” -> Select ‘Properties’ -> Select ‘Device Manager’)
  3. Right click ‘Android Eclair’ then select ‘Update Driver Software’
  4. Select ‘Browse my computer for driver software’
  5. Select ‘Browse…’ and choose the location of your SDK folder. Make sure ‘Include subfolders’ is checked then select ‘Next’
  6. I received this error saying it could not be installed. (Windows 7 64 Bit) If you do, select ‘Close’ and continue steps below. If you see a success screen(you may with 32 bit OS) skip to step 10 below to test the installation.
  7. Right click ‘Android Eclair’ then select ‘Update Driver Software’ this time choose ‘Let me pick from a list of drivers (…)’ then select ‘Next’
  8. If you have setup an ‘Android Phone’ previously, select it, select ‘Next’ then continue to Step 8 below. If you do not have that choice choose ‘Show All Devices’ select ‘Next’ then continue to Steps 8b below.
  9. Select ‘Android ADB Interface’ Then select ‘Next’
  10. Select ‘Yes’
  11. Windows should confirm successful installation. Select ‘Close’ and close out the Device Manager
  12. You can test if it was successful by opening a command window to the ‘tools’ folder in the SDK then issuing the command ‘ADB devices’ You will see this device listed with the serial number ‘0123456789ABCDEF’

Setup ADB Access – Step 8 b (only necessary if you have never setup an Android phone on your PC)

  1. Select ‘Have Disk’
  2. Select ‘Browse…’ and select the location of the “usb_driver” folder then select ‘OK’
  3. Select ‘Android ADB Interface’ then select ‘Next’
  4. Continue with Step 9 above

Here’s how you get root access:

The following process requires a fully setup SDK with ADB access to the device.
Visit the Page Setup SDK and ADB Access for information.

Getting Root Access
Use ChainsDD/xinx’s Superuser.apk/su from here: http://forum.xda-developers.com/showthread.php?t=682828
For Eclair / Froyo (Android 2.1 / 2.2)
Main Link (Thanks ChainsDD)
Mirror (Thanks TDRevolution.com)
md5: 795cdef65fb782854721ab91ae7139b7

  1. Unzip the update.zip on to your computer.
  2. Run the following from your computer (or from a terminal on your Tablet)

adb push ./system/app/Superuser.apk /system/app/
adb push ./system/xbin/su /system/xbin
adb shell rm /system/bin/su
adb shell ln -s /system/xbin/su /system/bin/su
adb shell chmod 6755 /system/xbin/su
adb shell reboot

beast 10.10 server build notes

Ubuntu 10.10 Base install:
Basics of apt-get syntax

Hardcode server ip address:
iface eth0 inet static
address
netmask
gateway

Download and install interconn for running software behind a proxy.  The instructions are easy to follow.

Packages to install:

  1. zsh
  2. subversion
  3. samba
  4. smbclient
  5. samba-doc
  6. nfs-common
  7. lrzsz
  8. mailutils
  9. synaptic = the kubuntu package updater has a bug that doesn’t allow it to become root
  10. gopchop = mpeg2 video editing without re-encoding
  11. kdenlive = nice video editing suite for kde, but does encoding after the edit
  12. mysql-server
  13. wajig, then wajig hold vpnc
  14. php5-mysql

Install Cross Over Office:
crossover-pro_9.2.0-1_i386.deb and crossover-games-demo_9.2.0-1_i386.deb

DVDFab for the occasional DVD Image:

  1. apt-get -y install wine1.2
  2. You can only use DVDFab7090.exe, since all newer versions don’t have the copy feature.  Apparently only the root user can run DVDFab for some reason.  It will work under wine or crossover office.
  3. As the user you will be ripping with run:  wine <dvdfab downloaded executable>

Handbrake – follow the instructions on the wiki, but it should say install the following:

apt-get install subversion yasm build-essential 
autoconf libtool zlib1g-dev libbz2-dev intltool libglib2.0-dev 
libdbus-glib-1-dev libgtk2.0-dev libgudev-1.0-dev 
libwebkit-dev libnotify-dev libgstreamer0.10-dev 
libgstreamer-plugins-base0.10-dev x264


svn checkout svn://svn.handbrake.fr/HandBrake/trunk hb-trunk
cd trunk
./configure --launch
cd build
make install

Create the SVN Repository:

  1. useradd -m -s /bin/zsh -c “SVN Repository” -d /home/svn svn
  2. Create the script create_repos.sh with the code provided below.
    DateAmountDescription
    Initial Purchase
    Dryer outlet installation in garage
  3. echo “/usr/bin/svnserve -d -r /home/svn” >> /etc/rc.local

Windows 7 Speed Up Tips

Use a USB device to increase the ram in the system with ReadyBoost.

Other sites with recommendations that need to be boiled down.

http://www.microsoft.com/atwork/maintenance/speed.aspx
http://www.computingunleashed.com/speed-up-windows-7-ultimate-guide-to.html
http://ezinearticles.com/?How-to-Speed-Up-Windows-7-Quickly-and-Easily&id=4233367

Reprap research dump – a place to store information

Prusa Mendel – A mendel that uses bushings instead ofwith a blog

reprap object library

thingieverse – large object repository

http://cnczone.com/

http://en.wikibooks.org/wiki/Blender_3D:_Noob_to_Pro

http://forums.reprap.org/read.php?80,12054

http://hackaday.com/2008/03/23/make-your-own-aerogel/

http://www.flemingcnc.com/isaac/docs.html

http://blog.reprap.org/

http://builders.reprap.org/

http://cgi.ebay.com/Reprap-Lathed-Aluminium-Idler-Pulley-w-Bearing-Gear-/180574678196?pt=LH_DefaultDomain_0&hash=item2a0b16ecb4

http://cgi.ebay.com/3x-Stepper-Motor-0-43-Nm-Reprap-mendrel-3D-printer-/250635703323?pt=UK_BOI_Industrial_Automation_Control_ET&hash=item3a5b0d541b

http://shop.ebay.com/?_from=R40&_trksid=p3907.m570.l1313&_nkw=reprap&_sacat=See-All-Categories

http://unitednuclear.com/index.php?main_page=product_info&cPath=16_17_69&products_id=89

https://reprap.svn.sourceforge.net/svnroot/reprap/trunk/mendel/mechanics/

http://objects.reprap.org/wiki/How_to_make_RepRap_Version_II_Mendel

http://reprap.org/wiki/Main_Page

http://hackaday.com/2009/07/22/printing-a-reprap/

http://hackaday.com/2009/08/27/reprap-wedge/

http://www.reprapcentral.com/vmchk.html

http://blog.reprap.org/2008_11_01_archive.html

http://tapplastics.com/

http://www.matbase.com/material/polymers/commodity/abs-general-purpose/properties

http://en.wikipedia.org/wiki/G-code

http://en.wikipedia.org/wiki/STL_%28file_format%29

http://en.wikipedia.org/wiki/RepRap_Project#Software

http://www.youtube.com/user/adrianbowyer

Possible Stepping Motor Suppliers:
motion king
mass industrial

imshome

ramco

teknic

hackable-devices.org