List, add or delete Wireguard peers. Also show client configuration for already added peers.
wg-peer [add|show <peer>|del <peer>|list]
where:
a[dd]
add a new peer
These are the steps to extract a directory from a git repository (with all its history commit), create a new repository from this directory, and optionally remove it from the original one.
To the ones that are here to copy-paste code, this is an example which removes the MODULE directory from REPO repository.
Clone the original repository:
local DS_INT_TO_INT = {} :: {[number]: number} | |
local INT_TO_DS_INT = {} :: {[number]: number} | |
local INT_TO_DS_CHAR = {} :: {[number]: string} | |
local DS_INT_MAX; | |
do | |
-- All characters under this are control characters, must avoid them because | |
-- they get expanded out into control sequences. | |
local MIN_DS_VALUE = 0x20 | |
local MAX_DS_VALUE = 0x7E |
' Disables Vanguard from starting when you boot your computer | |
Call CreateObject("Shell.Application").ShellExecute("cmd.exe", "/c ""sc config vgc start= disabled & sc config vgk start= disabled""", "", "runas") |
This is a full account of the steps I ran to get llama.cpp
running on the Nvidia Jetson Nano 2GB. It accumulates multiple different fixes and tutorials, whose contributions are referenced at the bottom of this README.
At a high level, the procedure to install llama.cpp
on a Jetson Nano consists of 3 steps.
gcc 8.5
compiler from source.let userName = ref<string>('')
userName.value = "John Doe"
//vocês vão comentar o que tá dentro do bloco if (!message.isGroupMsg) { } e colocar esse codigo aqui: | |
switch (message.text) { | |
case '1': | |
// client.sendText(message.from, "oi").then(() => { | |
// console.log('Message sent.'); | |
// }).catch(error => console.error('Error when sending message', error)); | |
client.sendVoice(message.from, './teste.mp3').then((result) => { | |
console.log('Result: ', result); //return object success | |
}) | |
.catch((erro) => { |
Hot new strat for defining type-union properties in Kotlin/JS
// SomeConfig is an external TypeScript interface
// it has a property with a type-union type, but don't implement it as a member...
external interface SomeConfig {
// multiProp: number | string | Extension | ((string) => Extension | null)
}