This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
declare mkvpropedit="/usr/bin/mkvpropedit" | |
declare movieDir="/path/to/movies" | |
function mkvTitleEdit { | |
filename=$(basename "${1}") | |
filename="${filename%.*}" | |
echo mkvpropedit --set title "${filename}" "${1}" | |
} | |
export -f mkvTitleEdit |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# su root / sudo su | |
apt-get -y install build-essential libglib2.0-dev libssl-dev libcurl4-openssl-dev libgirepository1.0-dev | |
cd /usr/src | |
wget https://megatools.megous.com/builds/megatools-1.10.3.tar.gz | |
tar -xvf megatools-1.10.3.tar.gz | |
cd megatools-1.10.3 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
youtube-dl --output '~/Downloads/%(title)s.%(ext)s' --restrict-filenames --max-quality mp4 "https://www.youtube.com/playlist?list=PLE7j5FieXSTfwPJ2GQvSIWnMj-WDFbuCD" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
clear | |
cd /usr/src | |
wget -O btsync_x64.tar.gz http://download.getsyncapp.com/endpoint/btsync/os/linux-x64/track/stable | |
tar -xf btsync_x64.tar.gz -C /usr/local/sbin btsync | |
adduser --quiet --system --group --disabled-password |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# credits : http://www.seeds-std.co.jp/seedsblog/2005.html | |
# getting the repos // only if needed | |
# touch /etc/apt/sources.list.d/ps3mediaserver.list | |
# echo "deb http://www.deb-multimedia.org wheezy main non-free" > /etc/apt/sources.list.d/ps3mediaserver.list | |
# apt-get update && apt-get install deb-multimedia-keyring | |
# |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Single Disk Setup ! | |
# OpenZFS on OSX Version 1.30 | |
diskutil list | |
echo "Disk = disk#" | |
read -p "Disk = " disk | |
diskutil unmountDisk /dev/${disk} | |
sudo diskutil partitiondisk /dev/${disk} GPTFormat ZFS %noformat% 100% | |
echo "--------------------" | |
echo "Name your zpool!" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
read -p "Windows_ISO_Path = " winPath | |
diskutil list | less | |
read -p "Disk_N = " disk | |
clear | |
umount /dev/${disk} | |
sudo diskutil eraseDisk FAT32 "WINDOWS7" MBRFormat /dev/${disk} | |
disk="${disk}s1" | |
sudo dd bs=1m if=${winPath} of=/dev/${disk} |
NewerOlder