Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am smolz on github.
  • I am smolz (https://keybase.io/smolz) on keybase.
  • I have a public key ASCr3vGFA2dU1l5BlmsJQmpqNng4UBS-SSEzho0s9iIebQo

To claim this, I am signing this object:

@smolz
smolz / license-badges.md
Created March 12, 2019 22:09 — forked from lukas-h/license-badges.md
Markdown License Badges for your Project

Markdown License badges

Collection of License badges for your Project's README file.
This list includes the most common open source and open data licenses.
Easily copy and paste the code under the badges into your Markdown files.

Notes

@smolz
smolz / cisco_mfg_date.py
Created October 28, 2017 00:47 — forked from austind/cisco_mfg_date.py
A PEP8-compliant module that parses a modern Cisco serial number into an approximate date of manufacture
#!/usr/bin/env python
import re
from datetime import date, timedelta
def cisco_mfg_date(serial):
"""Parses a Cisco serial number into an approximate manufacture date.
Modern Cisco serial numbers encode the device's year and week-of-year
@smolz
smolz / iterm2-solarized.md
Created August 23, 2017 23:22 — forked from kevin-smets/iterm2-solarized.md
iTerm2 + Oh My Zsh + Solarized color scheme + Meslo powerline font + [Powerlevel9k] - (macOS)

Default

Default

Powerlevel9k

Powerlevel9k

@smolz
smolz / rubix_cube.yaml
Created January 18, 2017 17:04 — forked from jjensn/rubix_cube.yaml
Rubix Light Cube for Home Assistant
- alias: "Magic Cube"
hide_entity: false
trigger:
- platform: state
# this is a smartthings multisensor, connected via MQTT from a SmartThings hub to Home Assistant
entity_id: sensor.magic_cube
action:
- service: light.turn_on
entity_id:
# any lights you want to change would go here