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 / 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.
@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 / Desktop.ini
Created February 28, 2013 23:39
A sample Desktop.ini file, for providing details about directories in Windows Explorer. I used the one that the PortapbleApps.com platform created for itself, which sets it up with an icon and a tooltip.
[.ShellClassInfo]
InfoTip=Text goes here becomes a tooltip for hovering over the folder in Exlorer.
IconFile=.\wherever-icons-are-kept\SomeIcon.ico
IconIndex=0
/*
* Lab1.asm
*
* Author: njsoly
*/
.include "m8515def.inc"
.def temp = r16
@njsoly
njsoly / eclipse update sites
Last active December 15, 2015 08:19
Eclipse Update Sites
Android ADT Plugin Site https://dl-ssl.google.com/android/eclipse/
@njsoly
njsoly / bash.bashrc
Last active July 11, 2017 15:45
System-wide .bashrc for interactive shells.
# System-wide .bashrc file for interactive bash(1) shells.
# To enable the settings / commands in this file for login shells as well,
# this file has to be sourced in /etc/profile.
# If not running interactively, don't do anything
[ -z "$PS1" ] && return
# check the window size after each command and, if necessary,
# update the values of LINES and COLUMNS.
@njsoly
njsoly / ipa.txt
Created March 16, 2017 22:01
ipa
/səlˈɪntʃəs/
@njsoly
njsoly / javascript_resources.md
Created September 4, 2018 10:13 — forked from jookyboi/javascript_resources.md
Here are a set of libraries, plugins and guides which may be useful to your Javascript coding.

Libraries

  • jQuery - The de-facto library for the modern age. It makes things like HTML document traversal and manipulation, event handling, animation, and Ajax much simpler with an easy-to-use API that works across a multitude of browsers.
  • Backbone - Backbone.js gives structure to web applications by providing models with key-value binding and custom events, collections with a rich API of enumerable functions, views with declarative event handling, and connects it all to your existing API over a RESTful JSON interface.
  • AngularJS - Conventions based MVC framework for HTML5 apps.
  • Underscore - Underscore is a utility-belt library for JavaScript that provides a lot of the functional programming support that you would expect in Prototype.js (or Ruby), but without extending any of the built-in JavaScript objects.
  • lawnchair - Key/value store adapter for indexdb, localStorage
@njsoly
njsoly / python_resources.md
Created September 4, 2018 10:13 — forked from jookyboi/python_resources.md
Python-related modules and guides.

Packages

  • lxml - Pythonic binding for the C libraries libxml2 and libxslt.
  • boto - Python interface to Amazon Web Services
  • Django - Django is a high-level Python Web framework that encourages rapid development and clean, pragmatic design.
  • Fabric - Library and command-line tool for streamlining the use of SSH for application deployment or systems administration task.
  • PyMongo - Tools for working with MongoDB, and is the recommended way to work with MongoDB from Python.
  • Celery - Task queue to distribute work across threads or machines.
  • pytz - pytz brings the Olson tz database into Python. This library allows accurate and cross platform timezone calculations using Python 2.4 or higher.

Guides

@njsoly
njsoly / 2>&1
Created January 6, 2019 08:02
2>&1
2>&1