SUNY Korea – CSE600 Topics in Modern Computer ScienceDate: April 29th, 2019 (Monday)Time: 1300-1400Speaker: Dr Peter ChunYu YAUVenue: TBCTopic: Fintech Adoption and Its Application in Hong Kong Abstract: Financial Technology (Fintech), a new term emerging from late 2014, became an important contributor to the world economy. World Economic Forum (WEF) further classified Fintech into six […]
Author Archives: petercyyau
the places I’ve been to
Western Europe United Kingdom (London, Liverpool, Kings Lynn, Stonehedge), Germany (Berlin), France (Paris), Netherlands (Amsterdam), Italy (Roma, Wales, Water Village), Vince (Vince), Spain (Barcelona, Madrid), Austria (Wien), Swiss (Interlanken Ost), Holysee Eastern Europe Romania (Bucharest), Bulgaria (Sofia, Rila), Serbia (Beograd, Novi Sad), Bosnia-Herzegovina (Sarajevo), Croatia (Zagreb,National park), Hungry (Budapest), Czech Republic (Praha), Slovakia (Bratislava), Slovenia […]
LVM fdisk
fdisk -lfdisk /dev/sdbroot@Mega:~# fdisk /dev/sdbCommand (m for help): nCommand action e extended p primary partition (1-4)pPartition number (1-4): 1First cylinder (1-2610, default 1): “enter”Using default value 1Last cylinder, +cylinders or +size{K,M,G} (1-2610, default 2610): “enter”Using default value 2610Command (m for help): tSelected partition 1Hex code (type L to list codes): 8eChanged system type […]
locale fix
export LANGUAGE=en_US.UTF-8export LANG=en_US.UTF-8export LC_ALL=en_US.UTF-8export LANGUAGE=en_HK.UTF-8export LANG=en_HK.UTF-8export LC_ALL=en_HK.UTF-8locale-gen en_HK.UTF-8locale-gen en_US.UTF-8 en_HK.ISO-8859-1en_HK.UTF-8 en_US.ISO-8859-1 en_US.ISO-8859-15 en_US.UTF-8dpkg-reconfigure locales
rm: argument list too long
find . -name “filename*” | xargs mv -t /home/directoryfind . -name “*.tmp” -delete
Silent output in Cron command
xxxxxxx > /dev/null
List first/last files in directory
ls -1t | head -5ls -1t | tail -5
Generate SSH RSA key
ssh-keygen -t rsa
File count recursively in a directory
find DIR_NAME -type f | wc -l
Common Node command
Check node.js version node -v Check npm version npm -v Install cordova (global) npm install -g cordova