Skip to content

Instantly share code, notes, and snippets.

View aimproxy's full-sized avatar
🎯
Focusing

Micael Dias aimproxy

🎯
Focusing
View GitHub Profile

AAO V2 NOTES

In this Notebook

Local Search
2 Opt Swap
3 Opt Swap
Variable Neighborhood Search
Ant Colony
Simulated Annealing
import { NextApiRequest, NextApiResponse } from 'next'
import axios, { AxiosInstance } from 'axios'
import { atob } from 'buffer'
const UUIDService = axios.create({
baseURL: 'https://api.mojang.com/users/profiles/minecraft/',
})
const ProfileService = axios.create({
baseURL: 'https://sessionserver.mojang.com/session/minecraft/profile/',
@aimproxy
aimproxy / Installing Rancher and RKE
Created March 15, 2022 19:35 — forked from kiranchavala/Installing Rancher and RKE
Installing Rancher and RKE
Installing RKE and Rancher
Ubuntu 20.04
1 vim /etc/ssh/sshd_config
2 systemctl restart sshd
3 sudo apt-get update
4 sudo apt-get install apt-transport-https ca-certificates curl gnupg-agent software-properties-common
5 curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
6 sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu \
@aimproxy
aimproxy / cpusbtoftp.ps1
Last active March 30, 2019 16:40
WMI USB Detection Event then copy all files to an FTP Server!
Register-WmiEvent -Class win32_VolumeChangeEvent -SourceIdentifier volumeChange
do{
$newEvent = Wait-Event -SourceIdentifier volumeChange
$eventType = $newEvent.SourceEventArgs.NewEvent.EventType
$eventTypeName = switch($eventType)
{
1 {"Configuration changed"}
2 {"Device arrival"}