Skip to content

Instantly share code, notes, and snippets.

View pblca's full-sized avatar
🔫
projecting

pblc pblca

🔫
projecting
  • garbage.gg
  • San Francisco
View GitHub Profile
<html>
<head>
<!-- Include the QR Generator library -->
<script type="text/javascript" src="/static/js/vendor/qrcode.js"></script>
</head>
<body>
<!-- A DOM object to add the QR code to -->
<div id="qr"></div>
<script>
<!DOCTYPE html>
<html>
<head>
<title>Chester Family Recipes</title>
<link rel= "stylesheet" href="recipestyle.css">
</head>
<body>
@pblca
pblca / instantiate.html
Last active June 18, 2017 05:36
Getting Started Tutorial for Using PubNub with JavaScript
<!-- Include the PubNub Library -->
<script src="https://cdn.pubnub.com/pubnub.min.js"></script>
<!-- Instantiate PubNub -->
<script type="text/javascript">
var PUBNUB_demo = PUBNUB.init({
publish_key: 'Your Publish Key Here',
subscribe_key: 'Your Subscribe Key Here'
});