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 | |