Skip to content

Instantly share code, notes, and snippets.

@h3x89
h3x89 / README.md
Created December 30, 2015 14:20 — forked from pszypowicz/README.md

##Description Simple Dashing widget (and associated job) to display general puppetdb status. Pulled the api calls from Nedap's Puppetboard. Excellent tool BTW.

This config is configured for working with HTTPS, but if you dont want to use it(HTTPS), you could just remove lines 4-16 from puppetdb_stats.rb file.

You have to generate client certs on puppetmaster/puppetca with following line:

$ puppet cert generate puppetdb_dashing
@h3x89
h3x89 / youtube-dl.md
Last active July 1, 2020 15:23
Using youtube-dl to download courses from Pluralsight

Download courses from learning sides with youtube-dl

You can download whole courses from an array of tutorial sides with the CLI tool youtube-dl. In the example further down I'm using my Popularside account to get videos from a course at their side. Here is a list of all supported sides that you can download from with this tool

The flags you have to supply may vary depending on which side you make a request to.

You can get a free 3 month trial to Popularside by signing up for free to Visual Studio Dev Essentials

Installation

@h3x89
h3x89 / iterm2.md
Created October 2, 2018 09:09 — forked from squarism/iterm2.md
iterm2 cheatsheet

Tabs and Windows

Function Shortcut
Fullscreen + Enter
Previous Tab + Left Arrow
Next Tab + Right Arrow
Go to Tab + Number
Go to Window + Option + Number
Go to Split Pane by Direction + Option + Arrow
@h3x89
h3x89 / Install HA
Last active December 10, 2020 18:07
#!/usr/bin/env bash
set -e
# https://hejdom.pl/blog/22-home-assistant/190-home-assistant-sprzet-dell-wyse-dx0d.html
# curl -sL "https://gist.githubusercontent.com/h3x89/20f9b99bb24e141e4c3d8d707ceaf109/raw/d660d0b8ca348e83a1374ac32e25f92692d0e58b/Install%2520HA" | bash -s
# works on hp t620 and ubuntu 20.04 server