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 sys | |
from PyQt4.QtCore import * | |
from PyQt4.QtGui import * | |
from PyQt4.QtWebKit import * | |
pages = [ | |
"https://portals.exosite.com/views/3819798770/3579834479", | |
"https://portals.exosite.com/views/2562112089/4128069106", | |
"https://portals.exosite.com/views/2060811893/1760385000", | |
"https://exosite:[email protected]:444" |
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
// select one or more data sources from the list above to view this demo. | |
function( container, portal ) | |
{ | |
console.log("Script Started") | |
var settings_datasource = "sws" | |
var messageBox = document.createElement("div"); | |
messageBox.style.display = "none"; | |
messageBox.style.position = "absolute"; |
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
#!/usr/bin/python | |
import socket, ssl | |
header = """POST /api:v1/rpc/process HTTP/1.1 | |
Host: m2.exosite.com | |
Content-Type: application/json; charset=utf-8 | |
Content-Length: """ | |
content = """{ |
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
// Class for Communication to Exosite | |
class Exosite{ | |
cik = null; | |
vendor = null; | |
model = null; | |
serial = null; // Consider hardware.getimpeeid() or imp.getmacaddress() | |
constructor(cikp = null, vendorp = null, modelp = null, serialp = null){ | |
if(cikp == null){ | |
server.log("No CIK, need to provision.") |
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
#!/usr/local/bin/rust run | |
/** | |
The prime factors of 13195 are 5, 7, 13 and 29. | |
What is the largest prime factor of the number 600851475143 ? | |
*/ | |
extern mod extra; |
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
// Class for Communication to Exosite | |
class Exosite{ | |
//Set CIK Manually Here or | |
cik = "654a29f2f230a2810a28036f79ab2fef17c058c4"; | |
// Set Provisioning Parameters to Automatically Generate New CIK | |
vendor = null; | |
model = null; | |
serial = null; // Consider hardware.getimpeeid() or imp.getmacaddress() | |
NewerOlder