I hereby claim:
- I am marcellothearcane on github.
- I am marcello (https://keybase.io/marcello) on keybase.
- I have a public key whose fingerprint is 2878 9F11 C56E D16A FC7E 28A6 D67A 62A7 4B46 8A07
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
[ | |
{ | |
"heading": "Activities", | |
"description": "Activities are appointments/tasks/events on a calendar that can be associated with a Deal, a Person and an Organization. Activities can be of different type (such as call, meeting, lunch or a custom type - see ActivityTypes object) and can be assigned to a particular User. Note that activities can also be created without a specific date/time.", | |
"endpoint": [ | |
[ | |
{ | |
"method": "GET", | |
"url": "/activities", | |
"summary": "Returns all activities assigned to a particular user.", |
module.exports = { | |
name: '', | |
authentication: { | |
providers: { | |
local: true, | |
google: false, | |
facebook: false, | |
github: false, | |
}, | |
provider_urls: { |
// Copy this into your console while on the 'Available' tab of https://my.ubtsupport.com/mobile_app_node.php | |
function tickThings () { | |
return Promise.all( | |
[...document.querySelectorAll('.actionAdd')] | |
.map(el => el.getAttribute('onclick').match(/appManagerStartApprovalFlow\((\d+)\)/)[1]) | |
.map(number => fetch('https://my.ubtsupport.com/asyncloader.php?async=1&load=mobileappplayapproval', { | |
credentials: 'include', | |
headers: { | |
'content-type': 'application/x-www-form-urlencoded; charset=UTF-8', |
For Arduino Uno compatible board.
import axios from 'axios' | |
const VERSION = '1.0.0' | |
class NhostAuth { | |
constructor (baseUrl) { | |
this._baseUrl = baseUrl | |
this.version = VERSION | |
this._refreshTimeMargin = 45000 |
// This assumes that the selector will eventually appear - it'll hang indefinitely otherwise. | |
// You may need a slight delay after this returns, for the element to have its event handlers attached. | |
async function waitForElementToExist (selector) { | |
return new Promise(resolve => { | |
const observer = new MutationObserver(() => { | |
const element = document.querySelector(selector) | |
if (element) { | |
observer.disconnect() | |
return resolve(element) |