Skip to content

Instantly share code, notes, and snippets.

View banderson623's full-sized avatar

Brian Anderson banderson623

  • Gain Compliance
  • Rocklin, CA
View GitHub Profile
@banderson623
banderson623 / svg.js
Created February 22, 2014 21:54
SVG Library
var BitByte = BitByte || {};
// Note - This needs a dom manipulation library like Zepto or jQuery
BitByte.SVG = (function($) {
"use strict";
// the constructor
var svg = function() {
//private variables
var $svg = $(arguments[0] || 'svg');
@banderson623
banderson623 / activity.scss
Created February 22, 2014 21:58
svg css + animation
svg {
width: 100%;
height: 100%;
g#clickable path,
g#clickable rect,
g#clickable text,
{
cursor: pointer;
}
http://ox-d.sbnation.com/w/1.0/acj?o=5874435405&callback=OX_5874435405&ju=http%3A//www.sbnation.com/college-football/2013/11/10/5089030/bcs-rankings-standings-2013-florida-state-ohio-state&jr=&tid=17%2C1%2C12&pgid=13535&auid=
538460
549373
320307
&c.browser_width=xlarge&c.device_type=desktop&c.network=sbn&c.entry_id=4853071&c.entry_type=article&c.hub_page=college-football&c.entry_group=1%2C7%2C17033%2C17367%2C17505%2C18451%2C18699%2C20451&c.campaign_id=1045&c.component_name=NCAA%20Content%20Takeover&c.component_id=9691&c.component_type=reskin&res=1920x1200x24&plg=swf%2Csl%2Cqt%2Cshk%2Cpm&ch=UTF-8&tz=420&sd=5
.light_theme .message {
color: #fff;
font-size: 16px;
}
.message .mention {
//background: #ccc;
//color: #f60;
font-weight: bold;
}
@banderson623
banderson623 / slack.css
Last active August 29, 2015 14:01 — forked from ritcheyer/slack.css
.light_theme .message {
color: #fff;
font-size: 16px;
}
.message .mention {
font-weight: bold;
}
.member_preview_link,
---
:random_tracker_id_token: '859691'
:advertorial: false
:hub_entry_type: article
:super_group_id: ''
:secondary_tracker_url: http://vox.com/1x1.gif
:umbel_reach_extension: false
:active_for_campaign_duration: false
:title_bar_text: Flannel organic normcore
:headline: 'PBR forage deep v selfies '
var throttle = function(timeOutInMs,funct){
var timer = 0;
return function(){
var context = this;
// no op timer running
if (timer !== 0){return;}
var doIt = function(){
funct.apply(context);
timer = 0;
};
OX.AdRequest = OX.AdRequest || function(C, q) {
var F = OX.utils,
s = F.rand(),
J, a = {},
E, H = 0,
g, l, h = {},
x = {},
m, n, D, c, d, y = {
o: s
},
enabled: true
ad_units: [
# Example
# {
# url_pattern: /polygon/,
# unit_id: 304992,
# group_id: 0, #defaults to 0
# width: 300, #defaults to 1
# height: 250, #defaults to 1
<script src="http://localhost:9292/jstag&url=http://openx.yoursite.com/w/1.0/jstag" type="text/javascript"></script>