$ npm config set proxy http://localhost:3128
$ npm config set https-proxy http://localhost:3128
This config is great for SquidMan app.
$ npm config set proxy http://localhost:3128
$ npm config set https-proxy http://localhost:3128
This config is great for SquidMan app.
| Windows Registry Editor Version 5.00 | |
| [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LanmanWorkstation\Parameters] | |
| "AllowInsecureGuestAuth"=dword:00000001 |
| $remoteport = bash.exe -c "ifconfig eth0 | grep 'inet '" | |
| $found = $remoteport -match '\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}'; | |
| if( $found ){ | |
| $remoteport = $matches[0]; | |
| } else{ | |
| echo "The Script Exited, the ip address of WSL 2 cannot be found"; | |
| exit; | |
| } |
| import { NgModule } from '@angular/core'; | |
| import { APOLLO_OPTIONS } from 'apollo-angular'; | |
| import { | |
| ApolloClientOptions, | |
| InMemoryCache, | |
| split, | |
| ApolloLink, | |
| } from '@apollo/client/core'; | |
| import { HttpLink } from 'apollo-angular/http'; | |
| import { WebSocketLink } from '@apollo/client/link/ws'; |
Only have to do this bit the first time
hasura init data-cli --endpoint http://localhost:8081 --admin-secret hello-this-is-my-admin-secret
cd data-cli/
hasura migrate create "init" --from-server --database-name default
hasura migrate apply --skip-execution --version <version-number-from-prev-migrate-command> --database-name default
hasura metadata export
Every other time start here