Skip to content

Instantly share code, notes, and snippets.

View icecoobe's full-sized avatar
🎯
Focusing

Luke icecoobe

🎯
Focusing
View GitHub Profile
@icecoobe
icecoobe / elf.h
Created February 20, 2017 16:15 — forked from mlafeldt/elf.h
elf.h for OSX
/* This is the original elf.h file from the GNU C Library; I only removed
the inclusion of feature.h, which is not needed.
On OSX, simply copy the file to /usr/local/include/.
Mathias Lafeldt <mathias.lafeldt@gmail.com> */
/* This file defines standard ELF types, structures, and macros.
Copyright (C) 1995-2003,2004,2005,2006,2007,2008,2009,2010,2011
Free Software Foundation, Inc.
@icecoobe
icecoobe / esp8266_pubsubclient.ino
Created December 15, 2021 10:09 — forked from igrr/esp8266_pubsubclient.ino
PubSubClient sample for ESP8266 Arduino
#include <PubSubClient.h>
#include <ESP8266WiFi.h>
const char* ssid = ".................";
const char* password = "................";
char* topic = "esp8266_arduino_out";
char* server = "iot.eclipse.org";
@icecoobe
icecoobe / nginx-thingsboard
Created March 23, 2022 15:36 — forked from mfalkvidd/nginx-thingsboard
Thingsboard nginx reverse proxy with websocket and HTTPS support (Let's Encrypt)
server {
listen 80;
server_name EXTERNAL_THINGSBOARD_DOMAIN.com;
if ($scheme != "https") {
return 301 https://$host$request_uri;
} # managed by Certbot
}
server {