Local Search
2 Opt Swap
3 Opt Swap
Variable Neighborhood Search
Ant Colony
Simulated Annealing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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/', |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 \ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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"} |