Skip to content

Instantly share code, notes, and snippets.

View EdwinChua's full-sized avatar

Edwin EdwinChua

  • Singapore
View GitHub Profile
@EdwinChua
EdwinChua / README.md
Last active September 30, 2020 16:16
ChartJs minimum chart reproduction
@EdwinChua
EdwinChua / Unity-Intro.md
Last active September 8, 2017 01:50
Intro to Unity

Unity3d Basics

Aims to provide the reader with a brief guide to coding with Unity.

Unity Editor

Common Terms

  • Editor – The Unity IDE
  • Scene – A collection of objects and scripts that are loaded and active together (like an Activity in Android)
  • GameObject – Any object/item seen in the hierarchy tab
@EdwinChua
EdwinChua / set-up-python-on-windows.md
Last active June 30, 2017 02:36
Setting up Python (on Windows)

Setting up Python (on Windows)

Download and run Microsoft Web Platform Installer 5.0 (WPI)

Link: https://www.microsoft.com/web/downloads/platform.aspx

Search for Python in WPI

  • Choose either Python 3.X.X or Python 2.7.X, depending on what you require
  • You can install both side by side
@EdwinChua
EdwinChua / lamp-mysql.md
Last active December 3, 2018 22:32
Setting up a LAMP server on Ubuntu 17.04, and enabling remote access to MySQL

Setting up a LAMP server on Ubuntu 17.04, and enabling remote access to MySQL

Introduction

This gist records some steps I took to set up a LAMP server on Ubuntu, and how I configured MySQL to allow remote access with MySQL workbench.

Please note that this is not meant to be an exhaustive guide, and absolutely no security measures are in place.

I used a Google Cloud VM, but I'm pretty sure this could be applied to a home server as well. Just remember to open to required ports on your router and forward them appropriately.

Where possible, I will credit the original source of information, and paste code snippets to facilitate replication of this. I have left out most of the text from the guides I referenced. If you'd like to understand in depth what each line of code does, please refer to the original links.