See how a minor change to your commit message style can make a difference. Examples
Have a look at CLI util git-conventional-commits to ensure this conventions and generate changelogs
/*** | |
GitHub page: https://github.com/elad2412/the-new-css-reset | |
***/ | |
/* | |
Remove all the styles of the "User-Agent-Stylesheet", except for the 'display' property | |
- The "symbol *" part is to solve Firefox SVG sprite bug | |
- The "html" attribute is exclud, because otherwise a bug in Chrome breaks the CSS hyphens property (https://github.com/elad2412/the-new-css-reset/issues/36) | |
*/ | |
*:where( |
const express = require('express') | |
const next = require('next') | |
const Cache = require('lru-cache'); | |
const compression = require('compression') | |
const port = parseInt(process.env.PORT, 10) || 3000 | |
const dev = process.env.NODE_ENV !== 'production' | |
const app = next({ dev }) |
// Google Play API Key | |
// ref: http://stackoverflow.com/questions/35127086/android-inapp-purchase-receipt-validation-google-play | |
// ref: https://developers.google.com/android-publisher/authorization | |
// ref: http://google.github.io/google-api-nodejs-client/18.0.0/index.html#toc14__anchor | |
// | |
// install npm package | |
// ref: https://github.com/google/google-api-nodejs-client | |
// $ npm install googleapis --save | |
// | |
const google = require('googleapis'); |
See how a minor change to your commit message style can make a difference. Examples
Have a look at CLI util git-conventional-commits to ensure this conventions and generate changelogs
export const subDistricts = [ | |
{ "SUB_DISTRICT_ID": 1, "SUB_DISTRICT_CODE": "100101", "SUB_DISTRICT_NAME": "พระบรมมหาราชวัง", "DISTRICT_ID": 1, "PROVINCE_ID": 1, "GEO_ID": 2 }, | |
{ "SUB_DISTRICT_ID": 2, "SUB_DISTRICT_CODE": "100102", "SUB_DISTRICT_NAME": "วังบูรพาภิรมย์", "DISTRICT_ID": 1, "PROVINCE_ID": 1, "GEO_ID": 2 }, | |
{ "SUB_DISTRICT_ID": 3, "SUB_DISTRICT_CODE": "100103", "SUB_DISTRICT_NAME": "วัดราชบพิธ", "DISTRICT_ID": 1, "PROVINCE_ID": 1, "GEO_ID": 2 }, | |
{ "SUB_DISTRICT_ID": 4, "SUB_DISTRICT_CODE": "100104", "SUB_DISTRICT_NAME": "สำราญราษฎร์", "DISTRICT_ID": 1, "PROVINCE_ID": 1, "GEO_ID": 2 }, | |
{ "SUB_DISTRICT_ID": 5, "SUB_DISTRICT_CODE": "100105", "SUB_DISTRICT_NAME": "ศาลเจ้าพ่อเสือ", "DISTRICT_ID": 1, "PROVINCE_ID": 1, "GEO_ID": 2 }, | |
{ "SUB_DISTRICT_ID": 6, "SUB_DISTRICT_CODE": "100106", "SUB_DISTRICT_NAME": "เสาชิงช้า", "DISTRICT_ID": 1, "PROVINCE_ID": 1, "GEO_ID": 2 }, | |
{ "SUB_DISTRICT_ID": 7, "SUB_DISTRICT_CODE": "100107", "SUB_DISTRICT_NAME": "บวรนิเวศ", "DISTRICT_ID": 1, "PROVINCE_ID": |
export const zipcode = [ | |
{ | |
ZIPCODE_ID: 1, | |
SUB_DISTRICT_CODE: '100101', | |
PROVINCE_ID: '1', | |
DISTRICT_ID: '1', | |
SUB_DISTRICT_ID: '1', | |
ZIPCODE: '10200', | |
}, | |
{ |
export const districts = [ | |
{ DISTRICT_ID: 1, DISTRICT_CODE: '1001', DISTRICT_NAME: 'เขตพระนคร', GEO_ID: 2, PROVINCE_ID: 1 }, | |
{ DISTRICT_ID: 2, DISTRICT_CODE: '1002', DISTRICT_NAME: 'เขตดุสิต', GEO_ID: 2, PROVINCE_ID: 1 }, | |
{ DISTRICT_ID: 3, DISTRICT_CODE: '1003', DISTRICT_NAME: 'เขตหนองจอก', GEO_ID: 2, PROVINCE_ID: 1 }, | |
{ DISTRICT_ID: 4, DISTRICT_CODE: '1004', DISTRICT_NAME: 'เขตบางรัก', GEO_ID: 2, PROVINCE_ID: 1 }, | |
{ DISTRICT_ID: 5, DISTRICT_CODE: '1005', DISTRICT_NAME: 'เขตบางเขน', GEO_ID: 2, PROVINCE_ID: 1 }, | |
{ DISTRICT_ID: 6, DISTRICT_CODE: '1006', DISTRICT_NAME: 'เขตบางกะปิ', GEO_ID: 2, PROVINCE_ID: 1 }, | |
{ DISTRICT_ID: 7, DISTRICT_CODE: '1007', DISTRICT_NAME: 'เขตปทุมวัน', GEO_ID: 2, PROVINCE_ID: 1 }, | |
{ DISTRICT_ID: 8, DISTRICT_CODE: '1008', DISTRICT_NAME: 'เขตป้อมปราบศัตรูพ่าย', GEO_ID: 2, PROVINCE_ID: 1 }, | |
{ DISTRICT_ID: 9, DISTRICT_CODE: '1009', DISTRICT_NAME: 'เขตพระโขนง', GEO_ID: 2, PROVINCE_ID: 1 }, |
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. | |
# |