Skip to content

Instantly share code, notes, and snippets.

View comdet's full-sized avatar

Khomdet Phueadphut comdet

View GitHub Profile
@comdet
comdet / gist:a03c7cc3af81c2879ed814ef7f5889bc
Created August 14, 2017 19:36
Connection lost & message not delivery when stack publish
#include <MicroGear.h>
#include <ESP8266WiFi.h>
const char* ssid = edit ssid;
const char* password = password!;
#define APPID app
#define GEARKEY key
#define GEARSECRET secret
#define ALIAS "key1"
@comdet
comdet / asound.conf
Last active February 1, 2018 10:17
update using tab
pcm.!default {
type plug
slave.pcm "hifiberry"
}
ctl.!default {
type hw card 0
}
pcm.hifiberry {
type softvol
slave.pcm "plughw:0"
#include <ESP8266WiFi.h>
#include <WiFiClient.h>
#include <ESP8266WebServer.h>
#include "DHT.h"
DHT dht(D4, DHT11);
/* Set these to your desired credentials. */
const char *ssid = "comdet";
const char *password = "123456789";
#include <ESP8266WiFi.h>
#include <WiFiClient.h>
#include <ESP8266WebServer.h>
#include "DHT.h"
DHT dht(D4, DHT11);
/* Set these to your desired credentials. */
const char *ssid = "edithere";
const char *password = "123456789";
#include <ESP8266WiFi.h>
#include <WiFiClient.h>
#include <ESP8266WebServer.h>
#include "DHT.h"
DHT dht(D4, DHT11);
/* Set these to your desired credentials. */
const char *ssid = "editthis";
const char *password = "123456789";
#include <ESP8266WiFi.h>
#include <WiFiClient.h>
#include <ESP8266WebServer.h>
#include "DHT.h"
DHT dht(D4, DHT11);
/* Set these to your desired credentials. */
const char *ssid = "CL02-Wifi";
const char *password = "";
/* NETPIE ESP8266 basic sample */
/* More information visit : https://netpie.io */
#include <ESP8266WiFi.h>
#include <MicroGear.h>
const char* ssid = "CL02-Wifi";
const char* password = "";
#define APPID ""
/* NETPIE ESP8266 basic sample */
/* More information visit : https://netpie.io */
#include <DHT.h>
#include <ESP8266WiFi.h>
#include <MicroGear.h>
DHT dht(D4,DHT11);
const char* ssid = "CL02-Wifi";
const char* password = "";
#define BLYNK_PRINT Serial
#include <ESP8266WiFi.h>
#include <BlynkSimpleEsp8266.h>
#include <DHT.h>
DHT dht(D4,DHT11);
char auth[] = "73814966d02c43bfa9651769a1aaf148";
char ssid[] = "CL02-Wifi";
char pass[] = "";
BlynkTimer timer;
from selenium import webdriver
from selenium.webdriver.common.keys import Keys
import requests
import os
import time
import json
driver = webdriver.Firefox(executable_path="D:/AITOON/dataset/geckodriver.exe")
#login
driver.get("https://translate.webtoons.com/translate/tool?webtoonNo=182")