Skip to content

Instantly share code, notes, and snippets.

View comalex's full-sized avatar

Oleksii Stupak comalex

View GitHub Profile
**T&E Policy**
**Latest Revision: February, 2023**
***Purpose***
This policy is intended to:
- Provide a clear and consistent understanding of Demandbase’s travel expense reimbursement policy
- Describe the types of expenditures that are reimbursable
node-pre-gyp WARN Using request for node-pre-gyp https download
node-pre-gyp WARN Tried to download(404): https://fsevents-binaries.s3-us-west-2.amazonaws.com/v1.2.7/fse-v1.2.7-node-v72-darwin-x64.tar.gz
node-pre-gyp WARN Pre-built binaries not found for fsevents@1.2.7 and node@12.13.0 (node-v72 ABI, unknown) (falling back to source compile with node-gyp)
node-pre-gyp WARN Pre-built binaries not installable for fsevents@1.2.7 and node@12.13.0 (node-v72 ABI, unknown) (falling back to source compile with node-gyp)
node-pre-gyp WARN Hit error Connection closed while downloading tarball file
SOLINK_MODULE(target) Release/.node
SOLINK_MODULE(target) Release/.node
CXX(target) Release/obj.target/fse/fsevents.o
CXX(target) Release/obj.target/fse/fsevents.o
In file included from In file included from ../fsevents.cc../fsevents.cc::66:
curl -X POST \
https://nmodes.tk/tw/sms/send \
-H 'Content-Type: application/x-www-form-urlencoded' \
-d 'Authorization=Bearer%20y5fhpm549n8zpfvqt2312v972&bot=la%20ad%20lander&to_phone=%2B14163019486'
@comalex
comalex / gist:10f00c783594ae9419d6820dd300569b
Created October 1, 2019 19:54
Empty query task premisess
{
"user": {
"id": 1,
"first_name": "Ben",
"last_name": "Chung",
"address": "Baker Street, London, NW1 6XE"
},
"responseId": "312f4-094f4-12ddf",
"queryTask": []
}
{
"conversationId": "user_213213",
"user": {
"id": 1,
"first_name": "Ben",
"last_name": "Chung",
"address": "Baker Street, London, NW1 6XE"
},
"responseId": "b65762a8-f09b-4911-a15c-a0cf0be6484b",
"queryTask": [
{
"taskId": 123,
"user": {
"id": 1,
"first_name": "Ben",
"last_name": "Chung",
"address": "Baker Street, London, NW1 6XE"
},
"task": "maintenance issue",
"details": {
@comalex
comalex / webhook.js
Last active September 27, 2019 21:16
case 1 premises
{
"taskId": 123,
"userId": 1,
"task": "maintenance issue",
"details": {
"activity": "leak",
"location": "suite #4",
"problem source": "room105"
},
"status": "resolved",
@comalex
comalex / premises.js
Last active September 25, 2019 13:42
CASE 1
{
"user": {
"id": 1,
"first_name": "Ben",
"last_name": "Chung",
"address": "Baker Street, London, NW1 6XE"
},
"responseId": "312f4-094f4-12ddf",
"queryTask": [
{
@comalex
comalex / premisses.js
Created September 20, 2019 12:31
Webhook example
var request = require("request");
var options = { method: 'POST',
url: 'https://bot1.nmodes.com/bot/api/v1/webhook',
headers:
{
Authorization: 'Bearer YOURTOKEN',
'Content-Type': 'application/json' },
body:
{ user:
<!-- Nmodes start -->
<script data-wpfc-render="true" defer src="https://bot1.nmodes.com/v1/widget?api_key=7YJEE6nrZbDRolKBvTwi4pF4"></script>
<!-- Nmodes end -->