Blogs
CoffeeScript on Ubuntu 12.04
Installing CoffeeScript on Ubuntu 12.04 is a complete no-brainer by the looks of it (since both node.js Core as well as Node Package Manager are in the Ubuntu repos).
sudo apt-get install nodejs npm<br></br>sudo npm install -g coffee-script
To check the installation
coffee -v
Just as a reminder for myself & in case it helps somebody …
Blogs
Saving Video Streams in Ubuntu
Flash Media rtmpdump apt-get install rtmpdump<br></br>rtmpdump -r "rtmp://domain.tld/video_name.flv" -o video_name.flv
Docs: http://rtmpdump.mplayerhq.hu/rtmpdump.1.html
Windows Media mimms apt-get install mimms<br></br>mimms mms://domain.tld/video_name.wmv
Docs: http://manpages.ubuntu.com/manpages/precise/man1/mimms.1.html
mplayer mplayer -dumpstream -dumpfile video_name.wmv mms://domain.tld/video_name.wmv
Blogs
OpenVPN Install on CentOS 6 Server
I recently had a need to install a VPN service in a OpenVZ container. Since I normally only use Hardware emulating VM’s I ran into quite a few issues in terms of low-level networking support on this Container Virtualisation System. Turns out that you are stuck with a TUN/TAP solution as most services won’t enable PPP services on their infrastructure. Also Ethernet bridging is not available (at least on the service I used) so you’re stuck with NAT IP masquerading.
Blogs
Installing Poptop (pptpd) VPN Server on CentOS 6
For roaming mobile clients PPTP (Point-to-Point Tunneling Protocol) is still the quickest way to get VPN connections to tunnel traffic over a secure link.
Installation I always prefer installation via a yum repository as this will ensure patches are applied during regular system updates
sudo rpm --import http://poptop.sourceforge.net/yum/RPM-GPG-KEY-PPTP<br></br>sudo rpm -Uvh http://poptop.sourceforge.net/yum/stable/rhel6/pptp-release-current.noarch.rpm<br></br>sudo yum install ppp pptpd -y
Configuration Note: replace $USERNAME and $PASSWORD with actual values
IP configuration
echo "localip 192.168.0.1" >> /etc/pptpd.
Blogs
Disable services on boot - Ubuntu 12.04
To keep my desktop (notebook) machine light and responsive I don’t want unnecessary services starting on boot-time. Turns out Ubuntu is surprisingly cumbersome to configure in this area (compared to RedHat / Fedora).
Two services I need on my notebook, but don’t want them to start unless I require them running are MySQL and Apache. But it looks like some services are started using upstart init daemon and it appears there is no management tool for this.
Blogs
Galaxy Nexus Firmware Upgrade on Ubuntu (manual)
As a Galaxy Nexus Owner I have been waiting for months for an OTA (over the air) upgrade to the factory installed Firmware (4.0.2). I am finally sick of waiting and complaining to Google (an absolute lost cause).
After some research it turns out that (contrary to popular opinion) not every unlocked Google Nexus actually has the ‘official’ Google Firmware. Some of them have a Samsung variant (WTF !?) of the firmware.
Blogs
Open Source creative tools
Since I am tired to constantly recite this list whenever one of these designer-type people tells me that they need Adobe’s Whatever Suite to do some basic task here is a summary that I can point them to.
Vector Graphics Inkscape (http://inkscape.org/)
Xara Extreme (http://www.xaraxtreme.org/)
Raster Graphics Gimp (http://www.gimp.org/)
Desktop Publishing Scribus (http://www.scribus.net/)
Photo Editing Gimp (see above)
Darktable (http://www.darktable.org/)
RawTherapee (http://www.rawtherapee.com/)
Luminance HDR (http://qtpfsgui.sourceforge.net/)
Layout Tools (DTP): Scribus (http://scribus.net/canvas/Scribus)
Blogs
Installing Oracle Java7 JDK on Ubuntu 12.04
If you really need Oracle Java (some applications seem to insist on it) on Ubuntu here is the procedure using a PPA.
sudo add-apt-repository ppa:webupd8team/java<br></br>sudo apt-get update<br></br>sudo apt-get install oracle-java7-installer
HT to WebUpd8 http://ppa.webupd8.org/
Blogs
Running Android 4.0 (ICS) on Virtualbox
Debugging things on the Android Emulator (incluced in the SDK) can be a very slow and cumbersome process. Thanks to the Android-x86 Project it’s quite easy to run Android in VirtualBox. This is highly useful when you need to test mobile apps and websites from the Android Browser (as well as Chrome Mobile).
Download an Ethernet enabled ISO from Tablets x86wget http://dl.dropbox.com/u/75945873/android-x86-4.0-eth0-generic_x86-20120426.iso.torrent<br></br>transmission android-x86-4.0-eth0-generic_x86-20120426.iso.torrent Create new ViratualBox VM
Important Settings (see screenshots) OS: Linux, Version: Linux 2.
Blogs
Install GIMP 2.8 on Ubuntu 12.04
Since the latest version of GIMP has not been included in the main 12.04 repositories because it was not ready at release time you have to use a PPA at current.
sudo add-apt-repository ppa:otto-kesselgulasch/gimp<br></br>sudo apt-get update<br></br>sudo apt-get install gimp
TIP: Go to the “Windows” menu and select ‘Single-Window Mode’ to use Gimp in one window (see screenshot).
Blogs
Intel Ultrabook tweaks on Ubuntu 12.04
After upgrading my Toshiba Z830 Ultrabook to 12.04 (Precise Pangolin) I noticed that the ability to control the screen back-light was not working using the Toshiba Fn F6/F7 keys.
Thanks to http://www.linlap.com/wiki/acer+aspire+s3 the solution was found quite quickly.
sudo vim /etc/default/grub
This will open the grub configuration file. (Grub is the initial boot selection software)
To be able to dim the screen brightness, You’ve got to modify the line:
GRUB_CMDLINE_LINUX=""
Blogs
Accessing Samsung Galaxy Nexus as USB Media Device Ubuntu 12.04
To use a Samsung Galaxy Nexus as a media device (MTP) there is a utility called gMTP.
sudo apt-get install gmtp mtpfs mtp-tools
NOTE: Unfortunately there is a bug in the 64-bit version at the moment (https://bugs.launchpad.net/ubuntu/+source/mtpfs/+bug/936165) – which means it’s not all that useful to me at the moment.