- OSX with Homebrew installed
brew update
<?xml version="1.0" encoding="UTF-8"?> | |
<Response> | |
<Play>https://dl.dropboxusercontent.com/s/wa5ygkovh90mhjv/phone.mp3?dl=0</Play> | |
<Dial>516-860-8404</Dial> | |
</Response> |
# ipak function: install and load multiple R packages. | |
# check to see if packages are installed. Install them if they are not, then load them into the R session. | |
ipak <- function(pkg){ | |
new.pkg <- pkg[!(pkg %in% installed.packages()[, "Package"])] | |
if (length(new.pkg)) | |
install.packages(new.pkg, dependencies = TRUE) | |
sapply(pkg, require, character.only = TRUE) | |
} |
git clone --depth=1 --branch=master [email protected]:desmondmorris/node-boilerplate.git new-project && rm -rf !$/.git && git init |
{ | |
"name": "Static Template", | |
"description": "", | |
"details": "A static sample Power-Up hosted on GitHub pages. Feel free to fork [this repository](https://github.com/trello/power-up-template) as a starting point for your own Power-Up.", | |
"icon": { | |
"url": "./images/logo.png" | |
}, | |
"author": "Trello Inc", | |
"capabilities": [ | |
"attachment-sections", |
module.exports = function (event) { | |
if (!event.name) return Promise.reject(new Error('You must supply a name.')) | |
return Promise.resolve(`Hello ${event.name}!`) | |
} |
diff --git a/robots.txt b/robots.txt | |
index ff9e286..1f53798 100644 | |
--- a/robots.txt | |
+++ b/robots.txt | |
@@ -1,57 +1,2 @@ | |
-# | |
-# robots.txt | |
-# | |
-# This file is to prevent the crawling and indexing of certain parts | |
-# of your site by web crawlers and spiders run by sites like Yahoo! |
module['exports'] = function simpleHttpRequest (hook) { | |
// npm modules available, see: http://hook.io/modules | |
var request = require('request'); | |
request.get('http://httpbin.org/ip', function(err, res, body){ | |
if (err) { | |
return hook.res.end(err.messsage); | |
} | |
hook.res.end(body); | |
}) | |
}; |
diff --git a/robots.txt b/robots.txt | |
index ff9e286..21ea432 100644 | |
--- a/robots.txt | |
+++ b/robots.txt | |
@@ -1,57 +1 @@ | |
-# | |
-# robots.txt | |
-# | |
-# This file is to prevent the crawling and indexing of certain parts | |
-# of your site by web crawlers and spiders run by sites like Yahoo! |
name: i am an ab test | |
hypothesis: I think that removing underlines from links will increases clicks | |
type: split | |
cap: 10000 | |
audience: | |
- mobile | |
url: /^\/stories/[0-9]*\/.*/ | |
variants: | |
without-underline: | |
affect: $('a').css('decoration', 'none'); |