A curated list of my GitHub stars! Generated by starred
#!/usr/bin/python3 | |
from plexapi.myplex import MyPlexAccount | |
import sys | |
import json | |
import requests | |
import time | |
import socket | |
# please make sure to install PlexAPI via pip, "pip install PlexAPI" |
from __future__ import print_function | |
import pickle | |
import os.path | |
from googleapiclient.discovery import build | |
from google_auth_oauthlib.flow import InstalledAppFlow | |
from google.auth.transport.requests import Request | |
# If modifying these scopes, delete the file token.pickle. | |
SCOPES = ['https://www.googleapis.com/auth/drive', | |
'https://www.googleapis.com/auth/drive.file', |
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.
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
/* | |
Mastodon Demetricator | |
(quick version) | |
by ben grosser, June 2019 | |
updated Nov 14, 2022 | |
https://bengrosser.com | |
To Use: |
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 |
@-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 |
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
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
Warning: this document has to be updated by pointing to https://github.com/SpenceKonde/ATTinyCore
This note describes the configuration of an ATtiny85 based microcontroller development board named Digispark and similar to the Arduino line. It is available in many online marketplaces for roughly 1 dollar (e.g., Ebay, Amazon, AliExpress) and is shipped fully assembled, including a V-USB interface (a software-only implementation of a low-speed USB device for Atmel's AVR microcontrollers). Coding is similar to Arduino: it uses the familiar Arduino IDE and is already provided with a ready-to-use bootloader (