Skip to content

Instantly share code, notes, and snippets.

View HaroldPetersInskipp's full-sized avatar
💉
Social Distancing

Inskipp HaroldPetersInskipp

💉
Social Distancing
View GitHub Profile
@tylerneylon
tylerneylon / learn.lua
Last active May 16, 2024 05:47
Learn Lua quickly with this short yet comprehensive and friendly script. It's written as both an introduction and a quick reference. It's also a valid Lua script so you can verify that the code does what it says, and learn more by modifying and running this script in your Lua interpreter.
-- Two dashes start a one-line comment.
--[[
Adding two ['s and ]'s makes it a
multi-line comment.
--]]
----------------------------------------------------
-- 1. Variables and flow control.
----------------------------------------------------
@LeCoupa
LeCoupa / nodejs-cheatsheet.js
Last active June 4, 2024 09:34
Complete Node.js CheatSheet --> UPDATED VERSION --> https://github.com/LeCoupa/awesome-cheatsheets
/* *******************************************************************************************
* THE UPDATED VERSION IS AVAILABLE AT
* https://github.com/LeCoupa/awesome-cheatsheets
* ******************************************************************************************* */
// 0. Synopsis.
// http://nodejs.org/api/synopsis.html
@prasertsakd
prasertsakd / webserver.ino
Last active January 9, 2023 23:36
Webserver for Arduino ESP8266
//Leonardo
Serial_ & dbgTerminal = Serial;
HardwareSerial & espSerial = Serial1;
////UNO & M328P
//#include <SoftwareSerial.h>
//SoftwareSerial dbgTerminal(10, 11); // RX, TX
//HardwareSerial & espSerial = Serial;
//
#include <Servo.h>
#include <ESP8266WiFi.h>
#include <ESP8266WebServer.h>
const char* ssid = "your-ssid";
const char* pass = "your-password";
ESP8266WebServer server(80);
Servo myservo;
@DeanCording
DeanCording / Template_ESP8266.ino
Last active April 29, 2023 03:23
ESP8266 Arduino project template with optional OTA firmware update
/**
* ESP8266 project template with optional:
* - WiFi config portal - auto or manual trigger
* - OTA update - Arduino or web server
* - Deep sleep
* - Process timeout watchdog
*
* Copyright (c) 2016 Dean Cording <dean@cording.id.au>
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
@brainstorm
brainstorm / esp32_promisc.c
Last active June 16, 2024 14:47
esp32 promiscuous mode and packet injection experiments
// Espressif ESP32 promiscuous mode and packet injection experiments
// by brainstorm at nopcode org
#include "freertos/FreeRTOS.h"
#include "esp_wifi.h"
#include "esp_wifi_internal.h"
#include "lwip/err.h"
#include "esp_system.h"
#include "esp_event.h"
#include "esp_event_loop.h"
@42Bots
42Bots / ESP8266-74HC595-ShiftOut.ino
Last active January 9, 2023 23:35
ESP8266 with a shift register 74HC595 programmed with the Arduino IDE
/* Example of using ES8266 with a 74HC595 shift register
** the ShiftOut function without any libraries
** LEDs will count from 0 to 255 in binary
** For more details, see http://42bots.com
--------------------------------------------------------
** Connections:
** ESP8266 GPIO13 to 74HC595 pin 14
** ESP8266 GPIO15 to 74HC595 pin 12
** ESP8266 GPIO14 to 74HC595 pin 11
** 74HC595 Vcc is connected to 3.3V
@gjlawran
gjlawran / Template_ESP8266.ino
Last active January 9, 2023 23:38 — forked from DeanCording/Template_ESP8266.ino
ESP8266 Arduino project template with optional OTA firmware update
/**
* ESP8266 project template with optional:
* - WiFi config portal - auto or manual trigger
* - OTA update - Arduino or web server
* - Deep sleep
* - Process timeout watchdog
*
* Copyright (c) 2016 Dean Cording <dean@cording.id.au>
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
@cyrus007
cyrus007 / Template_ESP8266.ino
Last active January 9, 2023 23:39 — forked from DeanCording/Template_ESP8266.ino
ESP8266 Arduino project template with optional OTA firmware update
/**
* ESP8266 project template with optional:
* - WiFi config portal - auto or manual trigger
* - OTA update - Arduino or web server
* - Deep sleep
* - Process timeout watchdog
*
* Copyright (c) 2016 Dean Cording <dean@cording.id.au>
* Modified by Swapan <swapan@yahoo.com>
*
@donovankeith
donovankeith / ArduinoOSC.ino
Last active January 9, 2023 23:35
Simple test project for driving RGB led with OSC messages.
/*
Send and receive OSC messages between NodeMCU and another OSC speaking device.
Send Case: Press a physical button (connected to NodeMCU) and get informed about it on your smartphone screen
Receive Case: Switch an LED (connected to NodeMCU) on or off via Smartphone
Written by Jackson Campbell <jcampbell@calarts.edu>
Modified by Donovan Keith <dkeith@calarts.edu>
for [Augmenting Realities](https://sites.google.com/view/augmentingrealities/home)