Skip to content

Instantly share code, notes, and snippets.

View beacrea's full-sized avatar

Coty Beasley beacrea

View GitHub Profile
<link rel="import" href="../components/polymer/polymer.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
height: 100%;
@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;
@beacrea
beacrea / Dashboard.markdown
Created August 19, 2014 13:38
A Pen by Coty Beasley.
@beacrea
beacrea / README.md
Last active August 29, 2015 14:13 — forked from hofmannsven/README.md
@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 / 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);
/*
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

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:

@beacrea
beacrea / delete-channel-messages.js
Created March 5, 2018 20:35 — forked from firatkucuk/delete-slack-messages.js
Deletes slack public/private channel messages.
var https = require('https');
// CONFIGURATION #######################################################################################################
var token = 'SLACK TOKEN';
var channel = 'CHANNEL ID';
var privateChannel = false;
var delay = 300; // delay between delete operations in millisecond
// GLOBALS #############################################################################################################
@beacrea
beacrea / fiddle.html
Created March 11, 2018 02:38 — forked from anonymous/fiddle.html
Content Object to HTML (source: https://jsfiddle.net/beacrea/v8q5av86/)
<div id="container"></div>