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
#!/usr/bin/python2 | |
import PIL.Image | |
try: | |
from Tkinter import * | |
import tkFileDialog as filedialog | |
except ImportError: | |
from tkinter import * | |
from tkinter import filedialog | |
import PIL.ImageTk |
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
-- vim: ts=4 sw=4 noet ai cindent syntax=lua | |
--[[ | |
Conky, a system monitor, based on torsmo | |
Any original torsmo code is licensed under the BSD license | |
All code written since the fork of torsmo is licensed under the GPL | |
Please see COPYING for details |
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
# /usr/bin/python3 | |
import argparse | |
import subprocess | |
import os | |
parser = argparse.ArgumentParser(description='Jaehun\'s ssh script') | |
parser.add_argument('--destination','-d', type=str,default='ti', required=False, help="ssh destination") | |
parser.add_argument('--docker','-o',action='store_true', required=False, help="docker port activation") | |
parser.add_argument('--file','-f', type=str, required=True, help="file path") | |
args = parser.parse_args() | |
destination_list={'dell':'git.deepmi.me', 'ti':'163.180.172.26','v':'163.180.172.118','1':'163.180.118.160','5':'163.180.118.155','6':'163.180.118.156','7':"163.180.118.157"} |
This file has been truncated, but you can view the full file.
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
mkdir -p n01440764 | |
mkdir -p n01443537 | |
mkdir -p n01484850 | |
mkdir -p n01491361 | |
mkdir -p n01494475 | |
mkdir -p n01496331 | |
mkdir -p n01498041 | |
mkdir -p n01514668 | |
mkdir -p n01514859 | |
mkdir -p n01518878 |
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 | |
# Make sure you grab the latest version | |
curl -OL https://github.com/google/protobuf/releases/download/v3.6.1/protoc-3.6.1-linux-x86_64.zip | |
https://github.com/google/protobuf/releases/download/v3.6.1/protoc-3.6.1-linux-x86_64.zip | |
# Unzip | |
unzip protoc-3.6.1-linux-x86_64.zip -d protoc3 | |
# Move protoc to /usr/local/bin/ | |
sudo mv protoc3/bin/* /usr/local/bin/ |
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
"xte 'keydown Control_L' 'keydown Alt_L' 'key Down' 'keyup Alt_L' 'keyup Control_L'" | |
m:0x10 + b:6 | |
"xte 'keydown Control_L' 'keydown Alt_L' 'key Up' 'keyup Alt_L' 'keyup Control_L'" | |
m:0x10 + b:7 | |
"xte 'keydown Control_L' 'key W' 'keyup Control_L'" | |
m:0x10 + b:2 | |
"xte 'keydown Alt_L' 'key Right' 'keyup Alt_L'" | |
m:0x10 + b:9 | |
"xte 'keydown Alt_L' 'key Left' 'keyup Alt_L'" | |
m:0x10 + b:8 |
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
gesture swipe up 4 xdotool key super+Up | |
gesture swipe down 4 xdotool key super+Down | |
gesture swipe left 4 xdotool key super+Right | |
gesture swipe right 4 xdotool key super+Left | |
gesture swipe left 3 xdotool key alt+Left | |
gesture swipe right 3 xdotool key alt+Right | |
gesture swipe up 3 xdotool key ctrl+Page_Down | |
gesture swipe down 3 xdotool key ctrl+Page_Up |
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
#usage list-dh-tags <repo> | |
#example: docker-tag node | |
function docker-tag(){ | |
wget -q https://registry.hub.docker.com/v1/repositories/$1/tags -O - | sed -e 's/[][]//g' -e 's/"//g' -e 's/ //g' | tr '}' '\n' | awk -F: '{print $3}' | |
} |
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
# use UTF8 | |
#set -g utf8 | |
#set-window-option -g utf8 on | |
# make tmux display things in 256 colors | |
set -g default-terminal "screen-256color" | |
# set scrollback history to 10000 (10k) | |
set -g history-limit 100000 |
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
" vim-bootstrap b990cad | |
"***************************************************************************** | |
"" Vim-PLug core | |
"***************************************************************************** | |
if has('vim_starting') | |
set nocompatible " Be iMproved | |
endif | |
let vimplug_exists=expand('~/.vim/autoload/plug.vim') |