Skip to content

Instantly share code, notes, and snippets.

View Fazel94's full-sized avatar
💭
In search of answers for fundamental questions of software engineering :-D

Mohamad Fazeli Fazel94

💭
In search of answers for fundamental questions of software engineering :-D
  • Maktabkhooneh.org
  • Tehran, Iran
View GitHub Profile
@Fazel94
Fazel94 / config-git-proxy.txt
Created October 22, 2018 20:47 — forked from bynil/config-git-proxy.txt
Use git over socks5 proxy
Port: 1080
1. Create a file /YOUR PATH/gitproxy.sh with content:
#!/bin/sh
nc -X 5 -x 127.0.0.1:1080 "$@"
2. Edit your ~/.gitconfig
# For git://
@Fazel94
Fazel94 / encode.py
Created July 2, 2017 20:33 — forked from derekkwok/encode.py
Simple python script to encode videos using ffmpeg
"""
This python script encodes all files that have the extension mkv in the current
working directory.
Sources:
http://ffmpeg.org/trac/ffmpeg/wiki/x264EncodingGuide
"""
import subprocess, os
#-------------------------------------------------------------------------------