Skip to content

Instantly share code, notes, and snippets.

View validkeys's full-sized avatar

Kyle Davis validkeys

  • Belongs to one
  • Toronto, ON
View GitHub Profile
{
"asset_id": "000a120a0000e5f1c3c4398d",
"asset_title": "Intel IT developing enterprise social computing strategy paper",
"article_src_domain": "ibr.isgearform.com",
"account_id": "001ef7ca0000edb232906077",
"keen": {
"timestamp": "2014-07-22T19:08:10.392Z",
"created_at": "2014-07-22T19:08:10.392Z",
"id": "53ceb69a33e4067cccc88a8e"
},
@validkeys
validkeys / start-app.js
Last active August 29, 2015 14:04
My Ember-CLI start-app.js
/* global require */
var Application = require('client/app')['default'];
var Router = require('client/router')['default'];
import Ember from 'ember';
// Because I want to see the final state of each
// test visually in the preview window, I only reset the app
// in the setup method of each module. Which ofcourse causes an issue because the last
// test run in a module doesn't destroy the app before the next module -- leading to an error
ersion: 36
************* startProtect 2datetime: Mon Jul 21 2014 13:15:57 GMT-0400 (Eastern Daylight Time)
***************** AddSPShowAd clsPlugin.IsShowAD: 0
***************** AddSPShowAd clsPlugin.IsShowADName:
************** IsShowAD Off
************* startProtect 2datetime: Mon Jul 21 2014 13:15:57 GMT-0400 (Eastern Daylight Time)
***************** AddSPShowAd clsPlugin.IsShowAD: 0
***************** AddSPShowAd clsPlugin.IsShowADName:
************** IsShowAD Off
Initializing Google Analytics.
@validkeys
validkeys / Component Usage
Created July 29, 2014 12:40
Validated Ember Input
{{v-input classNames="spec-fn" value=first_name name="first_name" model=model}}
@currentModel.save().then(=>
@transitionTo 'project', @currentModel
, (error) =>
console.debug(error)
)
@resource 'users', path: '/users' ->
# routes that are nested within the users template
@resource 'user', path: '/users/:id' ->
# the URL looks nested but the views arent
<!DOCTYPE html>
<html>
<head>
<title></title>
</head>
<body>
<script type="text/javascript" src="http://static.ziffdavis.com/js/zdgurgle/zdgurgler.min.js"> </script>
<script type="text/javascript">
function build_script( url ){
test 'I should be able to accept as MVP', ->
expect 2
login()
andThen(->
visit(baseUrl).then(->
App.__container__.lookup("store:main").find('userStory', 2)
).then((story) ->
model = story
equal(model.get('mvp'), false, "The user story is non mvp")
# ).then(->
<script type="text/javascript">
// *******************************************************
// *********** BlueKAI Pixel Tracker **********
// *******************************************************
document.addEventListener( "DOMContentLoaded", function(){
if(typeof angular !== 'undefined'){
var _BK_els = [], _BK_els_cache = [];
_BK_els = [
<div id="pressly-embed" style="min-height: 100%;" data-pressly-hub="//purposeinvest.pressly.com/purpose-invest/?embedded=true"></div>
<script type="text/javascript" src="//cdn.pressly.com/pressly-app-embed.js"></script>