This is inspired by A half-hour to learn Rust and Zig in 30 minutes.
Your first Go program as a classical "Hello World" is pretty simple:
First we create a workspace for our project:
export const provinces = [ | |
{ PROVINCE_ID: 1, PROVINCE_CODE: '10', PROVINCE_NAME: 'กรุงเทพมหานคร', GEO_ID: 2 }, | |
{ PROVINCE_ID: 2, PROVINCE_CODE: '11', PROVINCE_NAME: 'สมุทรปราการ', GEO_ID: 2 }, | |
{ PROVINCE_ID: 3, PROVINCE_CODE: '12', PROVINCE_NAME: 'นนทบุรี', GEO_ID: 2 }, | |
{ PROVINCE_ID: 4, PROVINCE_CODE: '13', PROVINCE_NAME: 'ปทุมธานี', GEO_ID: 2 }, | |
{ PROVINCE_ID: 5, PROVINCE_CODE: '14', PROVINCE_NAME: 'พระนครศรีอยุธยา', GEO_ID: 2 }, | |
{ PROVINCE_ID: 6, PROVINCE_CODE: '15', PROVINCE_NAME: 'อ่างทอง', GEO_ID: 2 }, | |
{ PROVINCE_ID: 7, PROVINCE_CODE: '16', PROVINCE_NAME: 'ลพบุรี', GEO_ID: 2 }, | |
{ PROVINCE_ID: 8, PROVINCE_CODE: '17', PROVINCE_NAME: 'สิงห์บุรี', GEO_ID: 2 }, | |
{ PROVINCE_ID: 9, PROVINCE_CODE: '18', PROVINCE_NAME: 'ชัยนาท', GEO_ID: 2 }, |
# === Optimized my.cnf configuration for MySQL/MariaSQL (on Ubuntu, CentOS etc. servers) === | |
# | |
# by Fotis Evangelou, developer of Engintron (engintron.com) | |
# | |
# ~ Updated February 2021 ~ | |
# | |
# | |
# The settings provided below are a starting point for a 8-16 GB RAM server with 4-8 CPU cores. | |
# If you have different resources available you should adjust accordingly to save CPU, RAM & disk I/O usage. | |
# |
This is inspired by A half-hour to learn Rust and Zig in 30 minutes.
Your first Go program as a classical "Hello World" is pretty simple:
First we create a workspace for our project:
{ | |
"workbench.iconTheme": "vscode-icons", | |
"javascript.updateImportsOnFileMove.enabled": "always", | |
"javascript.implicitProjectConfig.experimentalDecorators": true, | |
"workbench.colorTheme": "Dracula Soft", | |
"explorer.confirmDelete": false, | |
"terminal.integrated.shell.osx": "/usr/local/bin/fish", | |
"sync.autoUpload": true, | |
"sync.gist": "jukbot", | |
"files.autoSave": "onFocusChange", |
version: '2' | |
services: | |
mongodb: | |
container_name: mongodb | |
image: mongo:3 | |
restart: on-failure | |
volumes: | |
- mongo_data:/data/db | |
elasticsearch: |
{ | |
"editor.smoothScrolling": true, | |
"vetur.format.defaultFormatter.js": "vscode-typescript", | |
"vetur.format.defaultFormatter.html": "js-beautify-html", | |
"editor.formatOnSave": false, | |
"eslint.autoFixOnSave": true, | |
"eslint.alwaysShowStatus": true, | |
"eslint.validate": [{ | |
"language": "vue", | |
"autoFix": true |
/** | |
* http://applemusic.tumblr.com/ | |
*/ | |
/** Ultra Light */ | |
@font-face { | |
font-family: "San Francisco"; | |
font-weight: 100; | |
src: url("https://applesocial.s3.amazonaws.com/assets/styles/fonts/sanfrancisco/sanfranciscodisplay-ultralight-webfont.woff2"); | |
} |
$ uname -r
{ | |
"sid": "57130500244", | |
"full_name": "Chukkrit Visitsaktavorn", | |
"department": "Computer Science", | |
"faculty": "School of Information Technology", | |
"university": "KMUTT", | |
"organization": "www.sit.kmutt.ac.th", | |
"certificates": [ | |
{ | |
"title": "IBM Watson Workshop", |
<dom-module id="google-chart-styles"> | |
<template> | |
<style> | |
:host .google-visualization-tooltip-action:hover { | |
background-color: #eeeeee; | |
} | |
:host .google-visualization-tooltip { | |
border:solid 1px #bdbdbd; | |
border-radius: 2px; |