Why Scala Can Help You to Build a More Reliable Service

Simple Cloud Identity Management Scala Implementation ( https://github.com/soleo/scim-rest ) I’ve been hunting for a language to build applications which should be easy to be deployed, managed and tested for quite a while. Well, coming from a C/C++ background, transferring to Java in grad school, then working mainly with PHP, JavaScript and Objective-C in various applications for my current position, it almost made me think that there is no big difference among all programming languages. No matter what kind of language you’re using, the quality of your work would always have to rely on how experienced you are. I’ve never came across the idea that using a modern language would be more beneficial to a developer to build new applications faster and more reliable. ...

February 3, 2016 · 4 min · Xinjiang Shao

Printable, Shareable and Responsive Design of Certificate

Bootstrap doesn’t solve all your problems! Sample Certificate for Online “GoMental” Program Sample Certificate on iPhone 6 Sample Certificate for Printing When you start talking about responsive design on websites, Bootstrap would be considered as an excellent framework for that purpose. As a developer, I love Bootstrap because I don’t need to reinvent the wheel whenever I build new websites. I still remember one of the slogans created for Bootstrap is “Invented for Nerds”. Frankly, “Nerds” is a magical catch phrase for me. ...

November 21, 2015 · 2 min · Xinjiang Shao

HowdyBarber: A scripting way to check my barber’s availability

I don’t go to a really fancy barbershop to get my hair cut, but my current barber’s schedule filled up so quickly that I have to check regularly to make appointments. I really don’t want to waste my time on opening tabs in chrome and login to check their schedule one by one. I came up with a few options to do the checking. Use a headless library like PhantomJS to acting as myself to do the clicking and parsing. (Worst Case) Use their public documented API to query for availability (Best Case) Somehow find out a way to get their availability feed from a third party (Doable but rely on the third party) My barber uses https://resurva.com/ as their booking system. The service is for barbers to manage their bookings. Browsing through the website, there is no documentations about any public API I could use. Option 2 is out. ...

October 12, 2015 · 3 min · Xinjiang Shao

How I used Docker for LaTeX On macOS Yosemite/Sierra

LaTeX on Dokcer Update on December 11, 2016: I’m no longer using the image based on blang/latex, instead it is now based on ubuntu:xenial. A shortcut bash function I used to for compiling .tex now which is way more easier than before. docker-latex() { docker run -v $PWD:/mnt/src --rm soleo/latex:latest $@; return $?; }Recently I just got a my MacBook Pro because my old one died accidentally. That was a story involved with ice coffee and soda. But that’s not important. So after I used my dotfiles repository(https://github.com/soleo/dotfiles) to set up everything I need and want to start compiling some old .tex files to PDF, PdfLaTeX was missing. ...

August 14, 2015 · 3 min · Xinjiang Shao