Skip to content

Instantly share code, notes, and snippets.

@compilerexe
compilerexe / Q
Last active November 3, 2018 14:53
{"address_country":"Tasker Marine is the only official Malibu boat dealer in Japan. We have established since 2002 <a href=\\\"https:\\\/\\\/www.malibuboatsasia.com\\\/japan\\\/contact-dealer#section-about-dealer\\\">...Read more<\\\/a> \\r\\n Address: 2-4-5 Yagumodai chofushi, Tochigi, Tokyo, Japan 82361 <a href=\\\"https:\\\/\\\/www.malibuboatsasia.com\\\/japan\\\/contact-dealer#section-map\\\">Get direction<\\\/a> \\r\\n <br>Call: 042-444-1125<br>Email: tada@joy.hi-ho.ne.jp","address_en":"Tasker Marine is the only official Malibu boat dealer in Japan. We have established since 2002 <a href=\\\"https:\\\/\\\/www.malibuboatsasia.com\\\/japan\\\/contact-dealer#section-about-dealer\\\">...Read more<\\\/a> \\r\\n Address: 2-4-5 Yagumodai chofushi, Tochigi, Tokyo, Japan 82361 <a href=\\\"https:\\\/\\\/www.malibuboatsasia.com\\\/japan\\\/contact-dealer#section-map\\\">Get direction<\\\/a> \\r\\n <br>Call: 042-444-1125<br>Email: tada@joy.hi-ho.ne.jp"}
[{"code":"GR","name_th":"\u0e01\u0e23\u0e35\u0e0b","name_en":"Greece"},{"code":"GL","name_th":"\u0e01\u0e23\u0e35\u0e19\u0e41\u0e25\u0e19\u0e14\u0e4c","name_en":"Greenland"},{"code":"GU","name_th":"\u0e01\u0e27\u0e21","name_en":"Guam"},{"code":"GP","name_th":"\u0e01\u0e27\u0e32\u0e40\u0e14\u0e2d\u0e25\u0e39\u0e1b","name_en":"Guadeloupe"},{"code":"KH","name_th":"\u0e01\u0e31\u0e21\u0e1e\u0e39\u0e0a\u0e32","name_en":"Cambodia"},{"code":"GT","name_th":"\u0e01\u0e31\u0e27\u0e40\u0e15\u0e21\u0e32\u0e25\u0e32","name_en":"Guatemala"},{"code":"QA","name_th":"\u0e01\u0e32\u0e15\u0e32\u0e23\u0e4c","name_en":"Qatar"},{"code":"GH","name_th":"\u0e01\u0e32\u0e19\u0e32","name_en":"Ghana"},{"code":"GA","name_th":"\u0e01\u0e32\u0e1a\u0e2d\u0e07","name_en":"Gabon"},{"code":"GY","name_th":"\u0e01\u0e32\u0e22\u0e2d\u0e32\u0e19\u0e32","name_en":"Guyana"},{"code":"GN","name_th":"\u0e01\u0e34\u0e19\u0e35","name_en":"Guinea"},{"code":"GW","name_th":"\u0e01\u0e34\u0e19\u0e35\u0e1a\u0e34\u0e2a\u0e40\u0e0b\u0e32","name_en":"Guinea-Biss
import React, { Component } from 'react'
import ReactDOM from 'react-dom'
import store from '../flux/Store'
import uuid from 'uuid'
import Modal from 'react-modal'
import { initWeightTable } from './Weight.config'
import TypeActions from '../flux/Constants'
import Dispatcher from '../flux/Dispatcher'
import { MQTT_Publish} from '../MQTT_INIT'
import React, { Component } from 'react'
import Navbar from './components/Navbar'
import Connection from './components/Connection.js'
import Device from './components/Device'
import store from './flux/Store'
import uuid from 'uuid'
import _ from 'underscore'
import Devices from './components/Devices'
class App extends Component {
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>JS Bin</title>
<script type="text/javascript"
src="https://cdnjs.cloudflare.com/ajax/libs/underscore.js/1.8.3/underscore-min.js"></script>
</head>
<body>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>JS Bin</title>
<script type="text/javascript"
src="https://cdnjs.cloudflare.com/ajax/libs/underscore.js/1.8.3/underscore-min.js"></script>
</head>
<body>
const mockup = {
'info': {
'ssid': 'CMMC-4G-GATEWAY',
'flash_size': 4194304,
'flash_id': '1640a1',
'chip_id': 'eecda8',
'sdk': '2.0.0(656edbf)',
'mac': '18:FE:34:EE:CD:A8',
'id': '15650216',
'client_id': '15650216',
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="initial-scale=1, maximum-scale=1, user-scalable=no, width=device-width">
<title>Blank App</title>
<link rel="stylesheet" href="css/jquery.mobile-1.4.5.min.css">
<style>
#page {
@compilerexe
compilerexe / purgeAndroid.txt
Created April 4, 2017 20:31 — forked from tahmidsadik/purgeAndroid.txt
How to completely remove Android Studio from Mac OS X
How to Completely Remove Android Studio
Execute these commands from the terminal
rm -Rf /Applications/Android\ Studio.app
rm -Rf ~/Library/Preferences/AndroidStudio*
rm ~/Library/Preferences/com.google.android.studio.plist
rm -Rf ~/Library/Application\ Support/AndroidStudio*
rm -Rf ~/Library/Logs/AndroidStudio*
#include <ESP8266WiFi.h>
#include <MicroGear.h>
#include "DHT.h"
#include <ArduinoJson.h>
#include <Wire.h>
#include <Adafruit_GFX.h>
#include <ESP_Adafruit_SSD1306.h>
#define OLED_RESET 4