Skip to content

Instantly share code, notes, and snippets.

@BernCarney
BernCarney / index.html
Created August 8, 2018 05:04
PURE CSS SIDEBAR TOGGLE MENU
<div class="header"></div>
<input type="checkbox" class="openSidebarMenu" id="openSidebarMenu">
<label for="openSidebarMenu" class="sidebarIconToggle">
<div class="spinner diagonal part-1"></div>
<div class="spinner horizontal"></div>
<div class="spinner diagonal part-2"></div>
</label>
<div id="sidebarMenu">
<ul class="sidebarMenuInner">
<li>Jelena Jovanovic <span>Web Developer</span></li>
@BernCarney
BernCarney / custom aliases.zsh
Last active November 7, 2017 17:42
Useful Aliases and Functions
# Named Directories
hash -d proj=/mnt/d/DevProjects/
# Aliases
alias -g gp=' | grep -i'
# Show all alias related docker
dalias() { alias | grep 'docker' | sed "s/^\([^=]*\)=\(.*\)/\1 => \2/"| sed "s/['|\']//g" | sort; }
# Bash into running container
@BernCarney
BernCarney / docker_start.PS1
Created October 15, 2017 05:19
Powershell script to start, stop, and restart my jekyll dev container (and clear unsused containers)
#
# Script to start, stop, restart Jekyll Dev Environment container
#
# Set default parameter set
[cmdletbinding(DefaultParameterSetName='container')]
# Intialize parameters
param (
[Parameter(Mandatory = $true)]
@BernCarney
BernCarney / FreeNAS11 Media Stack.md
Last active May 1, 2023 20:31
FreeNAS 11 - Jails setup for Plex, NGINX, PlexPy, Sonarr, Radarr, Jackett, Ombi, and Nzbget

FreeNAS 11 setup for Plex, PlexPy, Sonarr, Radarr, Jackett, NZBGet, Organizr, NGinx, and Ombi

I am currently working on updating this guide after updating my media server. I have added notes on things I no longer use but may update those sections in the future for users who still use them. As of now, I have everything working with the exception of Ombi and the plugins I no longer use.