Below you will find pages that utilize the taxonomy term “Development”
Blogs
RaspberryPi Version 3 SOE
Since there is now a supported Raspbian version without GUI and other unneeded add-ons available as Raspbian Lite the need to use other installers (with sometimes some downsides) is now not a necessity anymore. Below is a list of steps I like to perform before using them for any purpose as my Standard Operating Environment.
Download Raspbian Lite Download link: https://www.raspberrypi.org/downloads/raspbian/
Write to SD Card dd bs=4M if=2016-05-27-raspbian-jessie-lite.img of=/dev/sdb
Boot RPi Default login details are
Blogs
Install Hugo on Ubuntu to generate static websites
Whilst there is a .DEB installer to download from the GoHugo sites I get all matter of warnings that the package is of bad quality and I am not comfortable to run these kinds of installers.
I rather install from sources in this case which is very straight forward since the main dependencies (largely GO) are in the Ubuntu main repositories.
Install dependencies sudo apt-get install golang git mercurial python-pygments
Blogs
Android SDK issues on Ubuntu 14.04 64bit
Since the upgrade to Ubuntu 14.04 (Trusty Tahr) I have had issues running the Android SDK Tools. For example this error:
./adb<br></br>bash: ./adb: No such file or directory
Check the multi-arch architectures installed on the system.
sudo dpkg --print-architecture
Mine only showed ‘amd64’. Turns out you need to add the i386 architecture and install libc6:i386,libncurses5:i386,libstdc++6:i386 library packages.
sudo dpkg --add-architecture i386<br></br>sudo apt-get update<br></br>sudo apt-get install libc6:i386 libncurses5:i386 libstdc++6:i386<br></br>sudo ./adb
Blogs
Apache Cordova development environment install on Ubuntu
Apache Cordova has very nice documentation, however as so many projects it is focused on the Windows/MacOS duopolies only. Fortunately it’s not too hard to work out the differences.
Installing dependencies Thanks to: https://github.com/joyent/node/wiki/Installing-Node.js-via-package-manager
sudo apt-get install python-software-properties python g++ make ant openjdk-7-jre openjdk-7-jdk
Installing Android SDK Please note: one of the problems I found was that I had some Android tools from the Ubuntu repos that were conflicting with the SDK install.
Blogs
Making VIM the default text editor on Ubuntu
In my never ending quest to find the ideal text editor here is another installment. Since I have been using VIM as my default command line editor for years I thought I give it a try for basic GUI editing as well.
Install and set desktop app & icon sudo apt-get install vim vim-gnome<br></br>sudo wget --output-document=/usr/share/applications/gvim.desktop https://raw.github.com/leogaggl/misc-scripts/master/gvim.desktop<br></br>sudo wget --output-document=/usr/share/icons/hicolor/scalable/apps/gvim.svg http://gfxmonk.net/images/vim-logo/vim-logo.svg<br></br>sudo update-desktop-database
Set MIME defaults vim ~/.local/share/applications/mimeapps.list<br></br>#add or edit the following mime type and add others as needed<br></br>text/plain=gvim.
Blogs
Ubuntu Apache2 - run VHOST as different user
There are several reasons why you might want to run different Apache Virtual Hosts as separate users from the Apache user account. My most frequent usage is on my development machine to allow running from my home directory.
The most commonly recommended option for this purpose is MPM-ITK (a quick hack would be to add yourself to the www-data group using “sudo usermod -a -G www-data USERNAME”)
sudo apt-get install apache2-mpm-itk<br></br>sudo a2enmod mpm_itk
Blogs
Quick ‘manual’ Eclipse install on Ubuntu
Since I always had trouble with the Eclipse version that is avaialable via the Ubuntu repositories I often need to install Elcipse on new machinery. Hence I am documenting the process for myself and hopefully it might help others as well.
Java dependencies install sudo apt-get install openjdk-7-jre openjdk-7-jdk icedtea-7-plugin
Eclipse download Note: download link needs to be updated – current as of 2014-01-27
cd /tmp<br></br>wget http://www.eclipse.org/downloads/download.php?file=/technology/epp/downloads/release/luna/M4/eclipse-standard-luna-M4-linux-gtk-x86_64.tar.gz&mirror_id=1051<br></br>tar -xzf eclipse-standard-luna-M4-linux-gtk-x86_64.tar.gz<br></br>sudo mv eclipse/ /opt<br></br>rm -f eclipse-standard-luna-M4-linux-gtk-x86_64.
Blogs
BESPIN - another nice one from Mozilla.org
Getting excited about a new text editor of all things is not something I like to admit to easily, but in my line of work (although less and less is actually doing hands on coding) text editing is an important part.
That’s why I checked out the BESPIN project as soon as I heard of it. The prospect of being able to edit your files from anywhere is very appealing to me since I spend a lot of time away from the desk and on devices that not always have good text editor (let alone all the files necessary).