Peter Tran – Sydney, Australia https://petertran.com.au/ The portfolio site of Peter Tran, a freelance software developer and entrepreneur residing in Sydney, Australia. Sat, 23 Nov 2019 06:11:58 +1000 en-US hourly 1 https://wordpress.org/?v=5.3 Kubernetes Resources to Learn From https://petertran.com.au/2018/11/08/kubernetes-resources-to-learn-from/ https://petertran.com.au/2018/11/08/kubernetes-resources-to-learn-from/#respond Thu, 08 Nov 2018 01:39:33 +0000 https://petertran.com.au/?p=624 I have been fortunate in working a lot more with Kubernetes lately over the last few months so I’ve been exposed to a lot of Kubernetes resource material. It’s fast becoming a more popular way to deploy applications. The concept of separating concerns for each service makes Kubernetes and Docker containerisation a perfect choice. What […]

The post Kubernetes Resources to Learn From appeared first on Peter Tran - Sydney, Australia.

]]>
https://petertran.com.au/2018/11/08/kubernetes-resources-to-learn-from/feed/ 0
WordPress Development using Docker https://petertran.com.au/2018/07/16/wordpress-development-using-docker/ https://petertran.com.au/2018/07/16/wordpress-development-using-docker/#respond Sun, 15 Jul 2018 20:57:39 +0000 https://petertran.com.au/?p=611 Building my portfolio site, I thought I’d show you how I set up my WordPress development using Docker. Given the way my current site architecture is set up, it is the process flow that I am currently using now but it will most certainly change in future as I continue to learn more about Docker […]

The post WordPress Development using Docker appeared first on Peter Tran - Sydney, Australia.

]]>
https://petertran.com.au/2018/07/16/wordpress-development-using-docker/feed/ 0
Blank images in Puppeteer screenshots solved! https://petertran.com.au/2018/07/12/blank-images-puppeteer-screenshots-solved/ https://petertran.com.au/2018/07/12/blank-images-puppeteer-screenshots-solved/#respond Wed, 11 Jul 2018 20:50:20 +0000 https://petertran.com.au/?p=600 Frustrated with getting blank images in Puppeteer Chrome screenshots, recently I was in a situation where I needed to migrate an existing Puppeteer project from Ubuntu over to CentOS7. When the transition to the new OS was made, I noticed an odd quirk where some of my screenshots would end up returning a blank white […]

The post Blank images in Puppeteer screenshots solved! appeared first on Peter Tran - Sydney, Australia.

]]>
https://petertran.com.au/2018/07/12/blank-images-puppeteer-screenshots-solved/feed/ 0
Plans Moving Forward – The Revamped Web and I https://petertran.com.au/2018/06/07/plans-moving-forward-revamped-web/ https://petertran.com.au/2018/06/07/plans-moving-forward-revamped-web/#respond Wed, 06 Jun 2018 20:20:08 +0000 https://petertran.com.au/?p=562 It has been six year since my last major revamp/redesign of my current petertran.com.au portfolio site. So what are my plans moving forward? My how the web development industry has changed! Methods that I adopted back in 2012 since my last re-design have changed dramatically. Alas, I’m still standing here and have managed to keep […]

The post Plans Moving Forward – The Revamped Web and I appeared first on Peter Tran - Sydney, Australia.

]]>
https://petertran.com.au/2018/06/07/plans-moving-forward-revamped-web/feed/ 0
Bad owner or permissions on .ssh/config https://petertran.com.au/2018/06/06/bad-owner-permissions-ssh-config/ https://petertran.com.au/2018/06/06/bad-owner-permissions-ssh-config/#respond Wed, 06 Jun 2018 05:02:41 +0000 https://petertran.com.au/?p=553 This article helps to solve a Bad owner or permissions on .ssh/config issue occurring on a Windows 10 machine when using a terminal emulator like cmder. Using cmder on a Windows 10 development machine, I noticed issues after I recently added a new user account to the system. It caused permission issues due to the […]

The post Bad owner or permissions on .ssh/config appeared first on Peter Tran - Sydney, Australia.

]]>
https://petertran.com.au/2018/06/06/bad-owner-permissions-ssh-config/feed/ 0
Accept payments easily and effortlessly with Pin Payments integration https://petertran.com.au/2014/03/21/pin-payments-integration/ https://petertran.com.au/2014/03/21/pin-payments-integration/#respond Fri, 21 Mar 2014 04:32:22 +0000 http://petertran.com.au/?p=367 Only a few lines of code required is to implement a payment system, thanks to inline Pin Payments integration. Accepting online payments has never been so easy and effortless, thanks to the introduction of Pin Payments integration. From the guys who developed http://stripe.com, integrating a ‘Pay Now’ button into an existing site is seamless and […]

