Skip to content

Instantly share code, notes, and snippets.

View DanH42's full-sized avatar

Dan Hlavenka DanH42

View GitHub Profile
@DanH42
DanH42 / gmail-dematerialize.css
Last active June 21, 2020 17:29
Make the new Gmail design look like the old one
/* ==UserStyle==
@name Gmail - Dematerialize
@namespace gist.github.com/DanH42
@version 1.1.7
@description Make the new Gmail design look like the old one
@author Dan Hlavenka
@updateURL https://gist.github.com/DanH42/599cbdc85f53a0377042d8c418aec78e/raw
@preprocessor less
==/UserStyle== */
@jordam
jordam / magiclight.py
Created August 13, 2015 12:59
A script to control MagicLight and other cheap wifi rgb lights
import socket, time
s = socket.socket()
address = ''
port = 5577
r = 0
g = 255
b = 0
keybit = "31".replace(':', '').decode('hex')
keybit += chr(r) + chr(g) + chr(b)
keybit += "00:f0:0f".replace(':', '').decode('hex')
@DanH42
DanH42 / blackfacebook.css
Last active July 30, 2020 19:14
Changes Facebook from blue to black
/* Top bar */
#blueBarNAXAnchor, ._4f7n, ._2s1x ._2s1y{
background-image: none !important;
background-color: #333 !important;
border-bottom-color: #222 !important;
}#blueBarNAXAnchor:after, ._4f7n:after, ._2s1x ._2s1y:after{
background: none !important;
}
/* Notification Icon */