Author Archives: cloudnthings
Grep search command everyone should memorise
It’s a neat and powerful command that all *nix users should know. >> grep -rn “keyword” * This does a search for the keyword. * = all files -r = recursive (for all child directories) -n = show line numbers
How to Remote Desktop into Windows from OSX
I had the pleasure if installing Windows 8.1 onto a machine because I was having driver compatibility issues with Ubuntu. It was like taking a step back in time. Took almost all day to install windows 8. Then install the security updates, then upgrade to 8.1. What a mission. However, it’s good to be back… Read More »
Setting up VPN on a Raspberry Pi
There are basically 2 ways to set up VPN on a Raspberry Pi. There is an easy way and a hard way. Use the PiVPN installer (https://www.sitepoint.com/setting-up-a-home-vpn-using-your-raspberry-pi/) Download and install OpenVPN manually (http://readwrite.com/2014/04/10/raspberry-pi-vpn-tutorial-server-secure-web-browsing/) The PiVPN installer is very neat and very cool and saves a lot of time. The disadvantage is that you are running… Read More »
Creating a Raspberry Pi Image in OSX
I had always used Win32 Disk Imager to create my Raspberry Pi images because I was a windows person prior to my conversion to Mac. To be honest, Win32 Disk Imager was really simple v trying to understand command line such as: sudo dd bs=1m if=path_of_your_image.img of=/dev/rdiskn I finally took the leap and gave it… Read More »
How To Organize Events To Build Your Network – A Beginner’s Guide
This is a neat podcast that a friend of mine introduced me too. It is for a total newbie and talks about: 1. What kind of event to organize depending on the situation – Breakfast, Cocktail Hour/Happy Hour, Dinner 2. Whom to invite 3. How to get people to come when you’re still new to… Read More »
SCP: Secure Copy to and from a Raspberry Pi on OSX
The secure copy command is: scp where_the_file_is where_the_file_should_be Or more correctly: scp source destination The trick with a raspberry pi, or any remote location in fact is to include the username@host/ip with a colon as the first part of the source address. eg scp pi@192.168.x.x:/home/pi/text.txt ~/
curl ifconfig.me
Ever needed to grab the public IP of the device you are on via terminal? This neat command will do the trick! curl ifconfig.me
The White Space Phenomenon
As a developer, one of the worst problems to encounter is the white space problem. In recent memory I’ve encountered this 2 times. Once in 2013 when integrating with MYOB, a trailing white space at the end of a variable caused an http 400 error which was a complete mystery at the time. The second time… Read More »
Using Twitter & Mule ESB to turn on an LED on a Raspberry Pi
I had the opportunity to present at the recent local Mulesoft user group meet up in Wellington and shared my experience with Mule ESB. In particular, a whacky project where I used Twitter to turn on an LED with a Raspberry Pi and Mule ESB. Check out the video below of the talk. The slides… Read More »