Saturday, 9 December 2017

Mesos cluster on Vagrant

Install Mesos locally

Install Virtualbox:
  sudo apt-get install virtualbox

Install Vagrant:
  https://www.vagrantup.com/downloads.html
  sudo dpkg -i /home/wasit/Downloads/vagrant_2.0.1_x86_64.deb

Install plugin:
  sudo vagrant plugin install vagrant-hostmanager

Up:
  cp VagrantConfig-1m-1a-1p.yaml VagrantConfig.yaml
  vagrant up

Remove:
vagrant halt
vagrant destroy -f

Sleep:
vagrant suspend
vagrant resume


ref:
  https://github.com/dcos/dcos-vagrant#setup
  https://github.com/dcos/dcos-vagrant/blob/master/docs/deploy.md

Thursday, 7 December 2017

DO ssh key

https://www.digitalocean.com/community/tutorials/how-to-use-ssh-keys-with-putty-on-digitalocean-droplets-windows-users#setting-up-an-ssh-session-with-ssh-keys-in-putty

Tuesday, 5 December 2017

ETL review

Spark:
https://youtu.be/Zb9YW8XjxnE?t=32m22s

Talend:
https://www.talend.com/resources/webinars/talend-open-studio-for-big-data-for-dummies/?aliId=318108320

Pentaho:
https://talendexpert.com/pentaho-vs-talend/

Friday, 24 November 2017

Install legacy boot in previously installed UEFI

Here's what you can do:

1. Go into BIOS F1 setup -> "Restart" menu tab -> Set "OS Optimized Defaults" to "Disabled.
2. Press F9 to Setup Defaults.
3. Tab over to the "Startup" menu tab and verify the following settings:
- "UEFI/Legacy Boot" set to [Both]
- "UEFI/Legacy Boot Priority" set to [UEFI First]
- "CSM Support" set to [Yes]
4. Press F10 to Save and Exit the BIOS.
5. Boot to the Windows 10 installation media. In my case, I'm using a CD/DVD to USB.
6. Windows 10 should then see your NVMe drive and be able to install the OS cleanly.

Friday, 27 October 2017

GAN network

https://wiseodd.github.io/techblog/2016/09/17/gan-tensorflow/

Sunday, 1 October 2017

Jupyter Latex in Thai


\usepackage[thai]{babel}


  • https://www.ctan.org/tex-archive/language/thai/thailatex
  • https://github.com/jgm/pandoc/releases/tag/1.19.2.1

Monday, 28 August 2017

openvpn note

docker
curl -fsSL get.docker.com -o get-docker.sh
sh get-docker.sh

server
https://github.com/kylemanna/docker-openvpn

client
https://askubuntu.com/questions/229800/how-to-auto-start-openvpn-client-on-ubuntu-cli

openvpn client config
1. create a config file from server [uname].ovpn
2. rename and save to $ cat /etc/openvpn/[uname].conf
3. edit /etc/default/openvpn to
AUTOSTART="all"
OPTARGS=""
OMIT_SENDSIGS=0