Category: Uncategorized

March 20th, 2017 by ronny

A guide to ethical hacking

A guide to ethical hacking is just what the title says. And you can now get the first chapter for free. If Kali linux and ethical hacking is for you, give this site a visit. It might be worth it. At least I wanted to pass on the information.

You can pick up the book from Amazon, Google, iTunes and several other book sites. Give this link a go to get your first chapter for free and links to the sites.

Free Chapter of Kali Linux – A Guide to Ethical Hacking by Rassoul Ghaznavi-Zadeh

Happy Hacking!

Posted in Uncategorized Tagged with:

iMovie Library
October 30th, 2016 by ronny

iMovie Library location is by default located in your Movies folder.

To move it an external hard driver or a server, open your finder window and drag the iMovie library file to another location. Make sure your iMovie is not running before attempting to move the iMovie Library file. Unexpected things my happen.

After the iMovie library file is moved to another location, just double click the file to open iMovie and it will automatically update with the new location for the library file.

Thats everything you need to do to move the library file of iMovie.

To read more about iMovie visit Apples official iMovie support pages.

Happy filming!

Posted in Uncategorized Tagged with: ,

Happy New Year 2016
December 31st, 2015 by ronny

Happy New Year 2016

Posted in Uncategorized Tagged with:

November 14th, 2015 by ronny

iOS Gestures in Swift

iOS gestures can be useful in your app. And here is a short demonstration on how to implement iOS gestures in your app.

It seems like iOS gestures require one recogniser for each direction.

let swipeRight = UISwipeGestureRecognizer(target: self, action: "respond:")
swipeRight.direction = .Right

respond is the name of the handler or function to run the code. So anything you want happening when your user is swiping goes into that function. Like this, just an example to change the text in a label.

// Respond function
func respond(gesture: UIGestureRecognizer) {
lblDirection.text = "Right"

If you add recognisers for all four direction, you can still point all recogniser to the same function. And use something like this to check for what direction the user swiped.

// Respond function with all four directions
func respond(gesture: UIGestureRecognizer) {
if let swipeGesture = gesture as? UISwipeGestureRecognizer {
switch swipeGesture.direction {
case UISwipeGestureRecognizerDirection.Right:
lblDirection.text = "Right"
case UISwipeGestureRecognizerDirection.Left:
lblDirection.text = "Left"
case UISwipeGestureRecognizerDirection.Up:
lblDirection.text = "Up"
case UISwipeGestureRecognizerDirection.Down:
lblDirection.text = "Down"

That is how you implant iOS gestures. You can also download a working app with this code from github using this link:

If you want to see in a video how to do this. You can check out my video here on youtube.

Thats it really!

Happy coding!

Posted in Uncategorized Tagged with: , , ,

July 2nd, 2015 by ronny

Ubuntu Static IP

ubuntu static ip
Regarding Ubuntu Static IP is mostly a straight forward thing. I wouldn’t think it should be needed on a rented VPS. As they mostly get their IP addresses assigned. Anyway, here is how we do Ubuntu Static IP.

First we need to edit the network interface.
sudo vim /etc/network/interfaces

Change the line:
iface eth0 inet dhcp

iface eth0 inet static

And then add (in this example we use the ip
network # Optional
broadcast # Optional

To exit VIM, press ESC and then type wq and then press enter to save the file.

Now your network interface is configured to use a static ip.
It is still not active. To activate the static ip you will need to reboot or restart the network interface.
In Ubuntu this will have to be done like this:
sudo ifdown eth0 && sudo ifup eth0

Take notice of the both sudo. And you need to issue both commands at once if your are doing this via ssh or any other remote terminal. If not the network interface will go down, and so will your connection.

So this is how to Ubuntu Static Ip.

Happy Static!

Posted in Linux, Ubuntu, Uncategorized Tagged with: ,

December 31st, 2014 by ronny


Posted in Uncategorized

May 3rd, 2014 by ronny

ms-visual-c-iconThere is plenty of areas to use this. For me, I use vb scripts on one of my software so users can make their own start up and shutdown scripts. And here is how to implement it into your application.

[sourcecode language=”csharp”]
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Diagnostics;

namespace cs_script1
class Program
static void Main(string[] args)
Console.WriteLine("Script info initializing…");
Process vbScript = new Process();
vbScript.StartInfo.FileName = @"cscript";
vbScript.StartInfo.WorkingDirectory = @"c:\scripts\";
vbScript.StartInfo.Arguments = "hello.vbs";
vbScript.StartInfo.WindowStyle = ProcessWindowStyle.Hidden;
Console.WriteLine("Script started…..");
vbScript.WaitForExit(); // Remove if you don’t want the script to finish before continue
Console.WriteLine("Script executed….");

First we use the system.diagnostic to create a new process.
With the startInfo.FileName we type in the Windows Script Host (cscript).
Next line is just the working directory, where we work with our script files.
The script itself will be an argument for the script host.
WaitForExit, this one make sure the script is done before continuing with the c# application. If it is not needed for the application to wait for the script to exit, just remove that part.

Example hello.vbs

[sourcecode language=”vb”]
x=msgbox("Welcome to this script" ,0, "Welcome")

You can start as many instances of the script as you like. Just run the vbScript.Start() several times to start it more than once.

And that’s it really.

Happy scripting!

Posted in C#, Programming, Uncategorized, VB Script

January 1st, 2014 by ronny


Posted in Uncategorized

October 20th, 2013 by ronny

This is the new All servers have been formated and installed from scratch. The articles will be posted again when they are ready. The new infrastructure has been configured and are ready to rock.

Posted in Uncategorized