Skip to content

Instantly share code, notes, and snippets.

  1. use https://github.com/maildev/maildev
  2. NodeJS required
  3. to install: npm install -g maildev
  4. start: maildev --outgoing-secure --outgoing-user lajt --outgoing-pass lajt
  5. ignore ssl check, only for dev environment! never in production. in your blazor server app add inside public 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]

@Lajt
Lajt / vulcun-ext.js
Last active November 27, 2015 11:42
// ==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
@Lajt
Lajt / vulcun.js
Last active December 12, 2015 09:21
(function(){
var check = true;
setInterval(function(){
if ($('#lootdrop-footer').is(':visible') && check){
check = false;
setTimeout(function(){
$('#enter-lootdrop').click();
setTimeout(function(){