Skip to content

Instantly share code, notes, and snippets.

💭
Looking for remote Linux Admin roles

Jim O'Connell jimoconnell

💭
Looking for remote Linux Admin roles
Block or report user

Report or block jimoconnell

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View google_speak.md

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

This document is Deprecated and will no longer be updated!

see https://github.com/jimoconnell/GoogleSpeak for the latest version

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

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.

@jimoconnell
jimoconnell / tmux.md
Created Sep 23, 2016 — forked from andreyvit/tmux.md
tmux cheatsheet
View tmux.md

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
View Mobile-test
Apparently you *can* edit gists using working copy and textastic, but it's hardly intuitive
@jimoconnell
jimoconnell / init.lua
Last active Feb 12, 2017
Code by HoracioBouzas, formatted for use with ESPlorer
View init.lua
--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";
View gist:6ca90cbecac3dc216dd2
// Copied from:
// http://www.instructables.com/id/Interface-a-rotary-phone-dial-to-an-Arduino/?ALLSTEPS
// By Instructables user guidomax
int needToPrint = 0;
int count;
int in = 2;
int lastState = LOW;
int trueState = LOW;
long lastStateChangeTime = 0;
int cleared = 0;
View 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 Jan 2, 2016
Stuff to get for the move
View todo.txt
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/
View Pajama Factory Structures.geojson
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@jimoconnell
jimoconnell / foo.geojson
Last active Dec 30, 2015
test of geojson rendering
View foo.geojson
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@jimoconnell
jimoconnell / gist:7266453
Created Nov 1, 2013
Instantiate Jquery accordion with all tabs closed
View gist:7266453
jQuery( ".accordion" ).accordion({
collapsible: true,
autoHeight: false,
active: false
});
You can’t perform that action at this time.