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
| " .ideavimrc is a configuration file for IdeaVim plugin. It uses | |
| " the same commands as the original .vimrc configuration. | |
| " You can find a list of commands here: https://jb.gg/h38q75 | |
| " Find more examples here: https://jb.gg/share-ideavimrc | |
| set clipboard=unnamed | |
| set number " show line numbers | |
| set relativenumber " show relative line numbers | |
| set incsearch " incremental research | |
| set scrolloff=8 " start scrolling before end on visual |
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
| #![feature(generic_const_exprs)] | |
| #![allow(incomplete_features)] | |
| #![feature(iter_map_windows)] | |
| # Cargo.toml | |
| # [dependencies] | |
| # crc = "3.3.0" | |
| // 4KiB |
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
| # more infos: | |
| # https://learn.microsoft.com/it-it/troubleshoot/windows-client/active-directory/w32time-not-start-on-workgroup | |
| # https://learn.microsoft.com/it-it/troubleshoot/windows-server/active-directory/client-clock-reverts-to-previous-time | |
| sc.exe query w32time | |
| # if status is stopped delete all triggers | |
| sc triggerinfo w32time delete | |
| # if status is stopped reconfigure w32time startup and shutdown | |
| # sc.exe qtriggerinfo w32time | |
| sc.exe triggerinfo w32time start/networkon stop/networkoff | |
| # restart the pc and launch "sc.exe query w32time" |
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
| # this will force a login to your account with password | |
| # unlocking the ability to RDP into the machine | |
| $email="myemail@mail.com" | |
| runas /u:MicrosoftAccount\$email winver |
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
| package public | |
| import ( | |
| "fmt" | |
| "mime" | |
| "path" | |
| "sync" | |
| "github.com/gofiber/fiber/v3" | |
| "github.com/gofiber/fiber/v3/middleware/static" |