This file contains 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
-- Мой актульный конфиг nvim, tmux, alacritty тут: | |
-- https://github.com/alexey-goloburdin/dotfiles/ |
This file contains 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
# Мой актульный конфиг nvim, tmux, alacritty тут: https://github.com/alexey-goloburdin/dotfiles/ |
This file contains 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
" Мой актуальный конфиг тут: https://github.com/alexey-goloburdin/dotfiles |
This file contains 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
// see YouTube Video about it — https://youtu.be/VcBJmHNSxG4 | |
VoxEngine.addEventListener(AppEvents.CallAlerting, function (e) { | |
call = e.call; | |
callerid = e.destination; | |
call.record(); | |
var pstnCall = VoxEngine.callPSTN(e.destination, 'your_495_or_8800_phone_number'); | |
VoxEngine.easyProcess(e.call, pstnCall); | |
}); |
This file contains 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
from datetime import datetime | |
from typing import NamedTuple | |
class Group(NamedTuple): | |
id: int | |
name: str | |
class Client(NamedTuple): |
This file contains 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 pickle | |
from collections import namedtuple | |
keys = [["tmp"], ["tmp1", "tmp2"]] | |
values = [[1], [2, 3]] | |
s = [] | |
for index, (k, v) in enumerate(zip(keys, values)): | |
globals()[f"cls{index}"] = namedtuple(f"cls{index}", k) | |
s.append(globals()[f"cls{index}"](*v)) |