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 sys | |
import random | |
from itertools import chain | |
from dataclasses import dataclass | |
@dataclass(eq=True, frozen=True) | |
class P: | |
rank: int | |
file: int |
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
local M = {} | |
local uv = vim.loop | |
local fn = vim.fn | |
local api = vim.api | |
function password() | |
fn.inputsave() | |
local user = fn.expand("$USER") | |
local pw = fn.inputsecret(string.format("password for %s: ", user)) |