Categorized under "Code"

Code

Static Dataset for One-Belt-One-Road & Greater Bay Area

Below is a hand-crafted dataset for the basic information of the country list for One Belt One Road and Greater Bay Area. One Belt One RoadSource: Industrial...

Code

First Try at Truffle, Solidity and Metamask

Smart Contracts are hard to test. It’s my first time getting to know how to create a test Ethereum network and interact with it. I need to test out a Smart C...

Code

Move Wordpress To Subdirectory

Change .htaccess in the subdirectory, i.e. example, where Wordpress now sits 123456789101112# BEGIN WordPress<IfModule mod_rewrite.c>RewriteEngine OnR...

Code

Force SSL On Grav

Force SSL setting in system.yaml Edit .htaccess. Add the following lines after RewriteEngine On12RewriteCond %{HTTP:X-Forwarded-Proto} httpsRewrit...

Code

Project - Membership Site

DurationElapsed (3 months - ongoing) ProblemA complete redesign of the current Membership Site. From visual to content creation. GRAV vs WordpressInital deci...

Code

Hexo Tag and Post List

To display all tags and each tags’ related post titles.In EJS. 12345678910111213141516171819202122232425<% if (site.tags.length){ %> <sectio...

Code

Project - Automating No API Sites

Duration2.5 hours ProblemTo check whether a list of web domains are taken or not LogFollowing up a previous post (), I can finally announce my success in aut...

Code

Project - Matching Conditions

Duration2 hours ProblemA fellow intern invited me to solve this problem. They need to find the difference between the actual and expected cost of an item, an...

Code

Project - Visualizing Data

Duration2.5 days LogBeen working on transforming data into an intuitive interface like a dashboard. Since there isn’t a robust way of passing data around and...

Code

Solving String Similarity

ProblemThe main focus today was to identify the similarity between two strings and derive the relevant records from a query. To better illustrate this, let’s...