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
View firebase_for_arduino
#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 Oct 10, 2017 — forked from nkbt/.eslintrc.js
Strict ESLint config for React, ES6 (based on Airbnb Code style)
View .eslintrc.js
{
"env": {
"browser": true,
"node": true,
"es6": true
},
"plugins": ["react"],
"ecmaFeatures": {
@jukbot
jukbot / firebase-query.html
Created Sep 24, 2017
Old Firebase-query no bug but can't take snapshot
View firebase-query.html
<!--
@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 Sep 12, 2017
firebase_query_for_polymerfire_old
View firebase-query.html
<!--
@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">
View gist:399d36bc28e94be4839cd832b9837293
#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 Apr 10, 2017
KMUTNB LECTURER EVALUATE SCRIPT (2017)
View kmutnbEval.js
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)
======================================================================
View How to build Nginx from source with ALPN support (By Juk)
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 \
@jukbot
jukbot / kmuttEval.js
Last active Apr 10, 2017
KMUTT LECTURER EVALUATE SCRIPT v2 (2015-2017)
View kmuttEval.js
How to use this Evaluate script v2
=======================================================================
1. visit http://apollo.kmutt.ac.th/newassess-std/default.aspx
2. select registered courses then enter the evaluation page.
3. right click at the browser > Inspect element > Console
4. select the script below, copy and paste it in command box.
5. enter and done!!
(Note: type "allow parsing" for first use in Firefox browser)
======================================================================
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 / student_log.txt
Created Aug 3, 2016
unsort student log file
View student_log.txt
2010 Mr.Steve Jobs
2008 Mr.Bill Gates
2015 Mr.Lary Pages
2012 Mr.Mark Zuckerburg
2005 Mr.Joe Doe
2011 Mr.Elon Musk
2014 Mr.John Smith
2010 Mr.Steve H.
2011 Ms.Jane Smith
You can’t perform that action at this time.