Skip to content

Instantly share code, notes, and snippets.

View jimoconnell's full-sized avatar
🎯
Focusing

Jim O'Connell jimoconnell

🎯
Focusing
View GitHub Profile
@jimoconnell
jimoconnell / install_webmin.bash
Created January 11, 2024 14:57
install_webmin.bash
sudo apt update
curl -fsSL https://download.webmin.com/jcameron-key.asc | sudo gpg --dearmor -o /usr/share/keyrings/webmin.gpg
echo 'deb [signed-by=/usr/share/keyrings/webmin.gpg] http://download.webmin.com/download/repository sarge contrib' | tee >> /etc/apt/sources.list
sudo apt update
sudo apt install webmin -y
echo "From https://www.digitalocean.com/community/tutorials/how-to-install-webmin-on-ubuntu-22-04"

#################################################################################

This document is Deprecated and will no longer be updated!

#################################################################################

Make Your Google Home Speak

This document outlines how to have your Google Home or other Google Cast device speak a string, using IFTTT, CURL, MQTT, or Python.

Like a well-behaved child, your Google Home speaks only when spoken to.

Keybase proof

I hereby claim:

  • I am jimoconnell on github.
  • I am jimoconnell (https://keybase.io/jimoconnell) on keybase.
  • I have a public key ASAtBUxG7taIRHgiSSz2N-usYxHFy9fp41In4l3_GHZ4vAo

To claim this, I am signing this object:

@jimoconnell
jimoconnell / default.j2
Created October 17, 2019 15:08 — forked from perfecto25/default.j2
Python function to send email using a Jinja HTML template
<style type="text/css">
@font-face {
font-family: 'Open Sans';
font-style: normal;
font-weight: 300;
src: local('Open Sans Light'), local('OpenSans-Light'), url(http://fonts.gstatic.com/s/opensans/v13/DXI1ORHCpsQm3Vp6mXoaTa-j2U0lmluP9RWlSytm3ho.woff2) format('woff2');
unicode-range: U+0460-052F, U+20B4, U+2DE0-2DFF, U+A640-A69F;
}
.body {
width: 90%;
@jimoconnell
jimoconnell / init.lua
Last active February 12, 2017 21:05
Code by HoracioBouzas, formatted for use with ESPlorer
--http://www.instructables.com/id/ESP8266-based-web-configurable-wifi-general-purpos-1/
--Code by HoracioBouzas, formatted for use with ESPlorer by jimoconnell
print("WIFI control");
-- put module in AP mode
wifi.setmode(wifi.SOFTAP);
print("ESP8266 mode is: " .. wifi.getmode());
cfg={};
-- Set the SSID of the module in AP mode and access password
cfg.ssid="ESP8266";
cfg.pwd="passwordpassword";
@jimoconnell
jimoconnell / tmux.md
Created September 23, 2016 15:09 — forked from andreyvit/tmux.md
tmux cheatsheet

tmux cheat sheet

(C-x means ctrl+x, M-x means alt+x)

Prefix key

The default prefix is C-b. If you (or your muscle memory) prefer C-a, you need to add this to ~/.tmux.conf:

remap prefix to Control + a

@jimoconnell
jimoconnell / Mobile-test
Last active July 3, 2016 12:11
Mobile test
Apparently you *can* edit gists using working copy and textastic, but it's hardly intuitive
@jimoconnell
jimoconnell / warnings
Created January 8, 2014 15:23
Fraud Warnings
Alabama "A person who knowingly and with intent to injure, defraud, or deceive an insurance company files a claim containing false, incomplete or misleading information may be prosecuted under this title.”
Arizona "Any person who knowingly presents a false or fraudulent claim for payment for a loss or benefit or knowingly presents false information in an application for insurance is guilty of a crime and may be subject to fines and confinement in prison.” "
Arkansas "Any person who knowingly presents a false or fraudulent claim for payment for a loss or benefit or knowingly presents false information in an application for insurance is guilty of a crime and may be subject to fines and confinement in prison”.
California "For your protection California law requires the following to appear on this form: Any person who knowingly presents false or fraudulent claim for the payment of a loss is guilty of a crime and may be subject to fines and confinement in state prison."
@jimoconnell
jimoconnell / todo.txt
Last active January 2, 2016 08:19
Stuff to get for the move
Networking Stuff:
1000 feet of Cat5e, crimper kit and strain relief boots:
http://www.amazon.com/Cat5e-Ethernet-Cable-000ft-Cat-5e/dp/B0092TG310/
http://www.amazon.com/Cable-Tester-Crimper-Connector-Network/dp/B008UY5WL0/
http://www.amazon.com/Cable-Matters-4-Pack-Strain-Relief/dp/B0049QNV70/
Will we be running through walls? If so, fish tape would be handy:
http://www.amazon.com/JAYBRAKE-31-010-Ideal-50-Ft-Fish/dp/B00E4TCORA/
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.