Skip to content

Instantly share code, notes, and snippets.

View sreeharikodavalam's full-sized avatar
🏠
Working from home

Sreehari Kodavalam sreeharikodavalam

🏠
Working from home
View GitHub Profile
@sreeharikodavalam
sreeharikodavalam / CountryCodes.json
Created April 2, 2025 01:29 — forked from anubhavshrimal/CountryCodes.json
Country and Dial or Phone codes in JSON format
[
{
"name": "Afghanistan",
"dial_code": "+93",
"code": "AF"
},
{
"name": "Aland Islands",
"dial_code": "+358",
"code": "AX"
@sreeharikodavalam
sreeharikodavalam / Postgre SQL Usefull commands
Last active February 9, 2025 13:27
PostgreSQL Essential Commands Guide
#PostgreSQL Essential Commands Guide
Quick Database Backup
--------------------
sudo su - postgres
pg_dump database_name > /tmp/backup.sql
User Management
--------------
@sreeharikodavalam
sreeharikodavalam / ffmpeg.md
Created September 18, 2020 21:19 — forked from protrolium/ffmpeg.md
ffmpeg guide

ffmpeg

Converting Audio into Different Formats / Sample Rates

Minimal example: transcode from MP3 to WMA:
ffmpeg -i input.mp3 output.wma

You can get the list of supported formats with:
ffmpeg -formats

Convert WAV to MP3, mix down to mono (use 1 audio channel), set bit rate to 64 kbps and sample rate to 22050 Hz: