Skip to content

Instantly share code, notes, and snippets.

View DareFox's full-sized avatar
😪
waiting for `gradle build` completion

DareFox DareFox

😪
waiting for `gradle build` completion
View GitHub Profile
@DareFox
DareFox / CloneToExistingFolder.fish
Created November 14, 2022 00:23
Clone git repo to fodler with existing files
function CloneToExistingFolder
set url $argv[1]
set currentFolder $PWD
set folder $argv[2]
if test -z $url
echo "Provide url to git repository"
return 1
end
@DareFox
DareFox / README.md
Last active December 20, 2023 15:59
Script to fix Progressbar95 sounds on Linux

Script to fix sound in Progressbar95 (requires ffmpeg)

By default Progressbar95 has broken sound due to game reading mp3 files as raw format (wav) This script converts all .mp3 files to .wav and renames converted .wav to .mp3

How to use

bash ./fixLinuxSounds.sh <path_to_game>

Example:

@DareFox
DareFox / couple.conf
Last active January 5, 2023 00:32
Virtual Audio Cables / Sinks with Pipewire
# Docs: https://gitlab.freedesktop.org/pipewire/pipewire/-/wikis/Virtual-Devices#coupled-streams
context.modules = [
{ name = libpipewire-module-loopback
args = {
audio.position = [ FL FR ]
capture.props = {
media.class = Audio/Sink
node.name = discord_sink
node.description = "Discord Sink"
@DareFox
DareFox / README.md
Last active December 1, 2022 05:23 — forked from snakecase/Beep on replay buffer save.lua
OBS Lua: Sound notification on keybind [Windows]

A simple Lua script which plays a .wav sound whenever specified keybind was activated.

Originally script was specified only for Replay Buffer save event and it works not on Save button press, but when replay was saved in file. So there was delay between press and sound effect.

Now you can launch sound not on event, but on keybind, which solves delay problem.

Installation

  1. Download script and change PROP_AUDIO_FILEPATH to a path to the sound of your choosing. By default it's Windows Hardware Remove sfx

  2. Launch OBS -> Tools -> Scripts -> +

@DareFox
DareFox / Jerma Sus ASCII 📮
Last active December 19, 2021 15:41
Jerma ASCII
⠀⠀⠀⡯⡯⡾⠝⠘⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢊⠘⡮⣣⠪⠢⡑⡌
⠀⠀⠀⠟⠝⠈⠀⠀⠀⠡⠀⠠⢈⠠⢐⢠⢂⢔⣐⢄⡂⢔⠀⡁⢉⠸⢨⢑⠕⡌ ㅤ
⠀⠀⡀⠁⠀⠀⠀⡀⢂⠡⠈⡔⣕⢮⣳⢯⣿⣻⣟⣯⣯⢷⣫⣆⡂⠀⠀⢐⠑⡌
⢀⠠⠐⠈⠀⢀⢂⠢⡂⠕⡁⣝⢮⣳⢽⡽⣾⣻⣿⣯⡯⣟⣞⢾⢜⢆⠀⡀⠀⠪
⣬⠂⠀⠀⢀⢂⢪⠨⢂⠥⣺⡪⣗⢗⣽⢽⡯⣿⣽⣷⢿⡽⡾⡽⣝⢎⠀⠀⠀⢡
⣿⠀⠀⠀⢂⠢⢂⢥⢱⡹⣪⢞⡵⣻⡪⡯⡯⣟⡾⣿⣻⡽⣯⡻⣪⠧⠑⠀⠁⢐
⣿⠀⠀⠀⠢⢑⠠⠑⠕⡝⡎⡗⡝⡎⣞⢽⡹⣕⢯⢻⠹⡹⢚⠝⡷⡽⡨⠀⠀⢔
⣿⡯⠀⢈⠈⢄⠂⠂⠐⠀⠌⠠⢑⠱⡱⡱⡑⢔⠁⠀⡀⠐⠐⠐⡡⡹⣪⠀⠀⢘
⣿⣽⠀⡀⡊⠀⠐👁⡁⠂⢈⠠⡱⡽⣷⡑⠁⠠⠑👁⢇⣤⢘⣪⢽⠀⢌⢎
⣿⢾⠀⢌⠌⠀⡁⠢⠂⠐⡀⠀⢀⢳⢽⣽⡺⣨⢄⣑⢉⢃⢭⡲⣕⡭⣹⠠⢐⢗
@DareFox
DareFox / Пельмени, хорошие пельмени это очень вкусно
Last active May 7, 2024 12:33
Пельмени, хорошие пельмени это очень вкусно
Пельмени, хорошие пельмени это очень вкусно.
На самом деле рецепт простой — много мяса, мало теста
Сперва готовим тонкое яичное тесто с добавлением сливочного масла, лук сладких сортов для образования бульончика и перец, совсем немного.
Щедро выкладываем великолепный рубленный фарш.
Много мяса, мало теста!
Вот он, настоящий пельмень!
А внутри много сочной начинки: грудинка индюшки с курицей или телятена со свинниной.
Думаю многие и забыли как это может быть вкусно!
Выбирайте и наслаждайтесь, мясные пельмени «Шлопские»
Много мяса, мало теста!
— Да?
— Алё!
— Да да?
— Ну как там с деньгами?
— А?
— Как с деньгами-то там?
— Чё с деньгами?
— Чё?
— Куда ты звонишь?