Skip to content

Instantly share code, notes, and snippets.

📺
Actively interviewing

Brendon John Muschamp brendonjohn

📺
Actively interviewing
Block or report user

Report or block brendonjohn

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@brendonjohn
brendonjohn / spotify-previousTrack
Last active Nov 1, 2019
A script that actually plays the previous Spotify track.
View spotify-previousTrack
#!/usr/bin/env bash
osascript -e 'tell application "Spotify" to set player position to 0'
osascript -e 'tell application "Spotify" to previous track'
echo -n -e "\033]0;previousTrack\007"
osascript -e 'tell application "Terminal" to close (every window whose name contains "previousTrack")' &
exit 0
View README.md

Font Face

A mixin for writing @font-face rules in SASS.

Usage

Create a font face rule. Embedded OpenType, WOFF2, WOFF, TrueType, and SVG files are automatically sourced.

@include font-face(Samplino, fonts/Samplino);
You can’t perform that action at this time.