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
for %%f in (*.ts) do ( | |
ffmpeg -i "%%f" -c:v h264_nvenc -c:a copy "%%f.mp4" | |
) | |
pause |
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
for i in *.mp4 | |
do | |
i="${i%.mp4}" | |
mkvmerge -o "$i.mkv" "$i.mp4" --language 0:kor --default-track 0:yes "$i.kor.srt" --language 0:eng "$i.en.srt" | |
mkvpropedit "$i.mkv" --edit info --set "title=$i" --set "writing-application=mkvmerge v34.0.0 ('Sign and Seen') 64-bit - TAKING" --set "muxing-application=libebml v1.3.7 + libmatroska v1.5.0" | |
done |
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
#!/bin/sh | |
## 20-03-25 | |
## CentOS 7 기준 | |
## ROOT 계정으로 실행하기 | |
########################################### | |
read -p "hostname (ex testdev, dont use UNDER BAR): " uhost | |
read -p "username(not root): " uname | |
############ nameserver setting ############### |
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
/* optional */ | |
/* uppercase titles */ | |
.page-content h1{text-transform:uppercase} | |
h1.break-text{text-transform:uppercase} | |
/* Dracula stuff */ | |
/* background */ | |
:focus{outline-style:none!important} | |
html {background-color: #282b36;} |
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
#!/bin/bash | |
RED=`tput setaf 1` | |
GREEN=`tput setaf 2` | |
NC=`tput sgr0` | |
# Check permission | |
if [ "$EUID" -ne 0 ] | |
then echo "${RED}Please run as root ${NC}" | |
exit |
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
#!/bin/bash | |
# fork by fltd/qbittorrent-slack-notify.sh | |
# | |
# this script is qBittorrent Discord Notify | |
# by taking | |
# A shell scirpt designed to be executed by qBittorrent's "Run external program on torrent completion" | |
# This scirpt will send a Discord notification using Discord's Incoming Webhooks with the information of completed torrent | |
# |
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
#!/bin/bash | |
# 이 스크립트는 토렌트 다운로드 시, 폴더로 받아지는 경우 다음과 같은 작업을 진행한다. | |
# 1. 폴더 내 txt 가 있는 경우 제거 | |
# 2. 폴더 내 mkv, mp4 확장자가 있는 경우, 다운로드 루트 폴더로 이동 | |
# 2.1. 폴더 내 smi, srt 확장자가 있는 경우, 다운로드 루트 폴더로 이동 | |
# 2.2. 폴더 내 .url 확장자가 있는 경우, 삭제 | |
# - down-folder\test\1.mp4 -> down-folder\1.mp4 | |
# 3. 빈 폴더는 삭제 | |
# by taking |
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
version: '3.7' | |
# | |
# | |
services: | |
hub: | |
image: 'jetbrains/hub:2020.1.12722' | |
container_name: 'hub' | |
restart: unless-stopped | |
security_opt: | |
- no-new-privileges: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
#!/bin/bash | |
## ROOT 계정으로 실행하기 | |
## 21-03-02 | |
#!/bin/bash | |
RED=`tput setaf 1` | |
GREEN=`tput setaf 2` | |
NC=`tput sgr0` |
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
curl -Ls https://get.submariner.io | bash | |
cp ~/.local/bin/subctl /usr/bin | |
rm -rf ~/.local/bin/ | |
subctl version | |
curl -O -L https://github.com/projectcalico/calicoctl/releases/download/v3.18.1/calicoctl | |
chmod +x calicoctl | |
mv calicoctl /usr/bin | |