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
| <!doctype html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="utf-8" /> | |
| <meta name="viewport" content="width=device-width, initial-scale=1" /> | |
| <title>RUM Without Limits is coming to your Adobe org — Datadog TAM Announcement</title> | |
| <meta name="description" content="A TAM announcement for Adobe business units on the upcoming RUM Without Limits entitlement: what changed, what you gain, your two paths at renewal, and configuration steps." /> | |
| <meta property="og:title" content="RUM Without Limits is coming to your Adobe org" /> | |
| <meta property="og:description" content="A TAM announcement for Adobe business units on the upcoming RUM Without Limits entitlement." /> | |
| <meta property="og:type" content="article" /> |
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
| function CustomMetrics() { | |
| var tag_array = HelpCenter.user.tags; | |
| tag_array.forEach(function(tag){ | |
| if (tag.startsWith('fin.')){ | |
| var role = tag.replace(/fin./g, ""); | |
| ga('set', 'dimension2', role); | |
| } else { | |
| ga('set', 'dimension1', tag); | |
| } | |
| }) |
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
| /* | |
| Run the script with node, using the request and request-promise packages | |
| $ npm init --yes && npm install request request-promise --save | |
| Also, don't forget to update client_id and secret with your own. | |
| */ | |
| const request = require('request-promise'); | |
| const options = { |
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
| require 'intercom' | |
| namespace :sync do | |
| desc "Migrate tags table with full list of intercom tags" | |
| task :tag_list => :environment do | |
| intercom = IntercomHelper.api | |
| intercom.tags.all.each do |tag| | |
| if Tag.where(tag_id: tag.id).count == 0 |
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
| desc "Update relevant Intercom metrics -> AppOptics metrics" | |
| task :log_librato_metrics => :environment do | |
| c = Librato::Metrics | |
| c.authenticate(ENV['AO_METRICS_TOKEN'], '') | |
| intercom = IntercomHelper.api | |
| intercom_ao = IntercomHelper.appoptics | |
| # general conversation stats | |
| [intercom, intercom_ao].each do |i| | |
| i.app == 'i5t8536a' ? app = 'Librato' : app = 'AppOptics' | |
| i.app_id == ENV['INTERCOM_APP_ID'] ? app = 'Librato' : app = 'AppOptics' |
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
| require 'nokogiri' | |
| require 'open-uri' | |
| require 'csv' | |
| sitemap = nil | |
| #pull in sitemap list and parse values into an array | |
| open('https://www.rei.com/sitemap-product.xml') do |f| | |
| sitemap = f.read | |
| end |
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 package (aka part) is a example which will help guide you build a new Autoparts package. | |
| # https://github.com/nitrous-io/autoparts | |
| # In order to create a new package you will need to provide the following information when creating a pull request: | |
| # * Package Name | |
| # * Version | |
| # * Description | |
| # * Source URL (official release source which package will always be located at) | |
| # * Filetype (the extension of the file) |
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
| angular.module('todo', ['ionic','firebase']) | |
| /** | |
| * The Projects factory handles saving and loading projects | |
| * from local storage, and also lets us save and load the | |
| * last active project index. | |
| */ | |
| .factory('Projects', function() { | |
| return { | |
| all: function() { | |
| var projectString = window.localStorage['projects']; |