screen-recording-in-ubuntu-18-04-using-kazam.webp

Screen recording in Ubuntu 18.04 using Kazam

Part of my work is to screen record (screencast): software demos and programming tutorial. I am also a MacOS user and in Mac I used ScreenFlow for screencasting. Since using Ubuntu as my primary operating system at work. I wanted continue my screencasting work. I once used Kazam in mid 2019 and it can handle the basic screen recording requirement we will need, mostly. It is open-source and available from Ubuntu apt repository....

January 11, 2020 · John Pili
my-review-using-the-razer-huntsman-tournament-edition-for-programming.webp

My review using the Razer Huntsman Tournament Edition for programming

Background I have been using the Razer Black Widow tournament edition since January 2015 as my programming keyboard. It has the Razer’s green clicky mechanical switch. After four years of continuous usage; it started to double register my keypress and it loses its clicky sound. It is time for me to invest into a new mechanical keyboard. I bought this keyboard from All IT at retail price of 529 MYR (129 USD)....

January 5, 2020 · John Pili
How to parse JSON data without struct in Go

How to parse JSON data without struct in Golang

In using Golang, we sometimes need to parse a JSON data without knowing or specifying a concrete type struct. We can do this by converting (json.Unmarshal) JSON data into an interface{}. We can then use it like a map. Accessing it like for example m[“username”].(string) Below is an example application that converts a JSON string into an interface{}. The statements from line 18 to 23 implements the JSON unmarshall without a concrete struct....

January 2, 2020 · John Pili
how-to-setup-openvpn-client-on-ubuntu-18-04.webp

How to Setup OpenVPN Client on Ubuntu 18.04

Hi! In this post we are going to set up an OpenVPN Client in Ubuntu 18.04 LTS. Most of the available tutorials posted on the Internet were about how to configure an OpenVPN server. There are a lot of OpenVPN providers in the market. I personally liked OpenVPN service from StrongVPN because they offer a wide selections of VPN protocols, and we can change server locations easily. New network routers also features OpenVPN connection capabilities, which let us connect to our home or office network....

December 27, 2019 · John Pili
how-to-connect-to-a-cisco-vpn-in-ubuntu-18-04-lts.webp

How to connect to a Cisco VPN in Ubuntu 18.04 LTS

Here’s the simple steps for you to connect to a Cisco VPN in Ubuntu 18.04 LTS. Cisco, an American company is the leading provider and manufacturer of enterprise network devices, telecommunication hardware, networking security and networking software. According to smartprofile.io as of April 2018, Cisco holds a 73.9% market which makes it the undisputed leader in its industry. Without further ado here are the steps. Install vpnc and network-manager-vpnc-gnome sudo apt install vpnc network-manager-vpnc-gnome Enter your password Confirm installation After successfully installing the required software it is time to configure it....

October 16, 2018 · John Pili
a-simple-firewall-cmd-cheatsheet.webp

A simple firewall-cmd cheatsheet

I tested this using CentOS 7 with firewalld service running. Get Default Zone To know the default zone, use this command firewall-cmd --get-default-zone Get Active Zones firewall-cmd --get-active-zones List Zone Services To check services, ports and settings on a specific zone, use this command firewall-cmd --zone=public --list-all Add a permanent port into a zone Adding a permanent TCP/UDP port in a specific zone. Example: opening MongoDB port firewall-cmd --permanent --zone=public --add-port=27017/tcp firewall-cmd --permanent --zone=public --add-port=27017/udp Remove a permanent port from a zone firewall-cmd --permanent --zone=public --remove-port=27017/tcp firewall-cmd --permanent --zone=public --remove-port=27017/udp Firewall-cmd reload To reflect your firewall changes....

May 27, 2018 · John Pili
How to use Cloudflare as Dynamic DNS

How to use Cloudflare as Dynamic DNS

In this post I will share how I use Cloudflare as Dynamic DNS. I was previously using dynamic DNS service from No-IP for three years until a colleague of mine mentioned about Cloudflare’s really fast global DNS. Initially, I thought that Cloudflare was just a CDN and an Internet company that protects websites from Distributed Denial-of-Service (DDoS) attack, upon further research I found out that Cloudflare also provides a DNS service with a REST-API for you to update your DNS records....

May 26, 2018 · John Pili
configure-tomcat-as-an-init.d-service.webp

Configure Tomcat as an init.d service

If you are using the core version of Apache Tomcat and would like auto-start it on Linux here are the simple steps. I assume that you already have a running Apache Tomcat and know how to navigate to the terminal and have necessary system permission to proceed with this tutorial. Depending on the distribution that you are using you may need to find a specific location for the configuration or init....

May 1, 2018 · John Pili