Skip to content

Instantly share code, notes, and snippets.

View taking's full-sized avatar
🐈
Focusing

taking taking

🐈
Focusing
View GitHub Profile
@taking
taking / config.yml
Last active April 18, 2018 07:08
Flexget Setting (Basic)
# ~/.flexget/config.yml
schedules:
# Download Tasks
- tasks: 'download_*'
interval:
# 1시간 마다 실행
hours: 1 # weeks, days, hours, minutes
tasks:
download_ent:
rss: '여기에 RSS 주소 입력'
@taking
taking / settings.json
Last active April 18, 2018 07:09
Transmission Setting (Basic)
{
"alt-speed-down": 50,
"alt-speed-enabled": false,
"alt-speed-time-begin": 540,
"alt-speed-time-day": 127,
"alt-speed-time-enabled": false,
"alt-speed-time-end": 1020,
"alt-speed-up": 50,
"bind-address-ipv4": "0.0.0.0",
"bind-address-ipv6": "::",
@taking
taking / Input YML
Last active November 7, 2018 09:52
Flexget Config 2018-11-07
# input/kent.yml
inputs:
- rss: { url: 'https://localhost/trss.php?k=720p-next&maxpage=1&s=tf&bf=tent', silent: yes }
# input/kdrama.yml
inputs:
- rss: { url: 'https://localhost/trss.php?k=720p-next&maxpage=1&s=tf&bf=tdrama', silent: yes }
#!/bin/sh
## taking.kr (webmaster@taking.kr)
## 2018-04-01
########## input ID, PASS #############
read -p "Transmission username: " uname
read -p "$uname's Password: " upasswd
########## input ID, PASS #############
encrypt_pass=$(perl -e 'print crypt($ARGV[0], "password")' $upasswd)
useradd -m -p $encrypt_pass $uname
@taking
taking / .vimrc
Last active August 14, 2019 02:29
Last Modified (19-08-14)
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
" General
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
" Sets how many lines of history VIM has to remember
" VIM에서 기억할 히스토리 라인수
set history=1000
" Set to auto read when a file is changed from the outside
" 현재 사용하고 있는 파일이 외부에서 수정된 경우 자동으로 읽기
set autoread
#!/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 ###############
/* 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;}
#!/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
version: '3.7'
#
#
services:
hub:
image: 'jetbrains/hub:2020.1.12722'
container_name: 'hub'
restart: unless-stopped
security_opt:
- no-new-privileges:true
@taking
taking / Brewfile
Last active February 6, 2021 15:25
2018-10-14 Updated
# Taps
tap "homebrew/core"
tap "homebrew/cask"
tap "homebrew/bundle"
# Application Path
cask_args appdir: "/Applications"
# Binaries/Libraries
brew "coreutils" # Install GNU Core Utilities