This file contains hidden or 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 Event from "SpectaclesInteractionKit/Utils/Event"; | |
const HOST = "wss://[APP_NAME].herokuapp.com"; | |
export class WebSocketConnection { | |
private remoteServiceModule: RemoteServiceModule = require("LensStudio:RemoteServiceModule"); | |
private webSocket: WebSocket; | |
private onMessageEvent = new Event<WebSocketMessageEvent>(); | |
public readonly onMessage = this.onMessageEvent.publicApi(); |
This file contains hidden or 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
pragma solidity ^0.4.19; | |
contract HelloWorld { | |
function helloWorld() public returns(string) { | |
return "Hello World"; | |
} | |
} |
This file contains hidden or 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"> | |
<meta name="viewport" | |
content="user-scalable=no, width=device-width, initial-scale=1, maximum-scale=1"> | |
<title>Pinch Zoom</title> | |
</head> | |
<body> |
This file contains hidden or 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
Adjuntas | |
Aguada | |
Aguadilla | |
Aguas Buenas | |
Aibonito | |
Arecibo | |
Arroyo | |
Añasco | |
Barceloneta | |
Barranquitas |
This file contains hidden or 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
<form action="." method="post"> | |
<noscript>You must <a href="http://www.enable-javascript.com" target="_blank">enable JavaScript</a> in your web browser in order to pay via Stripe.</noscript> | |
<input | |
type="submit" | |
value="Pay with Card" | |
data-key="PUBLISHABLE STRIPE KEY" | |
data-amount="500" | |
data-currency="cad" | |
data-name="Example Company Inc" |