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,
"terminal.integrated.shell.osx": "/usr/local/bin/fish",
"sync.autoUpload": true,
"sync.gist": "jukbot",
"files.autoSave": "onFocusChange",
@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
@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:

View shared-style.html
<link rel="import" href="../../bower_components/polymer/polymer-element.html">
<dom-module id="shared-styles">
<template>
<style>
:host {
display: block;
}
/* Picnic CSS v6.4.0 */
html {
You can’t perform that action at this time.