After download and move to your interested folder, add this line to ~/.bashrc and ~/.profile
export GOPATH=$HOME/gowork
export GOBIN=$GOPATH/bin
export PATH=$PATH:$GOPATH/bin
export GOROOT=/usr/local/go
export PATH=$PATH:$GOROOT/bin
After download and move to your interested folder, add this line to ~/.bashrc and ~/.profile
export GOPATH=$HOME/gowork
export GOBIN=$GOPATH/bin
export PATH=$PATH:$GOPATH/bin
export GOROOT=/usr/local/go
export PATH=$PATH:$GOROOT/bin
| js_import batch-api-min.js; | |
| # keyval_zone for APIs where the last portion of the URI is an argument | |
| # The key is the portion of the URL before the last part | |
| keyval_zone zone=batch_api:64k state=/etc/nginx/state-files/batch-api.json; | |
| keyval $uri_prefix $batch_api zone=batch_api; | |
| # keyval_zone for APIs where the last portion of the URI is an argument | |
| # The key is the URI | |
| keyval_zone zone=batch_api2:64k state=/etc/nginx/state-files/batch-api2.json; |
I’m looking for any tips or tricks for making chrome headless mode less detectable. Here is what I’ve done so far:
Set my args as follows:
const run = (async () => {
const args = [
'--no-sandbox',
'--disable-setuid-sandbox',
'--disable-infobars',| // 1. Acquire a VR display. Handle event listeners. | |
| function getDisplay () { | |
| return navigator.getVRDisplays().then(displays => { | |
| if (!displays.length) { | |
| throw new Error('No VR display found'); | |
| } | |
| return displays[0]; | |
| }); | |
| } |
| console.log('initializer hello.js'); |
| func merge(a, b <-chan int) <-chan int { | |
| c := make(chan int) | |
| go func() { | |
| defer close(c) | |
| for a != nil || b != nil { | |
| select { | |
| case v, ok := <-a: | |
| if !ok { | |
| fmt.Println("a is done") | |
| a = nil |
| { | |
| "version": "0.2.0", | |
| "configurations": [ | |
| { | |
| "name": "Example", | |
| "type": "node", | |
| "request": "launch", | |
| "runtimeExecutable": "node", | |
| "runtimeArgs": ["--nolazy", "-r", "ts-node/register/transpile-only"], |
| worker_processes 1; | |
| events { | |
| worker_connections 1024; | |
| } | |
| http { | |
| include mime.types; | |
| default_type application/octet-stream; |