Git ignore windows

Note to self of git config on widows for excluding files

1) git config –global core.excludesfile ~\.gitignore
(To be sure change ~ with the actual directory)

2) Content of .gitignore for avrstudio projects

*\debug\*
*\release\*
*.tmp

Posted in Uncategorized | Leave a comment

Windows 7 Git client against Github.com

1) Use puttygen to generate a new key.
I prefere to use SSH-RSA and 4096 as the key size, it feels more secure.

2) Save the private key.
Remember one key for each machine. For security reasons do not reuse between machines. Remeber to set password on the private key.

3) Copy the generated public key to clipboard

4) Insert the public key into the github ssh public keys.
Name it as the machine.

5) Start pageant and add the private key.

6) Download and install git.
Select plink as connection method.

7) Recognize Github.com as a legal host use Putty.
Run Putty
Host name: github.com
Protocol: ssh
Open
[Kill putty]

And now you should be ready to work against github from windows. At least this worked for me.

Cheers

Leffen

Posted in git | Leave a comment

Installing ruby on BeagleBoard XM

BeagleBoardXM

I have at least got hold of a few BeagleBoard XM. My plan is to use them as a application hub using Ruby as the main development language. Today have been the big first time installation, and most of it vent quite well. And here is my initial recipe for getting Ruby 1.9.2 to work on it.

Recommended prerequisite: usb mouse, usb keyboard and a monitor with HDMI

Before boot

  • On a linux box do the following steps
  • Find latest image at http://rcn-ee.net/deb/rootfs/
    For me that where http://rcn-ee.net/deb/rootfs/oneiric/ubuntu-11.10-r0-minimal-armel.tar.xz
  • Validate image usíng md5sum: md5sum ubuntu-11.10-r0-minimal-armel.tar.xz
  • Untar: tar xJf ubuntu-11.04-r3-minimal-armel.tar.xz
  • Enter directory : cd ubuntu-11.04-r3-minimal-armel
  • Insert a MicroSD card into a card reader
  • execute : sudo ./setup_sdcard.sh –mmc /dev/sdd –uboot beagle (Change device to your config)
  • Connect a monitor with HDMI to the beagleboard.
  • Connect a power supply to the beagle board. I have found that using USB and the iPod USB power works ok. http://store.apple.com/no/product/MB707ZM/B
  • Boot the BeagleBoar, sometimes i requires several attemts before booting

After boot

All as root or sudo

  • ifconfig -a
  • dhclient eth0
  • apt-get update
  • apt-get upgrade
  • apt-get install xfce4 gdm xubuntu-gdm-theme xubuntu-artwork xserver-xorg-video-omap3 network-manager
  • apt-get install build-essential
  • apt-get install cmake cmake-gui
  • shutdown -r now
  • Login using user: ubuntu pass: temppwd
  • Start a terminal window and change password using passwd

And now for the simple stuff :

Ruby

In a terminal window do :
bash < <(curl -s https://raw.github.com/wayneeseguin/rvm/master/binscripts/rvm-installer )
or visit http://beginrescueend.com/rvm/install/

Basis for installation :
http://www.ecse.monash.edu.au/twiki/bin/view/WSRNLab/BeagleBoardConfigurationForKinect and http://www.timzaman.nl/?p=1114&lang=en

Posted in BeagleBoard, Ruby | Leave a comment

Bylan 2011 Dag 2

Posted in Photo | Tagged , , | Leave a comment