Skip to content

Instantly share code, notes, and snippets.

View taking's full-sized avatar
🐈
Focusing

taking taking

🐈
Focusing
View GitHub Profile
#/bin/bash
## taking.kr (webmaster@taking.kr)
## 2019-06-11
###########################################
read -p "hostname (ex taking.kr): " uhost
read -p "new username: " uname
read -p "$uname's Password: " upasswd
encrypt_pass=$(perl -e 'print crypt($ARGV[0], "password")' $upasswd)
############ nameserver setting ###############
@taking
taking / Centos 7 Minimal Basic setting script.sh
Last active May 12, 2022 00:42
Centos 7 Minimal Basic setting script.sh
#!/bin/sh
## taking.kr (webmaster@taking.kr)
## 20-01-13
## ROOT 계정으로 실행하기
###########################################
read -p "hostname (ex taking.kr): " uhost
read -p "username(not root): " uname
############ nameserver setting ###############
#!/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 / 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 / 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 / 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
@taking
taking / .zshrc
Last active May 12, 2022 00:40
My zshrc
# If you come from bash you might have to change your $PATH.
export PATH=$HOME/bin:/usr/local/bin:$PATH
# Path to your oh-my-zsh installation.
export ZSH=/Users/$USER/.oh-my-zsh
DEFAULT_USER="$USER"
ZSH_THEME="agnoster"
# Personal .editorconfig setting, 2022-05-23
# top-most EditorConfig file
root = true
# Tab indentation
[*]
charset = utf-8
end_of_line = lf
insert_final_newline = true
@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
@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 }