This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
sudo apt-get update | |
sudo apt-get install python3-pip python3-pil python3-numpy python3 python3-pip python3-gpiozero git | |
pip3 install RPi.GPIO spidev | |
mkdir ~/einktest | |
cd ~/einktest | |
git clone https://github.com/waveshare/e-Paper.git | |
cd e-Paper/RaspberryPi_JetsonNano/ | |
cd python/examples/ | |
echo "Run 'python3 epd_2in13g_test.py' to test" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* @name midnight | |
* @description A darkened discord theme. | |
* @author refact0r | |
* @version 1.6.2 | |
* @source https://github.com/refact0r/midnight-discord | |
* @authorId 508863359777505290 | |
*/ | |
/* IMPORTANT: make sure to enable dark mode in discord settings for the theme to apply properly!!! */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* @name Slate | |
* @author Gibbu#1211 & Tropical#8908 | |
* @version 1.1 | |
* @invite TeRQEPb | |
* @description An optimized, consistent, and functional theme for Discord based on GitHub's design language. | |
* @source https://github.com/DiscordStyles/Slate/ | |
* @website https://discordstyles.github.io/slate-theme/ | |
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div id="main"> | |
<style> | |
*{ | |
transition: all 0.6s; | |
} | |
html { | |
height: 100%; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
func openSettings() { | |
if #available(macOS 13, *) { | |
NSApp.sendAction(Selector(("showSettingsWindow:")), to: nil, from: nil) | |
} else { | |
NSApp.sendAction(Selector(("showPreferencesWindow:")), to: nil, from: nil) | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
:sid | |
set sid="" | |
FOR /F "tokens=*" %%a in ('wmic useraccount where name^='%username%' get sid') do ( | |
set b=%%a | |
if not "!b!" == "" ( | |
set skip=false | |
(echo %%a | findstr /c:"SID" >nul) && set skip=true | |
if !skip! == false ( | |
if !sid! == "" ( | |
set sid=%%a |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: "2.1" | |
services: | |
sonarr: | |
image: lscr.io/linuxserver/sonarr:latest | |
container_name: sonarr | |
environment: | |
- PUID=1000 | |
- PGID=1000 | |
- TZ=Canada/Pacific | |
volumes: |