was successfully added to your cart.


Our Writing

Idea, Case Study, Tutorial

Flutter convert to Base64 image and Display it

Its a known issue for Flutter Camera Plugin will rotate the images 90 / 270 degree when uploading it to server or displaying it with a Image widget, like this: The cause of the issue is due to EXIF meta embeded into the image itself with the orientation parameter, for servers, just make sure that it handle EXIF once the…

Continue Reading

Docker More, SSH Less – Docker Machine to AWS EC2

Let’s explore some alternative for Docker production deployment besides of using AWS ECS and Manual Docker Engine deployment Manual Docker Engine deployment provide us the full details of all the commands to run, but its always better to just run one line of command for ease of deployment, e.g.: docker-machine create -d amazonec2 –amazonec2-access-key UR_AWS_ACCESS_KEY–amazonec2-secret-key UR_AWS_SECRET_KEY –amazonec2-instance-type t2.small –amazonec2-region ap-southeast-1…

Continue Reading

Laravel in Docker on the Cloud – Amazon ECS

We have created our Docker Hub image here and hosted it in a self-provisioned Ubuntu server. What if we want to host it on Amazon ECS (Elastic Container Service) Fargate with the Docker Hub image? Let’s do it: 1. Sign in to AWS Console (if you don’t have an account yet, just sign one up, Farget is billed per minute,…

Continue Reading

Laravel in Docker on the Cloud – Part 2

Continue from Part 1 Now the problem we face now is that we need to stop and re-run the docker image whenever there’s any changes in the Laravel code. To solve this, we can mount the project root into the Docker container’s volume, so it will get the latest code whenever we save the code. To do this, run docker…

Continue Reading

Laravel in Docker on the Cloud – Part 1

I has been asked how to make Laravel run in Docker, and more importantly how to deploy it to a production server, since then I have been exploring for options and Laradocks seems to be a simplified way to go for. So before digging into Laradock, will be doing a vanilla dockerization to get the concept clear first. 1.  Get…

Continue Reading

Alibaba Cloud, Pick the right instance type

When we first tried to launch our first instance on Alibaba Cloud, intuitively we picked the default burstable type T5. Once launched, we are shocked, by the speed of running a simple apt-get update, how can it be so slow, it took 2 minutes for it to be completed. Kept exploring and found this instance type: The cost is slightly…

Continue Reading


作者背景: 因为在IT行业的缘故,我第一次接触比特币(Bitcoin)大概是在2010~2011年左右,当时1个Bitcoin价格大概低于USD1。 当时觉得新奇好玩,也曾近做过miner,因为只需要开着电脑就能赚Bitcoin。 但是很快就厌倦了,因为对于此技术似懂非懂,在本地(马来西亚),当时Bitcoin也无用武之处,很快的就把整个Bitcoin抛诸脑后。 一直到近一两年,Bitcoin已经无人不晓,但大部分人都抱着观看、怀疑的态度。相信Bitcoin的人却非常狂热的把钱投进Bitcoin及Altcoin里。 其实作者是倾向于前者的,但是Blockhain贵为能够改变世界的新技术,身为科技人的我们一定要搞清楚这门技术。于是在网上看了很多资料,但是现有的资料大多都是以投资(投机)赚钱,而且以英文为主,有些技术名称甚至IT人都不明白,何况是普通人。 所以作者决定在Research同时,把资料记录下来,同时以比较擅长的中文来写,希望更多的人可以了解。     首先,大家要先来认识专用名词 Blockchain – 区块链 Cryptocurrency – 加密货币/电子货币 Bitcoin – 比特币 Ethereum – 以台币 Altcoin – 比特币以外的币(coin),统称Altcoin (Alternative Coin) ICO – Initial Coin Offering – 首次募货币,类似公司上市IPO Mining – 挖矿,实际上是一种电脑程式算法,以确保没有人可以作弊 Proof of Work – 工作量证明 – 目前的Blockchain都以这两种形式运作,以后会加以解释 Proof of Stake – 权益证明 -目前的Blockchain都以这两种形式运作,以后会加以解释 Genesis Block     做为第一篇文章,就先从为何次技术诞生说起吧。(以作者所了解所写出,如果有误请点出) 最初大概在2008年金融海啸时,当时很多人对现有的金融系统产生了怀疑,结果2009年Satoshi Nakamoto就开发出了Bitcoin,把它开源免费放在网上。 到现在为止,没有人知道Satoshi Nakamoto这个人真正是谁,它也很有可能是一个组织。而根据Bitcoin的Blockhain数据查回,这个创始人/组织依然拥有980,000个Bitcoin。   传统的资料储存资料方式,就是把资料存在数据库中,而这些数据库主人能够随时进入或甚至更改。 现有的金融系统就是最佳的列子,人们需要透过银行做交易,把所有资料存进银行的数据库,然后100%服从银行的决定。以技术层面来看,银行里的资料是能被串改的,但人们只能服从。…

Continue Reading