Authenticate with an email and password to receive a session_token
.
The Session Token will be a top level key called token
.
The Session Token token
is used for all requests after authentication.
You also receive a user_id
which is used in your apps and keys lookup.
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
// | |
// ** ** | |
// ** Add your API Key to MY SECRETS (Left Panel) ** | |
// ** ** | |
// ** HUGGINGFACE_API_KEY as the Secret Name ** | |
// ** ** | |
// | |
let HUGGINGFACE_API_KEY = null; | |
function getAPIKey() { | |
// Use cached key |
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
{"found":1732,"posts":[{"ID":58297,"site_ID":3584907,"author":{"ID":208647015,"login":"zaguiini","email":false,"name":"Luis Felipe Zaguini","first_name":"Luis Felipe","last_name":"Zaguini","nice_name":"zaguiini","URL":"","avatar_URL":"https:\/\/0.gravatar.com\/avatar\/98f8c3715a923d21291ae969b3c9921a474113d05a15bf3774c1010f47a99ac9?s=96&d=retro","profile_URL":"https:\/\/gravatar.com\/zaguiini","site_ID":14140874},"date":"2024-03-18T12:00:00+00:00","modified":"2024-03-18T13:01:56+00:00","title":"Just Launched: GitHub Deployments","URL":"http:\/\/en.blog.wordpress.com\/2024\/03\/18\/github-deployments\/","short_URL":"https:\/\/wp.me\/pf2B5-fah","content":"\n<p>Say goodbye to the hassle of manual file uploads and tedious deployments, and say hello to WordPress.com\u2019s new <a href=\"https:\/\/developer.wordpress.com\/docs\/developer-tools\/github-deployments\/?utm_source=automattic_referral&utm_medium=referral&utm_campaign=github-deployments-blog-post\">GitHub Deployments<\/a>.<\/p>\n\n\n\n<p>With GitH |
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
const http = require("xhr"); | |
const pubnub = require("pubnub"); | |
// const dataUrl = 'https://gist.githubusercontent.com/stephenlb/2ed6782ee9ad47854dfb26028e0ca79c/raw/b6c9580ce624cfadc5be66123e3a1df1165dd047/test-data.json'; | |
const dataUrl = 'https://gist.githubusercontent.com/stephenlb/2ed6782ee9ad47854dfb26028e0ca79c/raw/9fc8b7e62fcb7fcdfe3ce87f7003b316540fba1b/test-data-300.json' | |
let data = null; | |
let position = 0; | |
/* data synth sinusoidal */ | |
const wavelength = 20; |
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 Modules | |
// | |
const pubnub = require('pubnub'); | |
const xhr = require('xhr'); | |
const vault = require('vault'); | |
// | |
// Request Event Handler (Main) | |
// |
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 | |
# server | |
# python https.py | |
# | |
# browser | |
# https://0.0.0.0:4443 | |
import BaseHTTPServer | |
import SimpleHTTPServer |
Controllable Crowd-sale and transferable ownership allows you to change ownership and change exchange rates.
- Owner Wallet receives ETH funds.
- Owner Wallet holds TOKEN's for sale.
- Moving tokens from owner wallet to another removes publicly purchaseable token inventory.
- Custom Exchange Rate ETH for YOUR TOKEN. Default is 1:10 One ETH = 10 YOUR TOKEN.
- Changable Exchange Rate at any time!
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 http = require("http"); | |
var zlib = require("zlib"); | |
exports.publish = function(msg) { | |
var req = http.request({ | |
"host" : "pubsub.pubnub.com", | |
"method" : "POST", | |
"path" : "/publish/demo/demo/0/my_channel/0", | |
"headers" : { | |
"Content-Encoding" : "gzip", |
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
PNConfiguration configPrimary = new PNConfiguration(new UserId("myUserId")); | |
configPrimary.setSubscribeKey("mySubscribeKey"); | |
configPrimary.setPublishKey("myPublishKey"); | |
configPrimary.setOrigin("primary.pubnubapi.com"); | |
PNConfiguration configBackupOne = new PNConfiguration(new UserId("myUserId")); | |
configBackupOne.setSubscribeKey("mySubscribeKey"); | |
configBackupOne.setPublishKey("myPublishKey"); | |
configBackupOne.setOrigin("backup-1.pubnubapi.com"); |
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
#!/bin/zsh | |
export SPACE_ID="hexgrid-id-6789x3845" | |
export SPACE_NAME="Queensland" | |
export USER_ID="michael-12345" | |
export USER_NAME="Michael" | |
export ASSET_ID="$USER_ID-asset-drone-1" | |
export SUBSCRIBE_KEY="demo" ## use 'demo' key for testing | |
## User Create | |
curl -s -X PUT -d '{"name":"'$USER_NAME'", "status":"offline", "custom":{"assets":["'$ASSET_ID'"]}}' -H 'Content-Type: application/json' https://ps.pndsn.com/v3/objects/$SUBSCRIBE_KEY/users/$USER_ID |
NewerOlder