Originally posted by @brlebtag in eidellev/inertiajs-adonisjs#117 (comment)
Originally posted by @qkab78 in eidellev/inertiajs-adonisjs#117 (comment)
. Create a new adonis project:
npm init adonis-ts-app@latest adonisssr
Originally posted by @brlebtag in eidellev/inertiajs-adonisjs#117 (comment)
Originally posted by @qkab78 in eidellev/inertiajs-adonisjs#117 (comment)
. Create a new adonis project:
npm init adonis-ts-app@latest adonisssr
| // check version | |
| node -v || node --version | |
| // list locally installed versions of node | |
| nvm ls | |
| // list remove available versions of node | |
| nvm ls-remote | |
| // install specific version of node |
| using OpenQA.Selenium; | |
| //Did not yet test this code | |
| //I'll update if needed (and if I think of it), but this is the gist of it (pun intended) | |
| namespace LocalStorageManager | |
| { | |
| class LocalStorageManager | |
| { | |
| private IJavaScriptExecutor js; |
| import org.openqa.selenium.JavascriptExecutor; | |
| import org.openqa.selenium.WebDriver; | |
| public class LocalStorage { | |
| private JavascriptExecutor js; | |
| public LocalStorage(WebDriver webDriver) { | |
| this.js = (JavascriptExecutor) webDriver; | |
| } |
| #!/bin/bash | |
| ## Install and Setup TiDB on Linux | |
| ## https://github.com/pingcap/tidb | |
| ## https://github.com/pingcap/docs/blob/master/sql/privilege.md | |
| ## https://pingcap.com/blog/2016-10-17-how-we-build-tidb/ | |
| useradd tidb -d /var/lib/tidb -m | |
| usermod -a -G tidb tidb | |
| cd /var/lib/tidb |
| """ | |
| This is an adaptable example script for using selenium across multiple webbrowsers simultaneously. This makes use of | |
| two queues - one to store idle webworkers and another to store data to pass to any idle webworkers in a selenium function | |
| """ | |
| from multiprocessing import Queue, cpu_count | |
| from threading import Thread | |
| from selenium import webdriver | |
| from time import sleep | |
| from numpy.random import randint |