JDK 11 make java command can directly run source code like other scripting language or interpreter. Lets say we have a java source file called hello.java as follow.
Minimum Profit is a text editor for programmer available to download from https://triptico.com/software/mp.html. I accidentally found this software from article related to OpenBSD and the author is the creator of this mp editor. The downloads are available in source and windows executable (Wow).
I managed to compile mp 5.38 on debian 10 using ncursesw driver which is already available on my laptop. Compilation step as follow.
Now is 2020 and we face a terrible corona virus outbreak and after weeks of work from home eventually we will need to setup VPN connection from our laptop to office server or our client server.
How we do this vpn thing on linux ? On Debian 10 an enabled vpn support we can see from settings -> network as follow.
If you see a blank form then you need to install some packages. Open up terminal and sudo to your favorite shell. Mine is bash. Type sudo bash.
To install package you need type as follow :
apt-get install network-manager-vpnc
apt-get install network-manager-vpnc-gnome
apt-get install network-manager-l2tp
apt-get install network-manager-l2tp-gnome
apt-get install network-manager-pptp
apt-get install network-manager-pptp-gnome
apt-get install network-manager-openvpn
apt-get install network-manager-openvpn-gnome
If you are using L2TP with preshared key on windows 10 then need to set the key and advanced option of algorithms like below.
If everything is OK then you will have vpn enabled on your debian 10.
To install sqlite3 gem we need to install development package for ruby and sqlite3 it self because of the need to compile gem native extension.
On ubuntu/mint/debian do as follow :
apt-get install ruby-dev
apt-get install libsqlite3-dev
Dont forget to execute as root.
After that we can execute gem install sqlite3.
Thats all … Bye.
Happy chinesse new year 2570 !