Hi there, thank you for visiting my showcase site. If you are interested in my work please do not hesitate to contact me.
From the Blog
sudo openvpn filename dig +short myip.opendns.com @resolver1.opendns.com
You first need to ssh in to your RaspberryPi and run the following command lines. sudo apt-get update sudo apt-get upgrade sudo apt-get install samba samba-common-bin Then you and to create a shared folder: sudo mkdir -m 1777 /share Next you want to edit Samba config file to include shared folder: sudo nano /etc/samba/smb.conf Insert […]
Step 1. DNS First you need to visit your host provider and go to Manage your Domain Name System (DNS) settings. For example I use Cloudflare to manage DNS. There you will need to add a new CNAME record. So for example I want a subdomain http://helloworld.yourdomainname.com. To do this you add new DNS Records: […]
If you are like me bought a NAS drive and want to build up storage over time due to the high expense of hard drives. The best way is to start off with 2 Hard disks as Raid 1. Then if you have enough money later on to buy the 3rd Expanding your 3rd drive […]
First of all you need to enable NFS on your Mac, to do this type this command sudo nfsd enable next $ cd /etc/ Then you have to edit if not create file called ‘exports’ $ sudo nano exports path to your directory you want to mount follow by “-alldirs -mapall=501” “/Volumes/LaCie” -alldirs -mapall=501 List […]
– First login into your synology NAS server. – Go to Package Centre. – Click on ‘Settings’ button and select the ‘Beta’ tab. – Tick the checkbox ‘Yes, I want to see beta versions!’. – Next, go to ‘Utilities’ and find ‘Virtual Machine Manager’. – Click on ‘Virtual Machine Manager’ and hit the ‘Install’ button. […]
ssh into your destination folder when you want to backup your files, then type the following command. rsync -av [username]@[ip-address]:/Users/username/Pictures/ .
If you have installed jmeter with homebrew can run these commands in terminal brew install jmeter or brew install jmeter –with-plugins with plugins If you are running jmeter 3.2, you can found your jmeter CA Certificate here. /usr/local/Cellar/jmeter/3.2/libexec/bin The simplest way to installing this certificate is by opening the directory and double clicking on the […]
In ‘phpMyAdmin’ under sql tab copy and paste below script and hit go!. UPDATE wp_options SET option_value = replace(option_value, ‘http://old-url’, ‘http://new-url’) WHERE option_name = ‘home’ OR option_name = ‘siteurl’; UPDATE wp_posts SET guid = replace(guid, ‘http://old-url’, ‘http://new-url’); UPDATE wp_posts SET post_content = replace(post_content, ‘http://old-url’, ‘http://new-url’); UPDATE wp_postmeta SET meta_value = replace(meta_value, ‘http://old-url’, ‘http://new-url’);
The other day I need to migrate files over to my new NAS, to do this I had to SSH in to the box and run a SCP command to copy over files. But at the sametime I wanted to keep their timestamp. To do this you need to run the following command First ssh […]
First ssh in to pi and cd in to Downloads directory. $ cd ~/Downloads Next you need to download the nodejs tar. Checkout the version you desire http://nodejs.org/dist/ make sure you download the the version with the last string ending ‘linux-armv6l.tar.gz’. Raspberry Pi Zero support only ARMv6. $ wget http://nodejs.org/dist/v6.10.3/node-v6.10.3-linux-armv6l.tar.gz Once downloaded cd in to […]
Only recently I needed to access my iMac GUI whilst I was away aboard. I’ve always ssh to my iMac being a geek. But for this particular occasion I needed to demo things on my iMac. Anyways I did a little research and here are my findings and conclusion. Like I said I’ve always ssh […]