Skip to content

Instantly share code, notes, and snippets.

View jukbot's full-sized avatar
🏠
Working from home

Juk - a search builder jukbot

🏠
Working from home
  • CalCal
  • Bangkok, Thailand
  • X @jukbot
View GitHub Profile
@jukbot
jukbot / keybase.md
Created January 8, 2018 19:40
keybase-verify

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:

@jukbot
jukbot / shared-style.html
Last active January 7, 2018 22:29
for review
<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 {
@jukbot
jukbot / temp data
Last active November 13, 2017 05:19
result = [
{
"job_cycle": [
3,
7,
8
],
"job_setup": [
5,
5,
#include <TM1637Display.h>
#include <Arduino.h>
#include <Firebase.h>
#include <FirebaseArduino.h>
#include <FirebaseCloudMessaging.h>
#include <FirebaseError.h>
#include <FirebaseHttpClient.h>
#include <FirebaseObject.h>
#include <time.h>
#include <ESP8266WiFi.h>
@jukbot
jukbot / .eslintrc.js
Created October 10, 2017 23:31 — forked from nkbt/.eslintrc.js
Strict ESLint config for React, ES6 (based on Airbnb Code style)
{
"env": {
"browser": true,
"node": true,
"es6": true
},
"plugins": ["react"],
"ecmaFeatures": {
@jukbot
jukbot / firebase-query.html
Created September 24, 2017 13:40
Old Firebase-query no bug but can't take snapshot
<!--
@license
Copyright 2016 Google Inc. All Rights Reserved.
Use of this source code is governed by a BSD-style
license that can be found in the LICENSE file or at
https://github.com/firebase/polymerfire/blob/master/LICENSE
-->
<link rel="import" href="../polymer/polymer.html">
<link rel="import" href="firebase-database-behavior.html">
@jukbot
jukbot / firebase-query.html
Created September 12, 2017 11:17
firebase_query_for_polymerfire_old
<!--
@license
Copyright 2016 Google Inc. All Rights Reserved.
Use of this source code is governed by a BSD-style
license that can be found in the LICENSE file or at
https://github.com/firebase/polymerfire/blob/master/LICENSE
-->
<link rel="import" href="../polymer/polymer.html">
<link rel="import" href="firebase-database-behavior.html">
#include <Firebase.h>
#include <FirebaseArduino.h>
#include <FirebaseCloudMessaging.h>
#include <FirebaseError.h>
#include <FirebaseHttpClient.h>
#include <FirebaseObject.h>
#include <ESP8266WiFi.h>
#include <DHT.h>
#include <Wire.h>
#include <time.h>
@jukbot
jukbot / kmutnbEval.js
Last active April 10, 2017 16:59
KMUTNB LECTURER EVALUATE SCRIPT (2017)
How to use this Evaluate script
=======================================================================
1. visit https://grade.icit.kmutnb.ac.th/en/courselist.aspx?
2. select registered courses then enter the evaluation page.
3. right click at any radio button of the form !! then Inspect > Console
4. choose the script below only 1 script per enter, copy and paste it in command box.
5. enter and done!!
(Note: type "allow parsing" for first use in Firefox browser)
======================================================================
How to install and build nginx from source with ALPN support (used by http2 in Google Chrome)
1. download, config, make and then make install lastest openssl, zlib, pcre from source website (Note that pcre)
2. yum groupinstall 'Development Tools' -y && yum update
3. sudo yum install wget curl unzip gcc-c++ pcre-devel zlib-devel
4. download latest nginx source and cd into it
5. config below
./configure \