Skip to content

Instantly share code, notes, and snippets.

🏠
Working from home

Chukkrit Visitsaktavorn jukbot

🏠
Working from home
Block or report user

Report or block jukbot

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@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

@jukbot
jukbot / keybase.md
Created Jan 8, 2018
keybase-verify
View keybase.md

Keybase proof

I hereby claim:

  • I am jukbot on github.
  • I am jukbot (https://keybase.io/jukbot) on keybase.
  • I have a public key ASDMZCSH_wrD5FNEA1KBkT4LRJdLUbn-Ml7xuQgKRiIZbwo

To claim this, I am signing this object:

You can’t perform that action at this time.