Skip to content

Instantly share code, notes, and snippets.

@ryanhatfield
ryanhatfield / hide-slack-sidebar-icons
Last active October 4, 2023 06:13
Hide Slack Sidebar Icons
#! /usr/bin/env bash
##############
##
## A script to inject a custom style into Slack that hides the new sidebar icons.
## This script has very little error catching or extra debug output
##
## Run at your own risk.
## Anything done here can be "uninstalled" by reinstalling Slack
##
## To run Slack in debug mode, run the following:
@dacr
dacr / jvm.md
Last active August 28, 2024 22:14
jvm cheat sheet / published by https://github.com/dacr/code-examples-manager #12adcc40-b47b-48dc-9ca6-f4f3ba3df9d8/6e877c962827e60f7dd6ebf17a2e2f2cd3ed07de
from plexapi.myplex import MyPlexAccount
import os
plex_auth_info = {
"username" : os.environ['PLEX_USERNAME'],
"password" : os.environ['PLEX_PASSWORD'],
"server" : os.environ['PLEX_SERVER_NAME']
}
account = MyPlexAccount(plex_auth_info['username'], plex_auth_info['password'])