Skip to content

Instantly share code, notes, and snippets.

View ZachSaucier's full-sized avatar
💻
I have a lot to be humble about.

Zach Saucier ZachSaucier

💻
I have a lot to be humble about.
View GitHub Profile
@ZachSaucier
ZachSaucier / Color-list-nth-type-input.scss
Last active August 29, 2015 14:25
Generated by SassMeister.com.
// ----
// libsass (v3.2.5)
// ----
$colors: #FF0097,
#A200FF,
#00ABA9,
#8CBF26,
#1BA1E2,
#E671B8,
@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;
/* Hide some things I dislike seeing when I read articles */
script {
display: none;
}
[class = "ad"],
[class *= "ads"],
[class ^= "ad-"],
[class ^= "ad_"],
[class *= "-ad-"],
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
{
"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",

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
{
"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",
import os, glob, eyed3
os.chdir("./")
for file in glob.glob("*.mp3"):
filename = os.path.basename(file)
if " - " in filename:
artist, track = filename.split(' - ')
if "".__eq__(track):
track = artist
artist = ""
float dist = 0.5*0.5 - (m.x * m.x + m.y * m.y);
float t = mix( dist / border, 1., max(0., sign(dist - border)) );
gl_FragColor = mix(color0, color1, t);
interface YearDropdownPluginConfig {
text: string;
theme: string;
date: Date;
yearStart: number;
yearEnd: number;
}
const yearDropdownPlugin = function ({
text = "",