Skip to content

Instantly share code, notes, and snippets.

@kossoy
kossoy / music-ru2en-dict.md
Last active October 26, 2025 12:03
Comprehensive Music Teacher Phrases - Russian to English (Complete Edition)

Comprehensive Music Teacher Phrases - Russian to English (Complete Edition)

Russian English Translation English Pronunciation Guide
GENERAL LESSON PHRASES
Давайте начнём урок Let's begin the lesson Lets bi-GIN the LES-son
Сыграйте гамму Play the scale Play the SCALE
Ещё раз, пожалуйста One more time, please Wun more TIME, pleez
Следите за ритмом Watch the rhythm Watch the RIH-thum
Играйте медленнее Play slower Play SLO-wer
@kossoy
kossoy / .dji_backup_config.example
Last active October 7, 2025 17:58
DJI Osmo Pocket 3 Backup & Wipe Scripts - Automated workflow for backing up DJI camera videos to dated folders with verification and cleanup
# DJI Backup Configuration File
# Copy this to ~/.dji_backup_config to customize settings
# Last Updated: October 7, 2025
# Source settings
SRC_VOLUME="/Volumes/DJI Osmo P3"
SRC_FOLDER="${SRC_VOLUME}/DCIM/DJI_001"
# Destination settings
DEST_BASE="/Volumes/Media/Videos/DJI Osmo Pocket 3"
@kossoy
kossoy / wdu.sh
Last active October 5, 2025 22:34
WhatSize in shell (wdu) enhanced
#!/usr/bin/env zsh
# Enhanced graphical disk usage display
# Original thanks to bolk http://bolknote.ru/2011/09/14/~3407#07
# Compatible with both bash and zsh
set -eo pipefail
# Configuration
readonly DEFAULT_LIST_LENGTH=10
@kossoy
kossoy / zsh-plugins.sh.
Created January 18, 2022 13:50
A few plugins for zsh
# A few plugins for zsh
@kossoy
kossoy / .Global gitignore.md
Last active March 4, 2021 22:42
Avoid pushing garbage to git repo

Global gitignore

git config --global core.excludesfile ~/global.gitignore
@kossoy
kossoy / .Laravel-Jetstream-Inertia.md
Last active November 17, 2024 16:08
Setup project with Laravel, Jetstream (FB and Google through Socialite), and Inertia.js with Vue.js
@kossoy
kossoy / chrome-install.sh
Last active September 20, 2016 18:34
Install chrome on ubuntu 16
echo "deb http://dl.google.com/linux/chrome/deb/ stable main" | sudo tee /etc/apt/sources.list.d/google-chrome.list
wget -q -O - https://dl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
sudo apt-get update
sudo apt-get install google-chrome-stable
or
@kossoy
kossoy / bashrc.sh
Last active October 22, 2023 12:14
Elementary OS default .bashrc
# ~/.bashrc: executed by bash(1) for non-login shells.
# see /usr/share/doc/bash/examples/startup-files (in the package bash-doc)
# for examples
# We use preexec and precmd hook functions for Bash
# If you have anything that's using the Debug Trap or PROMPT_COMMAND
# change it to use preexec or precmd
# See also https://github.com/rcaloras/bash-preexec
# If not running interactively, don't do anything
case $- in
@kossoy
kossoy / no_gui_boot.md
Last active August 24, 2016 17:29
Prevent GUI login ubuntu
Edit /etc/default/grub with your favourite editor, e.g. vi:
sudo vi /etc/default/grub
Find this line:
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
@kossoy
kossoy / fixperm.sh
Created January 28, 2016 11:36
Fixing permissions downloaded files for Mac OS X
#!/usr/bin/env
find . -type d -exec chmod 755 {} \;
find . -type f -exec chmod 644 {} \;
# Apple metadata removal
xattr -dr com.apple.quarantine .