Create a bootable Ubuntu USB stick on Mac OS X – so easy

This is really all there is:

1. Download an Ubunto .iso from ubuntu.org
2. Plug the USB stick into your mac os x system
3. open a terminal and type: diskutil list
4. unmount your usb stick: i.e. diskutil unmountDisk /dev/disk1
5. copy the content of the iso onto your usb stick: sudo dd if=~/Downloads/ubuntu.iso of=/dev/disk1 bs=1m
6. unload your usb stick: diskutil eject /dev/disk1
7. you’re ready!

Source and more: http://www.makeuseof.com/tag/how-to-create-an-ubuntu-installation-usb-on-the-mac/

10 steps to a Online Marketing Strategy

  1. Start with a web promotion plan and an effective web design and development strategy.
  2. Get ranked at the top in major search engines, and practice good Search Optimization Techniques.
  3. Learn to use Email Marketing Effectively.
  4. Dominate your marketing niche with affiliate, reseller, and associate programs.
  5. Request an analysis from an Internet marketing coach or Internet marketing consultant.
  6. Build a responsive opt-in email list.
  7. Publish articles or get listed in news stories.
  8. Write and publish online press releases.
  9. Facilitate and run contests and giveaways via your web site.
  10. Blog and interact with your visitors.

Source: http://marketing.about.com/od/internetmarketingstrategy/a/internettips.htm

Bash Shell Snippets

file extension
http://liquidat.wordpress.com/2007/09/29/short-tip-get-file-extension-in-shell-script/

find files for a do loop
http://www.davidpashley.com/articles/writing-robust-shell-scripts.html

parameter substitution – undefinded parameters
http://tldp.org/LDP/abs/html/parameter-substitution.html

ffmpeg

Bild extrahieren:
ffmpeg -itsoffset -4 -i MOV03788.MPG -vcodec mjpeg -vframes 1 -an -f rawvideo -s 640×480 MOV03788.jpg

Movie umwandeln:
ffmpeg -i MOV03788.MPG -s 480×360 -ar 44100 -r 25 -b 1000k MOV03788.flv

Bash Script:
#!/bin/sh
for f in *.mpg;
do
echo “Processing $f”
ffmpeg -i “$f” -s 480×360 -ar 44100 -r 25 -b 1000k “${f%.mpg}.flv”
done

Voraussetzung ist das Paket ffmpeg. Welches sich mit “sudo apt-get install ffmpeg” einfach installieren läßt.
ffmpeg -i beispiel.mpg -s 290×210 -ar 44100 -r 25 -b 1000k beispiel.flv

  • “-i beispiel.mpg” = Die Eingabedatei
  • “-s 290×210” = Die Ausgabegröße; im Beispiel 290px Breite und 210px Höhe
  • “-ar 44100” = Die Ausgabefrequenz; im Beispiel 44100 Hz
  • “-r 25” = Die Bildrate; im Beispiel 25 Bilder/Sekunde
  • “-b 1000k” = Die Videobitrate; im Beispiel 1000 kbit/s
  • “beispiel.flv” = Die Ausgabedatei

Wer noch mehr wissen will “man ffmpeg” in der Shell eingeben.

Quelle: 3rd-party, Urheber unbekannt