Instalando Docker em um WSL 2 com Ubuntu 22.04
Before start the installation process, make sure you meet the following prerequisites:
- A Windows 10 operating system with WSL 2 support.
- WSL 2 enabled.
- Ubuntu 22.04 installed on WSL 2.
npm install -g maildevmaildev --outgoing-secure --outgoing-user lajt --outgoing-pass lajtpublic void ConfigureServices(IServiceCollection services):if (_env.IsDevelopment())
{
ServicePointManager| using System; | |
| using System.Linq; | |
| using System.Reflection; | |
| using System.Collections.Generic; | |
| using System.Windows.Forms; | |
| using System.Threading.Tasks; | |
| using Buddy.Coroutines; | |
| using Loki; | |
| using Loki.Common; | |
| using Loki.Game; |
| #SingleInstance, force | |
| Random, rand, 40, 80 | |
| InputBox, loopCount,,Enter a number for loop count | |
| Sleep, 2000 | |
| Send, {Control down} |
| SET DOCKER_TLS_VERIFY=1 | |
| SET DOCKER_HOST=tcp://192.168.99.100:2376 | |
| SET DOCKER_CERT_PATH=C:\Users\Lajt\.docker\machine\machines\default | |
| SET DOCKER_MACHINE_NAME=default |
source: http://stackoverflow.com/a/32059408/3924884
Just run:
"C:\Program Files\Docker Toolbox\docker-machine" ls
get the machine name, and then run:
"C:\Program Files\Docker Toolbox\docker-machine" env MACHINE_NAME--shell=[cmd|powershell]
| // ==UserScript== | |
| // @name Vulcun | |
| // @namespace https://gist.github.com/Lajt/aa367a3364655972306f | |
| // @version 1.1 | |
| // @description Vulcun | |
| // @author Lajt | |
| // @match http://tampermonkey.net/index.php?version=3.12&ext=dhdg&updated=true | |
| // @include https://vulcun.com/user/lobby* | |
| // @include http://vulcun.com/user/lobby* | |
| // @grant none |
| (function(){ | |
| var check = true; | |
| setInterval(function(){ | |
| if ($('#lootdrop-footer').is(':visible') && check){ | |
| check = false; | |
| setTimeout(function(){ | |
| $('#enter-lootdrop').click(); | |
| setTimeout(function(){ |