This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
DREAMS=5 | |
#use 6 numbers important | |
ITERATIONS=5 | |
FILE=$1 | |
## Get the file name and path | |
LOCALPATH="$(dirname "$FILE")" | |
LOCALPATHSLASH="$LOCALPATH/" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf8"> | |
<title>Simple Webcam Viewer</title> | |
<link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet" | |
integrity="sha384-wvfXpqpZZVQGK6TAh5PVlGOfQNHSoD2xbE+QkPxCAFlNEevoEH3Sl0sibVcOQVnN" crossorigin="anonymous"> | |
<style> | |
* { | |
box-sizing: border-box; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
#update apt-get | |
apt-get update | |
#replace syslog with busybox | |
apt-get install busybox-syslogd | |
dpkg --purge rsyslog | |
#remove problem packages |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "TimerOne.h" | |
#include <Adafruit_NeoPixel.h> | |
#define PIN 6 // neopixel pin | |
// How many NeoPixels are attached to the Arduino? | |
#define NUMPIXELS 16 | |
bool pixOn = false; //holds current value of pixels |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <ESP8266WiFi.h> | |
#include <WiFiClient.h> | |
//how many clients should be able to telnet to this ESP8266 | |
#define MAX_SRV_CLIENTS 1 | |
/* Set these to your desired credentials. */ | |
const char *ssid = "ESPtelnet"; | |
const char *password = "password"; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <ESP8266WiFi.h> | |
// Connection Settings | |
const char* ssid = "YourSSID"; | |
const char* password = "YourPasskey"; | |
// show debug output data on serial | |
// shows rssi readings when true | |
bool debug = false; |
NewerOlder