A Pen by Luca Demian on CodePen.
Discover gists
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
import json | |
print('Loading function') | |
def lambda_handler(event, context): | |
#1. Parse out query string params | |
transactionId = event['queryStringParameters']['transactionId'] | |
transactionType = event['queryStringParameters']['type'] | |
transactionAmount = event['queryStringParameters']['amount'] |
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"> | |
<style> | |
.node { | |
font: 300 11px "Helvetica Neue", Helvetica, Arial, sans-serif; | |
fill: #bbb; | |
} |
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
/*! | |
* Chart.js | |
* http://chartjs.org/ | |
* Version: 1.0.1 | |
* | |
* Copyright 2015 Nick Downie | |
* Released under the MIT license | |
* https://github.com/nnnick/Chart.js/blob/master/LICENSE.md | |
*/ |
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
/*! | |
* Chart.js | |
* http://chartjs.org/ | |
* Version: 1.0.2 | |
* | |
* Copyright 2015 Nick Downie | |
* Released under the MIT license | |
* https://github.com/nnnick/Chart.js/blob/master/LICENSE.md | |
*/ |
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
/*! | |
* Chart.js | |
* http://chartjs.org/ | |
* Version: 1.0.1 | |
* | |
* Copyright 2015 Nick Downie | |
* Released under the MIT license | |
* https://github.com/nnnick/Chart.js/blob/master/LICENSE.md | |
*/ |
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
/** | |
* | |
* Date picker | |
* Author: Stefan Petre www.eyecon.ro | |
* | |
* Dual licensed under the MIT and GPL licenses | |
* | |
*/ | |
/*jslint browser: true, vars: true, nomen: true, indent: 4, maxlen: 80, plusplus: true, sloppy: true*/ | |
/*global define: true */ |
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
body { | |
background-color: #C5CCD6; /* Background color */ | |
color: #222; /* Foreground color used for text */ | |
font-family: Helvetica; | |
font-size: 14px; | |
margin: 0; /* Amount of negative space around the outside of the body */ | |
padding: 0; /* Amount of negative space around the inside of the body */ | |
-webkit-user-select: none; | |
overflow-x: hidden; | |
} |
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
<!-- Example 1: Normal Template --> | |
<script type="text/html" id="item_tmpl"> | |
<div id="<%=id%>" class="<%=(i % 2 == 1 ? " even" : "")%>"> | |
<div class="grid_1 alpha right"> | |
<img class="righted" src="<%=profile_image_url%>"/> | |
</div> | |
<div class="grid_6 omega contents"> | |
<p><b><a href="/<%=from_user%>"><%=from_user%></a>:</b> <%=text%></p> | |
</div> | |
</div> |
NewerOlder