Skip to content

Instantly share code, notes, and snippets.

View dieseltravis's full-sized avatar
🆗
I'm ok

Travis Hardiman dieseltravis

🆗
I'm ok
View GitHub Profile
@tiagofreire-pt
tiagofreire-pt / self-signed-certificate-with-custom-ca-for-home-assistant.md
Last active March 16, 2024 23:47 — forked from fntlnz/self-signed-certificate-with-custom-ca.md
Self Signed Certificate with Custom Root CA for Home Assistant

Create Root Certificate Authority and self-signed certificate for your Home Assistant. Compatible with Chrome browser > version 58, including the macOS Catalina 10.15 / iOS 13 (and above) new requirements.

Create Root Key

Attention: this is the key used to sign the certificate requests, anyone holding this can sign certificates on your behalf. So keep it in a safe place!

openssl genrsa -des3 -out rootCA.key 4096
@bengrosser
bengrosser / mastodon-demetricator.css
Last active November 20, 2022 07:02
Mastodon Demetricator
/*
Mastodon Demetricator
(quick version)
by ben grosser, June 2019
updated Nov 14, 2022
https://bengrosser.com
To Use:
@AnielaMW
AnielaMW / p_and_p.rb
Last active March 11, 2019 22:08
Pride and Prejudice Ruby Logic
puts "Pride and Prejudice Logic"
# It is a truth universally acknowledged, that a single man in possession of a good fortune, must be in want of a wife.
class Man
attr_reader :truth
def initialize (name, single, fortune)
@fortune = fortune
@single = single
@jessamynwest
jessamynwest / peacefuleasygmail.css
Last active April 23, 2024 18:35
Slightly calmer gmail
@-moz-document url-prefix("https://mail.google.com/mail/") {
/*
*****
This style is based off of Nicer New Gmail but it's really more of a slash and burn approach.
NO COLORS except tiny bit of red and yellow and some blue I can't get rid of.
I know just enough CSS to be dangerous and not enough to really make things work correctly. Some things it
chokes on:
- tabs! I don't use them so who cares what they look like
- hangout/chat tab - I disabled this as soon as they added it, maybe it's blue, I don't know
@bwestergard
bwestergard / jan16.md
Created February 26, 2018 19:20
Lanetix Union: Email To Management (January 16, 2018)

To the management of Lanetix,

We, the software engineers of Lanetix in Washington and San Francisco, are proud to announce that we are unionizing with the News Guild (Communication Workers of America).

For many workers in our industry, hopping from firm to firm as challenges arise is a lamentable but unquestioned mode of life. Today, we demonstrate a new approach.

By organizing, we rise to the challenge of preserving and strengthening culture which has attracted an unusually diverse and distinguished team. With a collective voice on the job, we can successfully navigate the productive tensions that are part and parcel of growth in a turbulent industry.

We are united in our resolve to achieve consistency in titles and salaries, recruitment of talented staff engineers, regular raises, scheduled appraisals on an objective basis, 401k matching, just cause for termination, and rational work from home, paid time off, and overtime policies. But beyond these prosaic objectives, we aim to set a new standard for tr

@narfdotpl
narfdotpl / README.md
Created July 4, 2017 17:06
Quick note about ESP32 servo test

In this video I used TCP sockets. I have since switched to UDP sockets with no buffering. Results are similarly smooth but servos are more responsive.

I use the following setup:

  • SparkFun ESP32 Thing
  • MG92B servos
  • ESP32 is an access point (creates a wifi network) and a UDP socket server
  • gamepad communicates with the phone over bluetooth
  • phone joins the wifi network and sends data to the UDP socket
  • I need only one-way communication
@churro-s
churro-s / LetsEncrypt_HTTPS_plex.MD
Last active February 25, 2024 11:52
Setup Let's Encrypt certificate for use with Plex Media Server on Ubuntu
@fntlnz
fntlnz / self-signed-certificate-with-custom-ca.md
Last active May 26, 2024 06:07
Self Signed Certificate with Custom Root CA

Create Root CA (Done once)

Create Root Key

Attention: this is the key used to sign the certificate requests, anyone holding this can sign certificates on your behalf. So keep it in a safe place!

openssl genrsa -des3 -out rootCA.key 4096
@churro-s
churro-s / LetsEncrypt_HTTPS_SABnzbd.MD
Last active July 18, 2023 23:03
Setup Let's Encrypt certificate for use with SABnzbd+

I just discovered Let's Encrypt and wanted to get myself a free cert for use with my SABnzbd+ installation at home. Here's my setup:

  • Home server running Ubuntu 14.04.5 LTS (GNU/Linux 3.13.0-93-generic x86_64)
  • SABNzbd+ 0.7.16 running on server
  • Netgear Nighthawk R6900 home router
  • Dynamic hostname from no-ip.org, which I'll use for this setup

Preparation

I have a dynamic hostname from no-ip.org, which I use to access my home network. I have port forwarding set up on my Netgear router to access the programs running on my home server. See my port forwarding settings on my comment below.

@tzapu
tzapu / AutoConnectWithHTTPServer
Created February 8, 2016 07:25
WiFiManager auto connect and start a http web server
#include <ESP8266WiFi.h> //https://github.com/esp8266/Arduino
//needed for library
#include <DNSServer.h>
#include <ESP8266WebServer.h>
#include "WiFiManager.h" //https://github.com/tzapu/WiFiManager
std::unique_ptr<ESP8266WebServer> server;
void handleRoot() {