Skip to content

Instantly share code, notes, and snippets.

@upgradeQ
upgradeQ / beep.lua
Last active September 19, 2022 13:43
Beep when the replay buffer has fully stopped. [windows]
local obs = obslua
local ffi = require("ffi")
ffi.cdef[[
void Beep(int freq,int dur);
]]
function beep()
ffi.C.Beep(7000,300)
end
@upgradeQ
upgradeQ / AReadME.md
Last active November 25, 2025 14:19
Text editors configuration. Neovim, sublimetext

Installing neovim on windows

download zip, create nvim folder in local appdata, write to file inside neovim : e path/to/nvim/init.vim

this will create config with right permissions

download vim plug via powershell

download git

download zig

I've found a way to use pc like an headset with Android phone (for making callings).
!!! I've use pulseaudio from jessie-backports: I don't know how much this takes risks ;-) !!!
In /etc/apt/sources.list add:
deb http://ftp.jp.debian.org/debian/ jessie-backports main contrib non-free
deb-src http://ftp.jp.debian.org/debian/ jessie-backports main contrib non-free
$ sudo apt-get update
$ sudo apt-get install pulseaudio=7.1-2~bpo8+1 pulseaudio-utils=7.1-2~bpo8+1 \
print "hello world hello world hello world hello world hello world hello world hello world hello world hello world hello world hello world hello world hello world hello world hello world hello world hello world hello world hello world hello world hello world hello world hello world hello world "