Skip to content

Instantly share code, notes, and snippets.

View rlightner's full-sized avatar

Raine Lightner rlightner

  • Seattle, WA
  • 21:15 (UTC -07:00)
View GitHub Profile
@rlightner
rlightner / yahooLogin.js
Created September 29, 2015 05:20 — forked from idej/yahooLogin.js
getting yahoo oauth 2.0 tokens in your ionic application
//should install cordova InAppBrowser plugin
//http://docs.phonegap.com/en/edge/cordova_inappbrowser_inappbrowser.md.html
//yahoo configs
//YAHOO.clientId, clientSecret - your yahoo application values - https://developer.yahoo.com/
//YAHOO.redirectUri - your redirect uri (should be with domain that set in yahoo app configs)
var YAHOO = {
clientId: 'xxxxxxx',
clientSecret: 'xxxxxxx',
redirectUrl: 'your redirect url',
@rlightner
rlightner / Globbing.cs
Created June 24, 2016 15:32 — forked from usagirei/Globbing.cs
Globbing
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text.RegularExpressions;
// Built from the code provided in this stackoverflow question: http://stackoverflow.com/questions/398518/how-to-implement-glob-in-c-sharp
namespace Utils.Common
{
@rlightner
rlightner / jquery.flipbook.js
Created July 8, 2016 03:36 — forked from kgn/jquery.flipbook.js
jQuery plugin to display an animated image sequence.
//By David Keegan
//InScopeApps.com
//http://inscopeapps.com/demos/flipbook/
(function($){
$.fn.flipbook = function(options){
options = $.extend({
'start': 0, //start frame
'end': 100, //end frame, must be greater then start
'step': 1, //number of frames to step over while animating
@rlightner
rlightner / camphor.scss
Created December 4, 2017 18:21 — forked from bdno86/camphor.scss
camphor
$camphor300:'d09GMgABAAAAAQ5UABIAAAAEn0QAAQ3tAAEZmQAAAAAAAAAAAAAAAAAAAAAAAAAAG4SkahzOKgZgFotgAIosCCIJgnMRCAqLlgCKvTwBNgIkA5lwE4GnDguZdAAEIAW7bwcgDHJb0WS0WUXZkokWaBHx4wKbY7TigANIU/t980QCGzI/IkCsdbqJZwY1ZOgWDngIamw3I43435Dd+zJ1kNmKVp/DvXNAwaNm//////////////////+/NZkMZ5cAl0CpbZ3oiwloFA5GyIWNzOYVLt1bpXPX+pABI2fo5rMZpgVYIzYqgxt92ajECqUKh2G9gaOCVRC23VSRVypHfbvb7wYcwEM25WArF0esm1yKzDixrJRdcBGtcpBZTFbFbIl8LIU4gWOnEdSITqkoGrHWJ8ywn9eVFWWk3lC6m07qp1TXntHaWp6ekYHLrFoyzOXYiQnn2kWX2zqMaFBTca25vHKndPhJV66HRhQzL9lB3OT20KGTXuFHu62wm1qzoV/iTnaiLdc8o/D7B+1O94BrjSE3cia6U1A5XNp0kHmUj8IMBaeiGaiNJV7b1csb0bq8EWYo2h1TuipR+7hmYjxeZsonGLNcmgsKp5EUDCEj9SvRyxX2uMUNfINmfNqglBYNNtjtNmdwWV2ly4uQKheyDyka2RTRoQ3IEfs+0BNcGJ4Z5AnmHNpFbCKW5PsXkAzJ6VVzzVMo0fwIUpQQT67itTNRE946/NxDashl9KuAFUbZ6yW91vObh+WAMZ1mQ1J4wotF6KXHuo65X6wSz406hW/T6XZMf/6W+HGYUxCDfhyjPaoMGcWccmbYM/H35NdHTOd79Jg0ho/BDBvRy2vcg8pHsv07UYiKrDFeqzL0Qk7qCkXLuukl2EKuR3xS6VtsLEaT0BfWoDYoQ1YvEjjT729XNMYoCX3j+2ApedBG/UHLOJ7AAnfPSqdmmePsY+522MpfPaf7kf6fIJMn0/4SE6PmuI3yjyeGjWn+1qj/ukf09DE
@rlightner
rlightner / example.js
Created October 29, 2018 20:38 — forked from cairin/example.js
Vuex Store
// store/modules/example.js
const state = {
example: null
}
const mutations = {
setExample: function (state, payload) {
state.example = payload
}
}