I hereby claim:
- I am stevepm on github.
- I am magel (https://keybase.io/magel) on keybase.
- I have a public key ASAY63FjUZV5kzVtQqTe83GRl_-lkOAhIOkjX-cOxLjuZAo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
module Optimizely | |
module Helpers | |
module Constants | |
JSON_SCHEMA = { | |
'type' => 'object', | |
'properties' => { | |
'projectId' => { | |
'type' => 'string' | |
}, | |
'accountId' => { |
{"experiments"=> | |
[{"status"=>"Paused", | |
"percentageIncluded"=>10000, | |
"key"=>"split", | |
"trafficAllocation"=>[{"entityId"=>"6235610089", "endOfRange"=>10000}], | |
"audienceIds"=>[], | |
"variations"=>[{"id"=>"6235610089", "key"=>"original"}], | |
"forcedVariations"=>{}, | |
"id"=>"6239920018"}, | |
{"status"=>"Paused", |
(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
if (process.env.IS_MIRROR) { | |
Meteor.methods({ | |
'loadFixtures': function(){ | |
console.log('Loading default fixtures'); | |
// TODO: add your fixtures here | |
// Example below: | |
//*****EXAMPLE******** | |
//Accounts.createUser({ | |
// email: '[email protected]', | |
// password: '123456' |
<link rel="import" href="../ace-element/ace-element.html"> | |
<link rel="import" href="../chart-js/chart-js.html"> | |
<link rel="import" href="../core-ajax/core-ajax.html"> | |
<link rel="import" href="../topeka-elements/category-icons.html"> | |
<link rel="import" href="../core-icon/core-icon.html"> | |
<polymer-element name="my-element"> | |
<template> | |
<style> |
<link rel="import" href="../topeka-elements/category-images.html"> | |
<link rel="import" href="../core-icon/core-icon.html"> | |
<link rel="import" href="../core-icons/core-icons.html"> | |
<link rel="import" href="../core-icons/av-icons.html"> | |
<link rel="import" href="../paper-fab/paper-fab.html"> | |
<polymer-element name="my-element"> | |
<template> | |
<style> |
#Bluemix Instructions
rails new MY_APP_NAME -T
rails_12factor
gem to gemfile for logging purposestouch manifest.yml
to create the manifest file in your root directory, this will store your Bluemix App configCreate an app
Ruby on Rails
runtime towards the bottomcreate
function anagram(word) { | |
this.word = word; | |
this.originalWord = wordObject(word); | |
this.matches = function (wordArray) { | |
if (typeof wordArray === 'string'){ | |
wordArray = Array.prototype.slice.call(arguments); | |
} | |
var wordMatches = []; | |
for (var i = 0; i < wordArray.length; i++) { | |
var wordMatcher = wordArray[i]; |
require 'spec_helper' | |
feature 'User Profile' do | |
scenario 'a user can view their comments', js: true do | |
mock_gem | |
mock_gem('rails') | |
log_in | |
within '#most_downloaded' do | |
click_link 'faraday' | |
end |