Below you will find pages that utilize the taxonomy term “Miscellaneus”
Extracting your Windows Licence Key from Ubuntu
Turns out that working with PLC equipment you are still fully stuck to Windows. Which means I have to bite the bullet and get an up to date version of a Windows VM running on my machine.
Since I have already paid for my Windows license with my laptop (even though I have never used it) this came in really handy.
<pre class="wp-block-preformatted">sudo apt install acpica-tools
sudo acpidump -n MSDM
This command should dump the Windows key in the bottom right of the output.
Goodbye Twitter - you were useful for (quite) a while.
After getting rid of my Facebook account a long time ago, finally, I have decided to pull the plug on Twitter as well.
I have become increasingly wary of the changes of the platform as it seeks for a way to monetise it’s user-base. The timeline has increasingly become infested with annoying ads and no way of getting rid of them. Since Twitter effectively killed the whole app ecosystem with their changes to API rules and banning anything that became useful to a substantial number of people.
Moving to KVM virtual machines
Installing VirtualBox is getting increasingly painful on Ubuntu due to the problems with UEFI Secure Boot and the VirtualBox kernel modules. Another reason for an alternative is that running VirtualBox VM’s completely in the background is not as straightforward as it could be.
From the available alternatives I looked into (VMWare, Xen & KVM) it was KVM that fitted my needs (casual VM usage with mostly headless VM’s for testing purposes). Main reasons:
Giving Opera another spin - ad-blocking as a core feature
I haven’t been using Opera for quite a while as I didn’t really have a need for a third browser lately (Firefox & Chrome being the main ones). However I came across this article today mentioning that Opera has integrated ad-blocking as a core feature rather than a plugin to manage.
If there were no bloated ads, some top websites would load up to 90% faster.
Today, we wanted to share with you a native ad-blocking technology in our Developer channel for Opera for computers. “Native” means unmatched speed vs extensions, since the blocking happens at the web engine level.
OpenVPN - fix issues with DNS server assignment (Synology NAS)
Synology NAS systems are great VPN servers for a home or small office. However if you want to connect to the VPN and route all your traffic through the VPN and be able to browse the internet there are a few things you need to change on the Synology server.
Theoretically you should be able to set these options on the client, but I have not managed to get this to work with Synology and judging by the amount of forum threads a lot of other people had the same problem. If somebody has a better way to fix this I would love to know. I don’t like to manually change these config files as I assume they will be overwritten when making changes to the web-interface.
Ubuntu 14.04 Webmin Install from PPA
On remote systems sometimes a web-based tool can be very handy. Webmin is such a tool that has been well maintained for decades. To install quickly on a Ubuntu Server without having to manage dependencies and keeping it updated as part of normal OS update operations installing from a PPA Repo is handy.
sudo echo "deb http://download.webmin.com/download/repository sarge contrib" >> /etc/apt/sources.list<br></br>wget -q http://www.webmin.com/jcameron-key.asc -O- | sudo apt-key add -<br></br>sudo apt-get update<br></br>sudo apt-get install webmin
Finding a private location check-in service
Foursquare decided that it was too hard for them to compete with location services like Yelp and split their app into two separate apps. Whilst that might make sense to the 4Square CEO and his VC masters, it makes no sense from a users perspective. Foursquare can be a bit of a battery hog already, and having 2 apps to open and “annoy” you with notifications is not an improvement by any means. And if I wanted Foursquare to be Yelp – I would have used Yelp in the first place. So no – I do not want to install another separate check-in App (called Swarm). One battery hogging location app was enough.
Edit files on remote host via SSH
Whilst most commandline editors have the ability to edit files on a remote host directly this can get messy sometimes when there are multiple files involved. Mounting the remote folder via SSHFS seems to be more reliable in practical use.
Mount
sudo apt-get install sshfs<br></br>sudo addgroup USERNAME fuse<br></br>sshfs remoteuser@remotehost:/remote/path /local/mountpath
Unmount
fusermount -u /local/mountpath
Using TOR and PRIVOXY on Ubuntu
This covers only the basic install and configuration for future reference. More info on Privoxy can be found on their website http://www.privoxy.org/.
Install
apt-get install tor privoxy
vim /etc/privoxy/config
uncomment the following line:
forward-socks5 / 127.0.0.1:9050 .
If you need to browse internal hosts while connected:
forward 10.*.*.*/
Browser Configuration
Firefox: FoxyProxy
Chromium: Proxy Switchy
Documentation: http://www.privoxy.org/faq/misc.html#TOR
Wireshark install on Ubuntu 12.04
Just a short note on Wireshark install (needed to beat an Asterisk SIP install into submission)
sudo apt-get install wireshark<br></br>sudo useradd -U -M -s /bin/false wireshark<br></br>sudo chgrp wireshark /usr/bin/dumpcap<br></br>sudo chmod 754 /usr/bin/dumpcap<br></br>sudo setcap 'CAP_NET_RAW+eip CAP_NET_ADMIN+eip' /usr/bin/dumpcap<br></br>sudo gpasswd -a YOURUSERNAME wireshark
Source: http://wiki.wireshark.org/CaptureSetup/CapturePrivileges
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/
Ten iOS apps I can not do without ...
Since it seems everybody has to do one of these “10 <insert marginally useful term> I can not live without” articles here is my take.
The 10 Apple iOS Apps I can not live without
Enjoy ! I hope you find them as useful as I do. :)
Education and the Internet of Things
Here are the slides from a presentation for the South Australian Department of Education & Childrens’ Development – Luchtime Bytes Series.
The original copy of this blogpost was posted on http://www.brightcookie.com/2011/11/education-and-the-internet-of-things/
Installing MySQL Workbench on Ubuntu 11.10
Thanks to Olivier Berten for providing this package via his PPA Repo !
sudo add-apt-repository ppa:olivier-berten/misc<br></br>sudo apt-get update<br></br>sudo apt-get install mysql-workbench-gpl
EDIT: this has been confirmed to work on Ubuntu 12.04 (Precise Pangolin) as well).
Facebook - good riddance !
Finally I made the effort to completely get rid of my Facebook Account. After initially getting a Facebook Account in the very early days (as an ‘occupational hazard’ to investigate the potential of Facebook Applications) I have always been suspicious of the companies motives and decided not to use such a closed system as a base for application development.
Recent developments have only confirmed this suspision:
- http://en.wikipedia.org/wiki/Criticism_of_Facebook
- http://www.forbes.com/sites/chunkamui/2011/08/08/facebooks-privacy-issues-are-even-deeper-than-we-knew/
- http://www.reddit.com/r/technology/comments/ln2e0/facebook_patent_to_track_users_even_when_they_are/
Instead I will concentrate all of my content inside this blog (including as a backup for other social services I create). I believe the control over my own content is important enough for me to warrant the extra effort.
Google Docs - custom styles
One of the most annoying things in the recent ‘upgrade‘ of the Google Docs editor was the removal of the ‘Edit CSS’ and ‘Edit HTML’ functionality without any replacement (such as a Custom Styles Editor).
Thanks to a discussion on the Google Help forum (where 100’s of people wonder how this could have been called ‘upgrade’) I discovered this hack.
- Create an empty document in LibreOffice or OpenOffice (MS Office is also reported to work)
- Change the default styles (using Format –> Styles and Formatting (F11))
- Upload the resulting document to Google Apps (Note: you will need to convert to GoogleDocs) and use as a template
To get the ARIAL font on Ubuntu I also had to do install the MS Fonts package
Install Microsoft Fonts on Ubuntu
If you have kids going to school you will know these questions:
- Why can’t you have Microsoft Office ?
- I can not find ‘xyz’ font on this …. – why ?
I have managed (after some time) to convince my kids that there is no need for having a particular Word Processing Software and they are much better off knowing the concepts of text processing rather than some particular office package. Unfortunately I have had no look convincing many teachers that they should follow a similar principle ….
Alternatives to Google Adsense
Due to a recent absolute Customer Service failure with Google Adsense I have done some research on the alternative to Google Adsense as a content-sensitive mobile and web advertisements.
We are currently reviewing the following services:
- http://www.adbrite.com/
- http://chitika.com
- http://www.admob.com/
- https://pubcenter.microsoft.com/Login
- http://advertisingcentral.yahoo.com/publisher/index
- http://www.clicksor.com/
- http://www.infolinks.com/
- http://adhitz.com/en
- http://buysellads.com/
Once we have some results I will update this post. Please add your comments should you have any (good or bad) experiences with similar services.
GoogleApps (Gmail) as default Ubuntu mail client
Keeping mail on a local machine does not make sense when working across a large number of different (vitual) devices. As a GoogleApps user I have long preferred browser based mail client as my default.
Unfortunately this is not yet a very straight process on most Operating Systems and Ubuntu is no difference.
Edit: all the commands need to be run with root privileges. so either run “sudo su” or prefix all with “sudo ” (thanks to Paul for the comment below)
Find the direct link to a Twitter status update
I sometimes need to link to a specific Twitter status update and since the recent upgrade (or as I personally see it downgrade) of the Twitter UI it is quite annoying to find the Status ID, as it can not be copied from the interface (without some Javascript debugging tools at least).
http://api.twitter.com/1/statuses/user_timeline.xml?screen_name=[screen_name]
This will show the users timeline in XML format revealing the Status ID in the XML result. The following URL can be used to then construct the permalink to the specific status update:
horseshoe bay
Ubuntu - the ‘old man’ experiment
Recently my father, who has so far not wanted to have anything to do with computers, decided to change all of this with age 67. While initially surprised (and remembering the comments I got when sitting in front of computers as a teenager instead of working on the family farm), I quite liked the idea. It’s a great to see him still wanting to explore and learn new things.
Unfortunately since there is approximately 17.000km between us, there was a limited amount I could do to help him get set up. So my eldest sister (as she always has to do) ended up having to help out instead. Finding hardware was the easy part and very cheap these days (and since it was bought online I could help with the technical aspects). However the machines in that particular shop came as white-boxes without an Operating System (which is a good thing in my book).
Using Nokia Share Online to upload directly to Flickr
One of the nicest ways to get photos straight from your mobile to Flickr (without having to use e-mails) on Nokia devices is the Flickr Plugin for the Nokia Share Online application. Since a lot of my clients in the educational sector are starting to use Flickr as part of their online teaching I decided to create a short HOWTO.
The application itself comes with the phone on most recent Nokia S60 devices (with recent Firmware – check Nokia Software Updater for new firmware). To check if your particular phone is capable you can check the Nokia Share Online Support site.
Working with Second Life in an educational sense
With the help of SL resident Moggs Oceanlane I was able to get our first Sloodle implementation off the ground. Being a bit new on the SL concepts (Moodle as such is my daily life) I found the technical process quite easy, but was struggling with SL terminology a little.
Looking forward to getting some hands-on experience of the use of SL in an educational setting. I can see the practical applications – looking for some pilot projects to put them into ‘reality’ once we have got all the technical side tested thoroughly.