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
function onFormSubmit(e) { | |
// Debug log | |
console.log("Event Object:", e); | |
if (!e || !e.response) { | |
console.error("Error: e.response is undefined."); | |
return; | |
} | |
// take email and answer from rensponse |
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
function onFormSubmit(e) { | |
var sheet = SpreadsheetApp.getActiveSpreadsheet().getActiveSheet(); | |
var lastRow = sheet.getLastRow(); | |
var serial = lastRow - 1; | |
var serialNumber = ('000' + serial).slice(-3); | |
var today = new Date(); |
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 chai, { expect } from "chai"; | |
import jsonSchema from "chai-json-schema"; | |
import * as data from "$digital-product/data/digital-product/get-postpaid-information.data"; | |
import digitalProductAPI from "$digital-product/pages/v2/digital-product.api"; | |
import * as schema from "$digital-product/schema/digital-product/get-postpaid-information.schema"; | |
import * as api from "$digital-product/helper/lib-api"; | |
import * as login from "$digital-product/data/users/login.data"; | |
import util from 'util'; | |
chai.use(jsonSchema); |
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
{"lastUpload":"2020-08-26T17:01:49.690Z","extensionVersion":"v3.4.3"} |
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
Cypress.Commands.add('loginAdmin', () => { | |
cy.request({ | |
method: 'POST', | |
url: 'https://api.pama.dot.co.id/api/v1/login', | |
body: { | |
email: '[email protected]', | |
password: 'rahasia123', | |
} | |
}) | |
.then((resp) => { |
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
{ | |
"workbench.colorTheme": "SynthWave '84", | |
"window.zoomLevel": -1, | |
"workbench.iconTheme": "material-icon-theme", | |
"php.validate.executablePath": "C:/php-7.3.12/php.exe", | |
"files.autoSave": "afterDelay", | |
"editor.fontFamily": "Fira Code", | |
"editor.fontLigatures": true, | |
"editor.fontWeight": "500", | |
"extensions.ignoreRecommendations": true, |
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
## Set domain on site-available | |
`sudo nano /etc/apache2/sites-available/domain-name.test.conf` | |
and then, following this script like this (Laravel Project): | |
``` | |
<VirtualHost *:80> | |
ServerName domain-name.test | |
ServerAdmin webmaster@localhost | |
DocumentRoot /var/www/html/domain-name/public |
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
FORMAT: 1A | |
HOST: https://oimtrust.com/api/ | |
# Profile API | |
Tutorial membuat API Blueprint dengan apiary.io | |
# Group Profile | |
# Profile Collection [/profile] |
NewerOlder