View kubernetes-dump.log
This file has been truncated, but you can view the full file.
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
{ | |
"kind": "NodeList", | |
"apiVersion": "v1", | |
"metadata": { | |
"selfLink": "/api/v1/nodes", | |
"resourceVersion": "9103" | |
}, | |
"items": [ | |
{ |
View index.html
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
<html> | |
<head> | |
<script src="https://unpkg.com/onedb-client/dist/onedb-client.min.js"></script> | |
<script> | |
var onedb = new OneDBClient({ | |
hosts: { | |
primary: {location: 'https://one-db.datafire.io'}, | |
} | |
}); | |
</script> |
View blockstack
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
Verifying my Blockstack ID is secured with the address 1KmvT1LfgXLPcRSbhFnJzXcwtAwVc7QK5S https://explorer.blockstack.org/address/1KmvT1LfgXLPcRSbhFnJzXcwtAwVc7QK5S |
View contact_frontend_datafire.html
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
<form method="post" action="https://contact-us.prod.with-datafire.io/contact"> | |
<label>Your e-mail</label> | |
<input type="text" name="from"> | |
<label>Message</label> | |
<textarea name="message"></textarea> | |
</form> |
View serverless.yml
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
service: serverless-contact | |
provider: | |
name: aws | |
runtime: nodejs6.10 | |
functions: | |
contact: | |
handler: handler.contact | |
events: |
View handler.js
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 CONTACT_ADDRESS = 'me@company.com'; | |
var querystring = require('querystring'); | |
var mailer = require('nodemailer').createTransport({ | |
service: 'Gmail', | |
auth: { | |
user: process.env.GMAIL_ADDRESS, | |
pass: process.env.GMAIL_PASSWORD, | |
} | |
}); |
View contact_backend_simple.js
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
let app = require('express')(); | |
app.use(require('body-parser').urlencoded()); | |
app.post('/contact', function(req, res) { | |
console.log('new message', req.body); | |
}); | |
app.listen(3000); |
View contact_frontend.html
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
<form method="post" action="http://api.company.com/contact"> | |
<label>Your e-mail</label> | |
<input type="text" name="from"> | |
<label>Subject</label> | |
<input type="text" name="subject"> | |
<label>Message</label> | |
<textarea name="body"></textarea> | |
</form> |
View contact_backend.js
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
let app = require('express')(); | |
app.use(require('body-parser').urlencoded()); | |
const CONTACT_ADDRESS = 'me@company.com'; | |
var mailer = require('nodemailer').createTransport({ | |
service: 'Gmail', | |
auth: { | |
user: process.env.GMAIL_ADDRESS, | |
pass: process.env.GMAIL_PASSWORD, |
View mailto_complex.html
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
<a href="mailto:me@company.com?subject=Hello&body=We+want+to+hire+you">Contact Us</a> |
NewerOlder