Skip to content

Instantly share code, notes, and snippets.

Working from home

Chukkrit Visitsaktavorn jukbot

Working from home
View GitHub Profile
View gist:acfbfec8887d29f571b3b299c3e88db8
"workbench.iconTheme": "vscode-icons",
"javascript.updateImportsOnFileMove.enabled": "always",
"javascript.implicitProjectConfig.experimentalDecorators": true,
"workbench.colorTheme": "Dracula Soft",
"explorer.confirmDelete": false,
"": "/usr/local/bin/fish",
"sync.autoUpload": true,
"sync.gist": "jukbot",
"files.autoSave": "onFocusChange",
jukbot / Linux Kernel 4.2.x - 4.4.x .config
Last active Feb 20, 2020
This is Juk's linux kernel config file for vmware
View Linux Kernel 4.2.x - 4.4.x .config
# All options are required unless noted as "Optional" or under a # Begin and # End block, which is also noted as "Optional" or "Hardware Specific"
# It is important that they are selected as built-in or the kernel might fail to correctly detect the partitions and/or filesystems.
# It is a good idea to run "make defconfig" first
Device Drivers --->
Generic Driver Options --->
() path to uevent helper
[*] Maintain a devtmpfs filesystem to mount at /dev
[*] Automount devtmpfs at /dev, after the kernel mounted the rootfs
jukbot / docker-compose.yml
Last active Feb 23, 2019
Graylog 3 docker compose sample (recommended for 2 cores 4 gb)
View docker-compose.yml
version: '2'
container_name: mongodb
image: mongo:3
restart: on-failure
- mongo_data:/data/db
View vscode-settings.json
"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
View sanfrancisco-font.css
/** Ultra Light */
@font-face {
font-family: "San Francisco";
font-weight: 100;
src: url("");
jukbot /
Created Jun 28, 2018 — forked from ipbastola/
Safest way to clean up boot partition - Ubuntu 14.04LTS-x64

Safest way to clean up boot partition - Ubuntu 14.04LTS-x64


Case I: if /boot is not 100% full and apt is working

1. Check the current kernel version

$ uname -r 
View cert.json
"sid": "57130500244",
"full_name": "Chukkrit Visitsaktavorn",
"department": "Computer Science",
"faculty": "School of Information Technology",
"university": "KMUTT",
"organization": "",
"certificates": [
"title": "IBM Watson Workshop",
jukbot / google-chart-styles.html
Created Mar 13, 2018
Google chart web component timeline hover patch
View google-chart-styles.html
<dom-module id="google-chart-styles">
:host .google-visualization-tooltip-action:hover {
background-color: #eeeeee;
:host .google-visualization-tooltip {
border:solid 1px #bdbdbd;
border-radius: 2px;
View config.yml
# Javascript Node CircleCI 2.0 configuration file
# Check for more details
version: 2
working_directory: ~/bluezebra
# specify the version you desire here
jukbot /
Created Feb 8, 2018 — forked from addyosmani/
108 byte CSS Layout Debugger

CSS Layout Debugger

A tweet-sized debugger for visualizing your CSS layouts. Outlines every DOM element on your page a random (valid) CSS hex color.

One-line version to paste in your DevTools

Use $$ if your browser aliases it:

~ 108 byte version

You can’t perform that action at this time.