This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| //The opening quote before the http:// was a malformed weird quote ( like copied from word ) | |
| function makeFrame() { | |
| div = document.createElement("div"); | |
| div.setAttribute("id","ad-tag"); | |
| div.style.width = 100 + "%"; | |
| div.style.height = 100 + "%"; | |
| document.body.appendChild(div); | |
| ifrm = document.createElement("IFRAME"); | |
| ifrm.setAttribute("src","http://cdn.pressly.com.s3.amazonaws.com/clients/thestar/cancerresearch/ads/summersun/index.min-1.html"); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| PostsRoute = Ember.Route.extend | |
| model: (params) -> | |
| @store.find 'post', | |
| iteration: @modelFor('iteration').get('id') | |
| setupController: (controller, model) -> | |
| controller.set 'model', model | |
| controller.set 'iteration', @modelFor('iteration') |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| newConcept.save().then => | |
| bucket | |
| .get('concepts').pushObject newConcept | |
| .reload() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* the below will only apply when the screen is at least 450px in width */ | |
| @media(min-width: 450px){ | |
| #collection-52e354dce4b0b88a274647c4 nav a { | |
| color: white !important; | |
| } | |
| } | |
| /* this will tell the index overlay to be visible on anything under 450px */ | |
| @media(max-width: 450px){ | |
| .index-overlay{ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "bold_folder_labels": true, | |
| "caret_style": "phase", | |
| "color_scheme": "Packages/Dracula Color Scheme/Dracula.tmTheme", | |
| "fade_fold_buttons": false, | |
| "font_size": 14, | |
| "highlight_line": true, | |
| "ignored_packages": | |
| [ | |
| "Vintage" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // this is my goal JSON output | |
| { | |
| post:{ | |
| ... | |
| comments: [1,2,3] | |
| }, | |
| comments:[{ | |
| comment:{ | |
| ... |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/local/bin/ruby -w | |
| require 'csv' | |
| require 'iconv' unless String.method_defined?(:encode) | |
| ## THE MAIN FILE TO IMPORT FROM | |
| CSV_FILE_PATH = File.join(File.dirname(__FILE__), "eloqua_20140130.csv") | |
| ## THE BASE NAME AND LOCATION OF EXPORT FILES |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Tracker.prototype.transport = function(data) { | |
| var defer; | |
| defer = $.Deferred(); | |
| switch (data.type) { | |
| case "clickthrough": | |
| /* | |
| EYE RETURN -- THIS IS A CLICKTHROUGH | |
| YOU CAN ACCESS THE ID OF THE EVENT VIA data.id | |
| */ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| class ApplicationController < ActionController::Base | |
| protect_from_forgery with: :null_session | |
| before_filter :authenticate | |
| after_filter :test | |
| serialization_scope :view_context | |
| protected | |
| def current_user |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # View: | |
| @Aplat.module "CommandCenterApp.Show", (Show, CommandCenterApp, Backbone, Marionette, $, _) -> | |
| class Show.CommandCenter extends App.Views.ItemView | |
| template: "command_center/show/templates/_command_center" | |
| tagName: "li" | |
| class Show.CommandCenters extends App.Views.CollectionView | |
| template: 'command_center/show/templates/command_center' |