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
[ | |
"Can add resources", | |
"Can add permission", | |
"Can change permission", | |
"Can delete permission", | |
"Can view permission", | |
"Can add group", | |
"Can change group", | |
"Can delete group", | |
"Can view group", |
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
<template> | |
<div id="chat" class="d-flex flex-column" style="height: calc(100vh - 140px)"> | |
<div id="message-list" class="overflow-auto overflow-x-hidden p-1" @scroll="onScroll"> | |
<div class="message mb-1" v-for="message in messagesFormat" :key="message"> | |
<div class="d-flex flex-column justify-content-between align-items-start" | |
v-if="message.from === client.phone"> | |
<div class="media "> | |
<div class="media-aside align-self-end"> |
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 timer = ms => new Promise(res => setTimeout(res, ms)) | |
const robot = require('robotjs') | |
const fs = require('fs') | |
module.exports = { | |
getMozila : async function(sec, opt = null) { | |
robot.moveMouseSmooth(429, 771) | |
robot.mouseClick() |
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
<?php | |
public function read($file) | |
{ | |
$reader = new Xlsx(); | |
$reader->setReadDataOnly(true); | |
$data = $reader->load($file); | |
$parkingLocations = $data->getActiveSheet()->toArray(); | |
$parkingLocationItems = []; |
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
$(document).ready(function(){ | |
var objWysiwyg = {}; | |
var textEditor = {}; | |
textEditor = (new SimpleMDE({ | |
element: document.getElementById('description'), | |
toolbar: textEditorTab, | |
shortcuts: { | |
toggleSideBySide: null, | |
drawImage: null | |
},previewRender: function(plainText) { |
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
{ | |
"code":200, | |
"success":true, | |
"is_redirect":false, | |
"message":"Success.", | |
"data":[ | |
{ | |
"route_id":"aa45e795-5d65-49b7-90c6-f198ac7c69a7", | |
"station_name":"Khapri", |
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 { Cluster } = require('puppeteer-cluster'); | |
const vanillaPuppeteer = require('puppeteer'); | |
const { addExtra } = require('puppeteer-extra'); | |
const Stealth = require('puppeteer-extra-plugin-stealth') | |
async function main() { | |
// Create a custom puppeteer-extra instance using `addExtra`, | |
// so we could create additional ones with different plugin config. | |
const puppeteer = addExtra(vanillaPuppeteer) |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
[ | |
{ | |
"name" : "User 1", | |
"email" : "user1@example.com", | |
"password" : "1234567890" | |
}, | |
{ | |
"name" : "User 2", | |
"email" : "user2@example.com", | |
"password" : "1234567890" |
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
[ | |
{ | |
"recipient_name":"Customer 0", | |
"recipient_email":"customer0@test.com", | |
"recipient_content":"Hi Customer 0, this is a test mail." | |
}, | |
{ | |
"recipient_name":"Customer 1", | |
"recipient_email":"customer1@test.com", |
NewerOlder