Skip to content

Instantly share code, notes, and snippets.

app.use('/box/srv/1.1/app/init', function (req, res) {
res.json(
{
"init": {
"trackId": "<GET_THIS_FROM_FHINIT>"
},
"status": "ok",
"apptitle": "<TITLE>",
"domain": "bnp",
"firstTime": true,
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist>
<dict>
<key>host</key>
<string>IP_HERE:8001</string>
</dict>
</plist>
@mclhrn
mclhrn / 0_reuse_code.js
Last active August 29, 2015 14:10
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console