This file contains hidden or 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
| Result: org.mozilla.javascript.Undefined@fc0db98 | |
| {'X-N-OperationId': 'f41235b5-07b4-4958-b34b-54cddceaa146', 'NS_RTIMER_COMPOSITE': '1158157820:706172746E6572733031312E70726F642E6475622E6E65746C65646765722E636F6D:80', 'Strict-Transport-Security': 'max-age=31536000', 'Content-Type': 'application/json;charset=utf-8', 'Pragma': 'No-Cache', 'Cache-Control': 'No-Cache', 'Expires': '0', 'Content-Length': '40', 'P3P': 'CP="CAO PSAa OUR BUS PUR"', 'Vary': 'User-Agent', 'Date': 'Thu, 07 Oct 2021 09:27:58 GMT', 'Connection': 'keep-alive', 'Set-Cookie': 'NS_ROUTING_VERSION=LAGGING; path=/', 'Akamai-GRN': '0.8feece17.1633598877.2c81bc9'} |
This file contains hidden or 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
| {'X-N-OperationId': 'f41235b5-07b4-4958-b34b-54cddceaa146', 'NS_RTIMER_COMPOSITE': '1158157820:706172746E6572733031312E70726F642E6475622E6E65746C65646765722E636F6D:80', 'Strict-Transport-Security': 'max-age=31536000', 'Content-Type': 'application/json;charset=utf-8', 'Pragma': 'No-Cache', 'Cache-Control': 'No-Cache', 'Expires': '0', 'Content-Length': '40', 'P3P': 'CP="CAO PSAa OUR BUS PUR"', 'Vary': 'User-Agent', 'Date': 'Thu, 07 Oct 2021 09:27:58 GMT', 'Connection': 'keep-alive', 'Set-Cookie': 'NS_ROUTING_VERSION=LAGGING; path=/', 'Akamai-GRN': '0.8feece17.1633598877.2c81bc9'} |
This file contains hidden or 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
| {'X-N-OperationId': 'f41235b5-07b4-4958-b34b-54cddceaa146', 'NS_RTIMER_COMPOSITE': '1158157820:706172746E6572733031312E70726F642E6475622E6E65746C65646765722E636F6D:80', 'Strict-Transport-Security': 'max-age=31536000', 'Content-Type': 'application/json;charset=utf-8', 'Pragma': 'No-Cache', 'Cache-Control': 'No-Cache', 'Expires': '0', 'Content-Length': '40', 'P3P': 'CP="CAO PSAa OUR BUS PUR"', 'Vary': 'User-Agent', 'Date': 'Thu, 07 Oct 2021 09:27:58 GMT', 'Connection': 'keep-alive', 'Set-Cookie': 'NS_ROUTING_VERSION=LAGGING; path=/', 'Akamai-GRN': '0.8feece17.1633598877.2c81bc9'} |
This file contains hidden or 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 oauth2 as oauth | |
| import json | |
| import requests | |
| import time | |
| url = "https://1234567-sb1.restlets.api.netsuite.com/app/site/hosting/restlet.nl?script=553&deploy=1" | |
| token = oauth.Token(key="1638cc7b433261eeed83462336e4fabfd34442cad601dfa486f98752ebc40554", | |
| secret="273dfacad10fc828994f66e7c16d45247b7420780a15801d5bb8541095209935") | |
| consumer = oauth.Consumer(key="911d0e2e75cb5a7105f0326d11bc4ba36985113a4add262e377aae427e367ff2", | |
| secret="615b96eb91be2b7f32987f2570245bc5eb830130c3a713c5ea25866e213597cb") |
This file contains hidden or 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
| module.exports = { | |
| root: true, | |
| env: { | |
| es6: true, | |
| node: true, | |
| }, | |
| extends: [ | |
| "eslint:recommended", | |
| "google", | |
| ], |
This file contains hidden or 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 functions = require("firebase-functions"); | |
| exports.testfunction = functions.region("europe-west6").firestore | |
| .document("testfunction/{testfunctionId}") | |
| .onCreate((snapshot, context) => { | |
| console.log("testfunction"); | |
| }); |
This file contains hidden or 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
| % cat /Users/xxx/.npm/_logs/2021-06-26T04_26_16_970Z-debug.log | |
| 0 info it worked if it ends with ok | |
| 1 verbose cli [ | |
| 1 verbose cli '/usr/local/bin/node', | |
| 1 verbose cli '/usr/local/bin/npm', | |
| 1 verbose cli '--prefix', | |
| 1 verbose cli '/Users/xxx/Documents/project/functions', | |
| 1 verbose cli 'run', | |
| 1 verbose cli 'lint' | |
| 1 verbose cli ] |
This file contains hidden or 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
| module.exports = { | |
| root: true, | |
| env: { | |
| es6: true, | |
| node: true, | |
| }, | |
| extends: [ | |
| "eslint:recommended", | |
| "google", | |
| ], |
This file contains hidden or 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
| ImportError at /employee/sign-in/ | |
| cannot import name 'BoundField' from 'django.forms.forms' (/Users/megasap/Documents/project/projectdotcom/projectdotcom/projectdotcomenv/lib/python3.8/site-packages/django/forms/forms.py) | |
| Request Method: GET | |
| Request URL: http://localhost:8000/employee/sign-in/ | |
| Django Version: 3.1.5 | |
| Exception Type: ImportError | |
| Exception Value: | |
| cannot import name 'BoundField' from 'django.forms.forms' (/Users/megasap/Documents/project/projectdotcom/projectdotcom/projectdotcomenv/lib/python3.8/site-packages/django/forms/forms.py) | |
| Exception Location: /Users/megasap/Documents/project/projectdotcom/projectdotcom/projectdotcomenv/lib/python3.8/site-packages/bootstrap3/renderers.py, line 20, in <module> | |
| Python Executable: /Users/megasap/Documents/project/projectdotcom/projectdotcom/projectdotcomenv/bin/python |
This file contains hidden or 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
| def employee_sign_in(request): | |
| logging.debug("employee_sign_in") | |
| employeelogin_form = EmployeeLoginForm() | |
| if request.method == "POST": | |
| employeelogin_form = EmployeeLoginForm(request.POST) | |
| if employeelogin_form.is_valid(): | |
| companyname = employeelogin_form.cleaned_data["companyname"].lower() | |
| username = employeelogin_form.cleaned_data["username"].lower() |