Avrdude is a command line tool for uploading to and downloading from AVR microcontrollers. It is used in the background by Arduino to upload sketches.
It’s also the tool we used to upload the bootloader to all of the atmega644p chips provided in the TVRRUG OMC electronics kits.
Here are some useful commands when using avrdude. Continue reading Useful avrdude commands
youtube-dl is a Python program which lets you download videos from sites like YouTube, vimeo and many more onto your computer. It will even download entire YouTube playlists, works across all platforms and is easy to install and use. Continue reading Save YouTube videos with youtube-dl
For a while now I’ve been getting build errors in Arduino-0023 on Ubuntu, so I took the easy way out and used Arduino-0023 on Windows because it worked. Finally I got around to investigating the issue, and thanks to Google have found a solution.
In file included from /usr/lib/gcc/avr/4.5.3/../../../avr/include/util/delay.h:44:0,
/usr/lib/gcc/avr/4.5.3/../../../avr/include/math.h:426:15: error: expected identifier or ‘(’ before ‘double’
/usr/lib/gcc/avr/4.5.3/../../../avr/include/math.h:426:15: error: expected ‘)’ before ‘>=’ token
Comment out line 79 of
<arduino installation directory>/hardware/arduino/cores/arduino/wiring.h:
//#define round(x) ((x)>=0?(long)((x)+0.5):(long)((x)-0.5))
An alternative solution wraps the
#define round(x)... line with a check for the problematic version of avr-libc:
#if __AVR_LIBC_VERSION__ < 10701UL
#define round(x) ((x)>=0?(long)((x)+0.5):(long)((x)-0.5))
Configure whether to show or hide Computer, Documents, Control Panel, Network and Recycle Bin desktop icons on Windows 7 clients using Registry Keys in Windows Server 2008 Group Policy Preferences. Continue reading Display Windows 7 Desktop Icons using Windows Server 2008 Group Policy Registry Keys
There may be times when it is useful to use an existing Group Policy Object (GPO) as a template for a GPO on another server, or perhaps you just need to perform a GPO backup and restore. Here is how to export and import GPOs from the command line. Continue reading Exporting and Importing Group Policy Objects – Windows Server 2008
For months, ever since I installed Kubuntu 11.04 on my brand new shiny laptop, Flash videos have been jerky and frequently crashed the whole darn machine when played full screen. The “Official” advice regarding x64 Firefox and Flash didn’t help at all, but I never managed to get around to Googling the problem and finding a solution… Until now!
Several threads on Ubuntu Forums suggested the Flash Aid Firefox Plugin, with many people reporting success. Now I am one of them! Although I didn’t achieve success at first, I had to do the following:
- Install FireAid plugin
- Restart Firefox
- Run FireAid Wizard
- In a command terminal, type:
sudo apt-get remove --purge flashplugin-nonfree
sudo apt-get remove --purge flashplugin-installer
sudo apt-get remove --purge flashplugin64-installer
sudo apt-get autoremove
sudo mkdir /etc/adobe
echo "OverrideGPUValidation=true" >~/mms.cfg
sudo mv ~/mms.cfg /etc/adobe/
Really I probably did it backwards and should have done 4 and 5 before 1, 2 and 3, but nevertheless it worked
A persistent USB stick provides you with the equivalent of a Kubuntu computer that you can carry around in your pocket. Any files you save or changes you make will be saved on the USB stick too.
Continue reading How to Create a Persistent Kubuntu USB Stick