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
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 […]
I was on holiday and I had forgotten to switch on teamviewer on my Mac as I wanted to do something via GUI, even though I could everything via ssh. But anyways… all you need to do is copy and past this command sudo /Applications/TeamViewer.app/Contents/MacOS/TeamViewer If you’re a super user already you can just type: […]
I had issue running Drush after upgrading MAMP 3.0.5 on PHP5.5.10 To fix this you need to edit .bash_profile. Run these commands in terminal sudo nano ~/.bash_profile Add the following line export PATH=”/Applications/MAMP/Library/bin:/Applications/MAMP/bin/php/php5.5.10/bin:$PATH” Exit and save… next run source ~/.bash_profile Restart machine… Job DONE! to test drush is working correctly drush status
Copy and past below the following terminal commands to see all hidden files on your mac. defaults write com.apple.finder AppleShowAllFiles YES