Skip to content

Instantly share code, notes, and snippets.

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>DERP GIFS</title>
<meta name="description" content="Fomo Derp Gifs">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<style type="text/css">
img {
@dodeja
dodeja / meta.log
Created October 21, 2015 20:11
Metabase herou logs
2015-10-21T20:04:20.100285+00:00 heroku[api]: Enable Logplex by [email protected]
2015-10-21T20:04:20.100343+00:00 heroku[api]: Release v2 created by [email protected]
2015-10-21T20:04:35.021995+00:00 heroku[api]: Attach DATABASE resource by [email protected]
2015-10-21T20:04:35.021995+00:00 heroku[api]: Release v3 created by [email protected]
2015-10-21T20:04:36.028775+00:00 heroku[api]: Attach MAILGUN resource by [email protected]
2015-10-21T20:04:36.028775+00:00 heroku[api]: Release v4 created by [email protected]
2015-10-21T20:04:42.696118+00:00 heroku[slug-compiler]: Slug compilation started
2015-10-21T20:04:42.696128+00:00 heroku[slug-compiler]: Slug compilation finished
2015-10-21T20:04:42.564280+00:00 heroku[api]: Scale to web=1 by [email protected]
2015-10-21T20:04:42.633826+00:00 heroku[api]: Deploy 48521ae by [email protected]
@dodeja
dodeja / com.dodo.gotosleep.plist
Created October 21, 2015 04:42
A simple script that pops a notification at 10PM and reminds me to go-to-sleep.
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN"
"http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Label</key>
<string>com.dodo.gotosleep</string>
<key>KeepAlive</key>
<false/>
<key>RunAtLoad</key>
@dodeja
dodeja / cf.html
Created June 6, 2014 23:40
concert feed
<div id="concert-feed" class="ember-view small-12 large-3 columns docked-right"><header class="row collapse"><div class="small-16 large-16 columns"><h1>Concert Feed</h1><div id="concert-feed-sponsor" class="ember-view"><a href="/r/promotion_ad/feed-sponsor" target="_blank" rel="nofollow" class="promo-ad"><img src="/r/promotion_ad/feed-sponsor.jpg" onerror="this.style.display = 'none';"></a></div></div></header><script id="metamorph-24-start" type="text/x-placeholder"></script><script id="metamorph-24-end" type="text/x-placeholder"></script><script id="metamorph-25-start" type="text/x-placeholder"></script><div id="concert-feed-connect"><h2>Don't miss your faves. Make it personal.</h2><a class="concert-feed-facebook"><i class="icon-facebook"></i>Connect with Facebook</a></div><script id="metamorph-25-end" type="text/x-placeholder"></script><ul id="ember776" class="ember-view feed"><li id="ember805" class="ember-view event-item"><script id="metamorph-27-start" type="text/x-placeholder"></script><script id="meta
{ "buy_link" : "http://concerts.livenation.com/event/1C004B679D414D99",
"canceled" : false,
"created_at" : "2013-11-11T15:17:40Z",
"end_time" : "2014-03-29T08:00:00Z",
"id" : "evt_304330",
"images" : [ ],
"lat" : "37.783951",
"lineup" : [ { "bio" : null,
"id" : "art_43802",
"images" : [ ],
@dodeja
dodeja / pdp8_benchmark.rb
Created December 12, 2013 19:31
PDP 8 Benchmarking tool - Instruction Set Simulation Tool
#-----------------------------------------------------------------------------------------------------
# => ECE 486 Project 1
# => PDP 8 Benchmarking tool
# => Instruction Set Simulation Tool
# => Akshay Dodeha | Matt Curren | David Richoux | Anil Palli
#-----------------------------------------------------------------------------------------------------
require 'PDP8_stats'
class PDP8
staging:
adapter: postgresql
encoding: unicode
database: livenation-platform_staging
host: localhost
development:
adapter: postgresql
encoding: unicode
App.ApplicationController = Ember.Controller.extend
needs: ['location_changer']
locationChangerController: Ember.computed.alias('controllers.location_changer')
currentLocation: Ember.computed.alias('locationChangerController.selected')
promotions: []
onSales: (->
lat = @get "currentLocation.lat"
lng = @get "currentLocation.lng"
$("#searchbox").autocomplete
source: (req, add) ->
terms = LN.helpers.luceneEscape(req.term).split " "
querystring = " "
for term in terms
do (term) ->
if term != ''
querystring = querystring + " name.start:" + term
two_days_ago = moment().utc().subtract('days', 2).format("YYYY-MM-DDTHH:mm:ss") + "Z"