Skip to content

Instantly share code, notes, and snippets.

View cleverfox's full-sized avatar
🎯
Focusing

Vladimir Goncharov cleverfox

🎯
Focusing
  • Pattaya, Thailand
  • 10:06 (UTC +07:00)
View GitHub Profile
@cleverfox
cleverfox / convert.sh
Created June 5, 2021 07:14
Convert video to prores for shogun
ffmpeg -i logo.mp4 -r 25 -vcodec prores_ks -profile:v 1 -pix_fmt yuv422p10le -vf scale=1920:1080 -c:a pcm_s24le logo2.mov
@cleverfox
cleverfox / cmd to birman.json
Created December 2, 2023 08:42 — forked from piskov/cmd to birman.json
Command to birman layout switcher
{
"title": "Change keyboard layout on cmd press",
"rules": [
{
"description": "Change input source to En Birman by left_command; Ru Birman by right_command.",
"manipulators": [
{
"type": "basic",
"from": {
"key_code": "left_command",
@cleverfox
cleverfox / ipsec.md
Created July 17, 2025 17:59
Static IPSec between Linux & FreeBSD

static ipsec between FreeBSD & Linux

  • Linux has IP address 9.9.223.245

  • FreeBSD has IP address 5.3.25.69

Linux shell script

ip xfrm policy del src 9.9.223.245 dst 5.3.25.69 dir out