This file contains 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
SUB_PATH="./Downloads/" | |
rename 's/.ko././' ${SUB_PATH}*.smi | |
rename 's/.ko././' ${SUB_PATH}*.srt | |
rename 's/.smi/.ko.smi/' ${SUB_PATH}*.smi | |
rename 's/.srt/.ko.srt/' ${SUB_PATH}*.srt |
This file contains 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
# dhfine colors | |
C_DEFAULT="\[\033[m\]" | |
C_WHITE="\[\033[1m\]" | |
C_BLACK="\[\033[30m\]" | |
C_RED="\[\033[31m\]" | |
C_GREEN="\[\033[32m\]" | |
C_YELLOW="\[\033[33m\]" | |
C_BLUE="\[\033[34m\]" | |
C_PURPLE="\[\033[35m\]" | |
C_CYAN="\[\033[36m\]" |
This file contains 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
set-option -g history-limit 100000 | |
setw -g mode-keys vi | |
# Set status bar | |
set -g status-bg black | |
set -g status-fg white | |
set -g status-left '#[fg=green]#H' | |
# Highlight active window |
This file contains 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
sudo apt-get update -y | |
sudo apt-get upgrade -y | |
sudo apt-get install vim -y | |
sudo apt-get autoremove -y |
This file contains 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
wget https://github.com/hojel/DaumMovie.bundle/archive/master.zip -O DaumMovie.bundle.zip | |
sudo unzip DaumMovie.bundle.zip | |
sudo mv DaumMovie.bundle-master DaumMovie.bundle | |
sudo cp -rf DaumMovie.bundle "$(sudo find / -mount -type d -name Plug-ins)" | |
sudo chown -Rv 1000:1000 "$(sudo find / -mount -type d -name Plug-ins)" |
This file contains 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
sudo rclone mount --allow-other cache_rclone: /mnt/rclone/ & | |
sudo utserver -settingspath /opt/utorrent-server-alpha-v3_3/ -logfile utserver.log & |
This file contains 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
COMPLETED_FILE_DIR="/mnt/external_drive/rutorrent/downloads/completed/" | |
TEMP_FILE_DIR="/mnt/external_drive/Torrent/" | |
echo "##### Moving #####" | |
find ${COMPLETED_FILE_DIR}/ -maxdepth 1 -mtime +16 -exec sh -c "ls -ldh \"{}\" && mv \"{}\" \"${TEMP_FILE_DIR}\"" \; | |
echo "##### Copying #####" | |
find ${TEMP_FILE_DIR} -name "*.mkv" -exec sh -c "ls -ldh \"{}\" && rclone move \"{}\" gdrive_rclone:/Torrent -P;" \; | |
find ${TEMP_FILE_DIR} -name "*.srt" -exec sh -c "ls -ldh \"{}\" && rclone move \"{}\" gdrive_rclone:/Torrent -P;" \; | |
find ${TEMP_FILE_DIR} -name "*.smi" -exec sh -c "ls -ldh \"{}\" && rclone move \"{}\" gdrive_rclone:/Torrent -P;" \; | |
find ${TEMP_FILE_DIR} -name "*.mkv" | grep mkv && { echo Error; } || { echo Done; rm -rf ${TEMP_FILE_DIR}/*;} |
This file contains 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
--- | |
layout: archive | |
title: "Posts by Collection" | |
permalink: /collections/ | |
author_profile: true | |
--- | |
{% for collection in site.collections %} | |
{% unless collection.output == false %} | |
{% if collection.label == "posts" %} |
This file contains 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
defaults: | |
# _algorithm | |
- scope: | |
path: "" | |
type: algorithm | |
values: | |
layout: single | |
author_profile: true | |
share: true | |
toc: true |
This file contains 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
# Collections | |
collections: | |
algorithm: | |
Title: "Algorithm" | |
output: true | |
permalink: /collections/:collection/:path/ |
OlderNewer