Skip to content

Instantly share code, notes, and snippets.

View beacrea's full-sized avatar

Coty Beasley beacrea

View GitHub Profile

Keybase proof

I hereby claim:

  • I am beacrea on github.
  • I am beacrea (https://keybase.io/beacrea) on keybase.
  • I have a public key ASAjKztmg3CwyDdyHzWMHS8STl_H8c5cx4MPw0c_ewoW8wo

To claim this, I am signing this object:

/*
Example SKARSTA
Desk sit/stand, white
Article Number: 490.849.65
Length: 47 1/4"
Width: 27 1/2"
http://www.ikea.com/us/en/catalog/availability/S49084965
STORE LIST
209 - AZ, Tempe
@beacrea
beacrea / destingyLFGCharUpdate.js
Last active January 6, 2016 14:51
A console command to continually update a character
// For http://www.destinylfg.com
// Execute to trigger update button every 3 seconds
// Refresh page to stop
setInterval(function(){ $('#updateMeForm').click(); }, 3000);
@beacrea
beacrea / designersmx_filterRdio.js
Last active June 10, 2016 15:38
A script to highlight rdio mixes on designers.mx
// go to https://designers.mx/mixes?page=50
var soundcloud = 'this_has_soundcloud';
var spotify = 'this_has_spotify';
var rdio = 'this_has_rdio';
/* Adds Classes To All Album Parents */
$('.indicator--rdio').closest('.mix--preview').addClass(rdio);
$('.indicator--soundcloud').closest('.mix--preview').addClass(soundcloud);
$('.indicator--spotify').closest('.mix--preview').addClass(spotify);
@beacrea
beacrea / README.md
Last active August 29, 2015 14:13 — forked from hofmannsven/README.md
@beacrea
beacrea / Dashboard.markdown
Created August 19, 2014 13:38
A Pen by Coty Beasley.
@beacrea
beacrea / whenToDropIt.js
Last active August 29, 2015 14:05
A simple case statement indicating when to ___ it like it's hot. You're welcome, world.
var situation = 'pigs';
var conditionEnd = ' like it\'s hot.';
switch (situation) {
case 'pigs':
alert('Park it' + conditionEnd);
break;
case 'pimps':
alert('Drop it' + conditionEnd);
break;
<link rel="import" href="../components/polymer/polymer.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
height: 100%;
@beacrea
beacrea / gist:11197725
Created April 22, 2014 23:19
grunt usemin fix on css assets
I use sass and only I added image dist path to assetsDirs array.
usemin image css path works like so:
usemin: {
options: {
assetsDirs: ['<%= yeoman.dist %>', '<%= yeoman.dist %>/images']
},
html: ['<%= yeoman.dist %>/{,*/}*.html'],
css: ['<%= yeoman.dist %>/styles/{,*/}*.css']
},
@beacrea
beacrea / kittenGen
Last active August 29, 2015 13:58
JSON KittenGen for http://www.json-generator.com.
[
'{{repeat(0, 100)}}',
{
picture: 'http://placekitten.com/' + '{{numeric(200,600)}}' + '/' + '{{numeric(200,600)}}',
age: '{{numeric(1, 10)}}',
name: '{{firstName()}}',
gender: '{{gender()}}'
}
]