Skip to content

Instantly share code, notes, and snippets.

View vovs03's full-sized avatar
💭
λ Java Bootcamp(summer-2024) | Flutter

Vλadimir Pavλychev vovs03

💭
λ Java Bootcamp(summer-2024) | Flutter
View GitHub Profile
@vovs03
vovs03 / videoconversionsamples.sh
Created September 5, 2024 21:03 — forked from DoktorMike/videoconversionsamples.sh
Useful commands for converting videos using ffmpeg
#!/bin/bash
# Examples taken from https://opensource.com/article/17/6/ffmpeg-convert-media-file-formats
# Convert a webm file to a matroska format with a vp9 encoding and keeping the same audio encoding.
# Also changes the bitrate to 1Mb/s
ffmpeg -i input.webm -c:a copy -c:v vp9 -b:v 1M output.mkv
# Same but change the frame rate to 30 FPS and dropping the bitrate conversion
ffmpeg -i input.webm -c:a copy -c:v vp9 -r 30 output.mkv
# Same but only setting the video size to a predetermined format HD 720 in this case
@vovs03
vovs03 / terminal_commands.md
Last active April 24, 2024 19:44 — forked from sasstr/Команды в Git Bash консоли
Команды в iTerm

Команды в 🍏 iTerm

  • clear — Очистить консоль

Навигация

  • pwd — Показать текущий каталог
  • ls - Показать файлы в данной папке, кроме скрытых
  • ls -la - Просмотр списком, включая скрытые и права доступаб размер, дату создания
  • `ls -f — Показать файлы в данной папке, включая и скрытые
@vovs03
vovs03 / coins.md
Created April 18, 2023 13:41
Lua ads coins

Lua ads coins

Если сейва нет на устройстве, а сообщение про инап пришло, значит это человек когда-то делал покупки и это новая установка, активирую заново, выдаю монетки, это по сути авторестор покупки на андроиде.

ну и листнер в зависимости от ОС, для андроида дебаг режим еще, чтобы тестировать покупки много раз.

 elseif transaction.state == iap.TRANS_STATE_PURCHASED then
 print("Purchased! iap.TRANS_STATE_PURCHASED", transaction.ident)
@vovs03
vovs03 / Haskell_start.md
Last active December 6, 2022 20:46
Haskell Start
@vovs03
vovs03 / mitch.md
Last active August 28, 2022 07:25
MITCH

📟 MITCH - My Interesting Telegram CHannels

for ARCHIVE


Backend

Golang

@vovs03
vovs03 / README.md
Last active August 9, 2022 17:44
MySQL macOS settings
@vovs03
vovs03 / mysql_cheat_sheet.md
Created August 9, 2022 12:48 — forked from bradtraversy/mysql_cheat_sheet.md
MySQL Cheat Sheet

MySQL Cheat Sheet

Help with SQL commands to interact with a MySQL database

MySQL Locations

  • Mac /usr/local/mysql/bin
  • Windows /Program Files/MySQL/MySQL version/bin
  • Xampp /xampp/mysql/bin

Add mysql to your PATH

@vovs03
vovs03 / nordvpn.rb
Created July 29, 2022 05:26
NORDVPN APPSTORE
cask "nordvpn" do
version "7.5.0,186"
sha256 "d2025a819e1d91af40997490185e7674b35fc5b1d28f0b2d0ecb23f22299c91f"
url "https://downloads.nordcdn.com/apps/macos/generic/NordVPN-OpenVPN/#{version.csv.first}/NordVPN.pkg",
verified: "downloads.nordcdn.com/"
name "NordVPN"
desc "VPN client for secure internet access and private browsing"
homepage "https://nordvpn.com/"
@vovs03
vovs03 / log_line_parser.rb
Created May 25, 2022 13:26
log_line_parser.rb for Exercism/string
class LogLineParser
@@lvl = ''
@@msg = ''
def initialize(line)
@line = line
#@msg = msg
#@lvl = lvl
end
@vovs03
vovs03 / .Vimrc
Created August 15, 2021 20:05
Vimrc settings
set nocompatible " be iMproved, required
filetype off " required
" set the runtime path to include Vundle and initialize
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
" let Vundle manage Vundle, required