Skip to content

Instantly share code, notes, and snippets.

@corentingi
corentingi / convert_x265.sh
Last active January 11, 2018 19:48
HandBrake H265 convert command
HandBrakeCLI \
-i "$1" \
-o "$2" \
-f av_mkv \
-e x265 \
--markers \
-E copy:aac,copy:ac3,copy:eac3,copy:truehd,copy:dts,copy:dtshd,copy:mp3,copy:flac \
--all-subtitles
#!/bin/bash
# Taken from https://simon-davies.name/bash/backing-up-mysql-databases
# Database credentials
user=""
password=""
host=""
db_name=""
# Other options
@corentingi
corentingi / tmux.conf
Created May 24, 2016 12:41 — forked from spicycode/tmux.conf
The best and greatest tmux.conf ever
# 0 is too far from ` ;)
set -g base-index 1
# Automatically set window title
set-window-option -g automatic-rename on
set-option -g set-titles on
#set -g default-terminal screen-256color
set -g status-keys vi
set -g history-limit 10000