I had a big file to send over an unreliable/choppy internet connection with no resume function. The only solution I could think of is to split it into multiple files so that if disconnected I do not need to restart from the beginning.

Split

Assume the large file is 2G and…

The old school way would be to buy an external USB device that provides 2 3.5mm jack, line in and line out. Buy a 3.5mm male-to-male cable and plug into both ports. There is an easier alternative and it is free.

MacBook does not provide 3.5mm line in port

These are the few SVN commands I use regularly.

Check out

svn checkout http://<url_or_ip>/svn/project

To check out using a different username

svn checkout http://<url_or_ip>/svn/project --username <different_username>

Once you successfully checkout, your credentials will be saved at

~/.subversion/

To clear the saved credentials, run

rm -rf ~/.subversion/

To update local codes…

Github ditching password authentication forced me to setup my own source codes versioning repository. Launch a new Ubuntu 20.04 EC2 and run the below command

sudo apt update
sudo apt upgrade

Install Apache. Service should be started post installation

sudo apt install apache2 apache2-utils

Install Subversion SVN. Module “dav” and…

Launching an Ubuntu 20.04 EC2 in AWS is a server edition with no GUI. These days scraper faced with higher security where CDN blocks puppeteer, wget or curl. I’ve tried impersonating all the header on a real browser in wget to get the same content but with no success.

The…

All these while I had been using AngularJS to populate dynamic rows on table from JSON array. Now that it is deprecating soon at the end of 2021. It is time I try something else, and I had chosen to try Vue.js

By running the code above you will…

The disadvantage of coding in multiple languages at the same time is that you tend to mix up which function is for which language. I had to google for the same function over and over again.

It is time start my own cheat sheet and append more into it over…

Kevin FOO

A software engineer, a rock climbing, inline skating enthusiast, a husband, a father.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store