Skip to content

Instantly share code, notes, and snippets.

Avatar
🏠
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,
"terminal.integrated.shell.osx": "/usr/local/bin/fish",
"sync.autoUpload": true,
"sync.gist": "jukbot",
"files.autoSave": "onFocusChange",
@jukbot
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
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'
services:
mongodb:
container_name: mongodb
image: mongo:3
restart: on-failure
volumes:
- mongo_data:/data/db
elasticsearch:
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
/**
* 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");
}
@jukbot
jukbot / clean-up-boot-partition-ubuntu.md
Created Jun 28, 2018 — forked from ipbastola/clean-up-boot-partition-ubuntu.md
Safest way to clean up boot partition - Ubuntu 14.04LTS-x64
View clean-up-boot-partition-ubuntu.md

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

Reference

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": "www.sit.kmutt.ac.th",
"certificates": [
{
"title": "IBM Watson Workshop",
@jukbot
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">
<template>
<style>
: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 https://circleci.com/docs/2.0/language-javascript/ for more details
#
version: 2
jobs:
build:
working_directory: ~/bluezebra
docker:
# specify the version you desire here
@jukbot
jukbot / README.md
Created Feb 8, 2018 — forked from addyosmani/README.md
108 byte CSS Layout Debugger
View README.md

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.