View serialport-error.log
yarn install v1.21.0 | |
$ node tools/preinstall.js | |
[1/4] Resolving packages... | |
[2/4] Fetching packages... | |
info fsevents@1.2.7: The platform "linux" is incompatible with this module. | |
info "fsevents@1.2.7" is an optional dependency and failed compatibility check. Excluding it from installation. | |
info fsevents@1.2.9: The platform "linux" is incompatible with this module. | |
info "fsevents@1.2.9" is an optional dependency and failed compatibility check. Excluding it from installation. | |
[3/4] Linking dependencies... | |
[4/4] Building fresh packages... |
View auth.hs
authHandler :: Manager -> AuthHandler Request User | |
authHandler manager = mkAuthHandler handler | |
where | |
throw401 msg = | |
throwError $ err401 {errBody = "Unauthorized:" <> msg <> " ."} | |
handler req = | |
either | |
throw401 | |
(getRevvUser manager) | |
(lookupAccessToken $ queryString req) |
View eFSA.hs
eFSA :: (String, String, Int, Int) -> (String, String, Int, Int) | |
eFSA (source, lexeme, col, line) | |
| nextChar == 'e' || nextChar == 'E' && isDigit secondChar | |
= eFSA (tail source, nextChar : lexeme, col + 1, line) | |
| isDigit nextChar | |
= eFSA (tail source, nextChar : lexeme, col + 1, line) | |
| otherwise (source, lexeme, col, line) | |
where | |
nextChar = head source | |
secondChar = snd source |
View gist:3490610
<!DOCTYPE html> | |
<html lang="en" xmlns:fb="http://ogp.me/ns/fb#"> | |
<head> | |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=0.55"> | |
<title>Payment Processing</title> | |
<link href="/static/bootstrap/css/bootstrap.css" rel="stylesheet" type="text/css" /> |
View gist:3490374
{% extends "base_site.html" %} | |
{% block title %}Payment Processing{% endblock %} | |
{% block js %} | |
<script type="text/javascript" src="https://js.balancedpayments.com/v1/balanced.js"/> | |
<script type="text/javascript"> | |
var marketplaceUri = '/v1/marketplaces/TEST-MP2CSIcjO337fwEoqBrlvB5I'; |