Replace cli with serialInterface if you're using an older version of esp8266_deauther!
In the end of setup():
pinMode(D5, INPUT_PULLUP); // enable button pin
pinMode(D4, OUTPUT); // enable LED pin
In the beginning of loop():
| #!/usr/bin/env perl | |
| #+ | |
| # Name: | |
| # counter.pl | |
| # Language: | |
| # Perl |
| #!/usr/bin/env perl | |
| #+ | |
| # Name: | |
| # counter.pl | |
| # Language: | |
| # Perl |
| // A proxy for sending/receiving SMS via IRC | |
| // | |
| // This code is part of our family IRC server whose code is available at | |
| // https://gist.github.com/mndrix/7947009178e4a18c247b4bd25821661f | |
| // | |
| // This file won't compile by itself because it's only one file from | |
| // my larger family server (movie hosting, Asterisk dialplan, Git | |
| // hosting, personal assistant, etc). | |
| // | |
| // Copyright 2018 Michael Hendricks |
| # test_camera.py | |
| # | |
| # Open an RTSP stream and feed image frames to 'openalpr' | |
| # for real-time license plate recognition. | |
| import numpy as np | |
| import cv2 | |
| from openalpr import Alpr | |
| ## Y-Tunnukseen perustuva domainejen haku (.fi) | |
| ## Esimerkki: getdomains 1093944-1 # MTV Oy | |
| # Laita tämä .bashrc tai .zshrc | |
| # Käyttöesimerkkejä: | |
| # Looppaa Y-tunnuksetn kaikki domainit läpi ja tee kysely | |
| # for i in $(getdomains 1093944-1); do echo $i && host -t cname www.$i; done |
| Terminal Commands: | |
| One webcam: | |
| ffmpeg -f alsa -ac 2 -i hw:1,0 -f v4l2 -s 1280x720 -r 10 -i /dev/video1 -vcodec libx264 -pix_fmt yuv420p -preset ultrafast -r 25 -g 20 -b:v 2500k -codec:a libmp3lame -ar 44100 -threads 6 -b:a 11025 -bufsize 512k -f flv rtmp://a.rtmp.youtube.com/live2/YOURSTREAMNAMEHERE | |
| Two webcam overlay: | |
| ffmpeg -f alsa -ac 2 -i hw:1,0 -f v4l2 -s 1280x720 -r 10 -i /dev/video1 -f v4l2 -s 320x240 -r 10 -i /dev/video0 -filter_complex "[1:v]setpts=PTS-STARTPTS[bg]; [2:v]setpts=PTS-STARTPTS[fg]; [bg][fg]overlay=shortest=1 [out]" -map "[out]" -map 0:a -vcodec libx264 -pix_fmt yuv420p -preset veryfast -r 25 -g 20 -b:v 2500k -codec:a libmp3lame -ar 44100 -threads 6 -b:a 11025 -bufsize 512k -f flv rtmp://a.rtmp.youtube.com/live2/YOURSTREAMNAMEHERE |
| ========================================================================== | |
| DO NOT WRITE ANY QUESTIONS IN COMMENTS | |
| ========================================================================== | |
| This is not appropriate place for discussions. Keep this list FW-only. | |
| I do NOT have any firmware files apart from published here or on 4pda. Please do not contact me for firmware files requests. | |
| This is a list of files found on Huawei update server by brute-forcing URL parameters. | |
| Some firmware files have changelogs. Just change file name to "changelog.xml" in the end of the URL. |
Replace cli with serialInterface if you're using an older version of esp8266_deauther!
In the end of setup():
pinMode(D5, INPUT_PULLUP); // enable button pin
pinMode(D4, OUTPUT); // enable LED pin
In the beginning of loop():
| #include <ESP8266WiFi.h> | |
| #include <WiFiClient.h> | |
| #include <ESP8266mDNS.h> | |
| #include <WiFiUdp.h> | |
| #include <PubSubClient.h> | |
| #define RELAY 4 // pin labelled d2 | |
| // Update these with values suitable for your network. | |
| const char* ssid = "YOURWIFI"; |
| import requests, json | |
| from subarucreds import username,password,pin # just a "subarucreds.py" that has some variables i didn't want to share | |
| import datetime | |
| #login | |
| s=requests.Session() | |
| loginr=s.post('https://www.mysubaru.com/login', data = {'username':username,'password':password}) | |
| #should return a response 200 | |
| #Where's my subaru? |