Skip to content

Instantly share code, notes, and snippets.

Avatar
💻
I have a lot to be humble about.

Zach Saucier ZachSaucier

💻
I have a lot to be humble about.
View GitHub Profile
View Tag and rename MP3 files with "Artist - Title" formatting.py
import os, glob, eyed3
os.chdir("./")
for file in glob.glob("*.mp3"):
filename = os.path.basename(file)
if " - " in filename:
artist, track = filename.split(' - ')
audiofile = eyed3.load("./" + filename)
audiofile.initTag()
View music_library.txt
{
"Chill funk": [
"Snakehips - On & On",
"GRiZ - Wonder Why",
"Joe Cocker - Feelin' Alright.mp3",
"Daft Punk - Solar Sailer (Pretty Lights Remix)",
"Pretty Lights - A Million Tomorrows",
"Atu - Wanna Luv U",
"Pretty Lights - Pretty Lights vs. Led Zeppelin",
"Pretty Lights - Around The Block feat. Talib Kweli",
View Bash theme.md

Windows 10 setup

Step 1) In your .bashrc (you can use something like vim ~/.bashrc to get there), change the following:

This changes the color and removes the host from the bash prompt

if [ "$colo_-prompt" = yes ]; then
    PS1='${debian_chroot:+($debian_chroot)}\[\033[0;37m\]\u\[\033[00m\]:\[\033[01;96m\]\w\[\033[00m\]\$ '
else
View all_playlists.txt
{
"BBM": [
"A Day To Remember - City of Ocala",
"A Day to Remember - Right Back At It Again",
"Abandoned By Bears - Bad Luck",
"Abandoned By Bears - Counting Consequences",
"Abandoned By Bears - Heads or Tails",
"Abandoned By Bears - We Are Never Ever Getting Back Together (Taylor Swift Cover)",
"As I Lay Dying - Defender",
"Asking Alexandria - The Road",
View Web-page-desktop-background.ahk
SetTitleMatchMode, 2
Run "C:\Program Files (x86)\Opera Next\launcher.exe" --new-window http://glslsandbox.com/e#33294.3
WinWait, Opera
IfWinExist, Opera
{
WinActivate, Opera
Send {F11}
#Persistent
SetTimer, CheckBottom, 100
return
View hide-segments.css
/* Hide some things I dislike seeing when I read articles */
script {
display: none;
}
[class = "ad"],
[class *= "ads"],
[class ^= "ad-"],
[class ^= "ad_"],
[class *= "-ad-"],
View dark-theme.css
@import 'https://fonts.googleapis.com/css?family=Open+Sans';
* {
-webkit-box-sizing: border-box;
box-sizing: border-box;
}
body {
font-family: 'Open Sans', sans-serif;
line-height: 1.75em;
@ZachSaucier
ZachSaucier / Color-list-nth-type-input.scss
Last active Aug 29, 2015
Generated by SassMeister.com.
View Color-list-nth-type-input.scss
// ----
// libsass (v3.2.5)
// ----
$colors: #FF0097,
#A200FF,
#00ABA9,
#8CBF26,
#1BA1E2,
#E671B8,
You can’t perform that action at this time.