This file contains 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
var Q = require('q'), | |
twilio = require('twilio'); | |
var accountVerification = require('../lib/helpers/accountVerification'); | |
describe('accountVerification', function () { | |
var phoneNumbers, phoneNumbersGet, phoneNumbersGetDefer, | |
sendMessage, sendMessageDefer, | |
messages, messagesGet, messagesGetDefer; | |
beforeEach(function () { | |
// Mock LookupsClient API |
This file contains 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
var TWILIO_SID = '<Twilio-SID>', | |
TWILIO_TOKEN = '<Twilio-token>', | |
FROM_PHONE = '3143006228', | |
VERIFICATION_MESSAGE_INTRO = 'Your verification code: ', | |
TELE_PREFIX = '+1', | |
twilio = require('twilio'), | |
Q = require('q'), | |
_ = require('lodash'); |
This file contains 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
/* apply a natural box layout model to all elements */ | |
*, *:before, *:after { | |
-moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box; | |
} | |
.parent { | |
background-color: #EEE; | |
} | |
.parent div { |
This file contains 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> | |
<head> | |
<meta charset="utf-8"> | |
<title>Fixed Ratio Sample</title> | |
<link rel="stylesheet" href="main.css"> | |
</head> | |
<body> | |
<div class="parent"> | |
<div class="image"> |
This file contains 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
#user nobody; | |
worker_processes 1; | |
#error_log logs/error.log; | |
#error_log logs/error.log notice; | |
#error_log logs/error.log info; | |
#pid logs/nginx.pid; |
This file contains 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
# | |
# OpenSSL example configuration file. | |
# This is mostly being used for generation of certificate requests. | |
# | |
# This definition stops the following lines choking if HOME isn't | |
# defined. | |
HOME = . | |
RANDFILE = $ENV::HOME/.rnd |
This file contains 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
sveit@bartlett:/usr/local/var/lib$ sudo -u couchdb /usr/local/bin/couchdb | |
Apache CouchDB 1.1.0a09cd7a5-git (LogLevel=info) is starting. | |
[error] [<0.103.0>] {error_report,<0.31.0>, | |
{<0.103.0>,crash_report, | |
[[{initial_call,{couch_stats_aggregator,init,['Argument__1']}}, | |
{pid,<0.103.0>}, | |
{registered_name,[]}, | |
{error_info,{exit,{{badmatch,{error,enoent}}, | |
[{couch_stats_aggregator,init,1}, | |
{gen_server,init_it,6}, |
This file contains 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
for f in `grep -nH -rl assigns --include=*.rb .` | |
do sed -e 's/assigns\[\(:.*\)\] = \(.*\)$/assign(\1, \2)/' -i $f | |
done |
This file contains 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
for f in `grep -nH -rl response --include=*.rb .` | |
do sed -e 's/response\./rendered./' -i $f | |
done |
This file contains 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
for f in `grep -nH -rl template --include=*.rb .` | |
do sed -e 's/template\./view./' -i $f | |
done |
NewerOlder