The post Accept payments easily and effortlessly with Pin Payments integration appeared first on Peter Tran - Sydney, Australia.

]]>
https://petertran.com.au/2014/03/21/pin-payments-integration/feed/ 0
Move your VirtualBox virtual machine (VM) image/images to another location or drive https://petertran.com.au/2013/07/22/move-your-virtualbox-virtual-machine-vm-imageimages-to-another-location-or-drive/ https://petertran.com.au/2013/07/22/move-your-virtualbox-virtual-machine-vm-imageimages-to-another-location-or-drive/#respond Mon, 22 Jul 2013 00:24:19 +0000 http://petertran.com.au/?p=358 Here is a relatively easy way to move your VirtualBox virtual machine (VM) images to another location or drive: Shutdown all open VirtualBox instances and close any VirtualBox windows. Locate the directory where your VirtualBox instances are stored. Copy the contents of the directory to the new location. Open Virtual Box. Start with one of your […]

The post Move your VirtualBox virtual machine (VM) image/images to another location or drive appeared first on Peter Tran - Sydney, Australia.

]]>
https://petertran.com.au/2013/07/22/move-your-virtualbox-virtual-machine-vm-imageimages-to-another-location-or-drive/feed/ 0
Postgres.app – Location path of pg_hba.conf and postgresql.conf https://petertran.com.au/2013/02/25/postgres-app-location-pathof-pg_hba-conf-and-postgresql-conf/ https://petertran.com.au/2013/02/25/postgres-app-location-pathof-pg_hba-conf-and-postgresql-conf/#respond Mon, 25 Feb 2013 10:09:35 +0000 http://petertran.com.au/?p=352 Do you have the Postgres.app installed on your Mac OSX machine? Need to edit the pg_hba.conf or postgresql.conf but don’t know where the location path of the file is? You can locate it by going at the following path: ~/Library/Application\ Support/Postgres/var

The post Postgres.app – Location path of pg_hba.conf and postgresql.conf appeared first on Peter Tran - Sydney, Australia.

]]>
https://petertran.com.au/2013/02/25/postgres-app-location-pathof-pg_hba-conf-and-postgresql-conf/feed/ 0
How to: Install Middleman Mac on MacOSX Mountain Lion 10.8.2 https://petertran.com.au/2013/02/23/how-to-install-middleman-mac-on-macosx/ https://petertran.com.au/2013/02/23/how-to-install-middleman-mac-on-macosx/#comments Fri, 22 Feb 2013 21:33:26 +0000 http://petertran.com.au/?p=346 This is a how to install Middleman mac guide on Mountain Lion OSX. This took me a bit of figuring out to get working – partially because of unavailable libraries and scripts. I eventually got there in the end and have compiled these set of commands and instructions you will need to run. At the […]

The post How to: Install Middleman Mac on MacOSX Mountain Lion 10.8.2 appeared first on Peter Tran - Sydney, Australia.

]]>
https://petertran.com.au/2013/02/23/how-to-install-middleman-mac-on-macosx/feed/ 1
Execute MAMP’s PHP and mysql in command line terminal OSX https://petertran.com.au/2013/02/07/execute-mamps-php-and-mysql-in-command-lineterminal-osx/ https://petertran.com.au/2013/02/07/execute-mamps-php-and-mysql-in-command-lineterminal-osx/#respond Thu, 07 Feb 2013 11:59:07 +0000 http://petertran.com.au/?p=327 Quick tip, if you have MAMP installed on your machine and need to run PHP or mysql via the terminal/command line, you can execute these lines to create symbolic links to point within your MAMP instance: sudo mv /usr/bin/php /usr/bin/php-bak sudo ln -s /Applications/MAMP/bin/php/php5.3.14/bin/php /usr/bin/php sudo ln -s /Applications/MAMP/Library/bin/mysql /usr/bin/mysql Be sure to change the […]

The post Execute MAMP’s PHP and mysql in command line terminal OSX appeared first on Peter Tran - Sydney, Australia.

]]>
https://petertran.com.au/2013/02/07/execute-mamps-php-and-mysql-in-command-lineterminal-osx/feed/ 0