Skip to content

Instantly share code, notes, and snippets.

View njsoly's full-sized avatar
💭
Kickin' it.

Nate Solyntjes njsoly

💭
Kickin' it.
View GitHub Profile
@njsoly
njsoly / spotify-for-linux.txt
Last active March 21, 2017 01:57
instructions given on spotify site to try out the Spotify for Linux work-in-progress.
Debian
# 1. Add this line to your list of repositories by
# editing your /etc/apt/sources.list
deb http://repository.spotify.com stable non-free
# 2. If you want to verify the downloaded packages,
# you will need to add our public key
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 94558F59
# 3. Run apt-get update
@njsoly
njsoly / yui-console.txt
Created January 16, 2013 10:23
Include snippet for YUI's "Console"
To include the source files for Console and its dependencies, first load the YUI seed file if you haven't already loaded it.
<script src="http://yui.yahooapis.com/3.8.0/build/yui/yui-min.js"></script>
Next, create a new YUI instance for your application and populate it with the modules you need by specifying them as arguments to the YUI().use() method. YUI will automatically load any dependencies required by the modules you specify.
<script>
// Create a new YUI instance and populate it with the required modules.
YUI().use('console', function (Y) {
// Console is available and ready for use. Add implementation
// code here.