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 -i curl -sS https://getcomposer.org/installer | php — –install-dir=/usr/local/bin –filename=composer exit
Before you can consider replacing you Linx 10 screen, you first need to ask yourself is it worth doing? and can I live with the crack screen since I can still navigate Windows via keyboard and mouse? I know it can be annoying seeing crack screen but it also depends how badly. In my case […]
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 […]