This file contains hidden or 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 Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
This file contains hidden or 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 -g default-terminal "xterm" | |
set-window-option -g xterm-keys on | |
# set scrollback history to 10000 (10k) |
This file contains hidden or 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
import os, sys, re | |
import win32com.client | |
from win32com.client import Dispatch, constants | |
# Remove dulicate word in the list | |
def unique_list(l): | |
ulist = [] | |
[ulist.append(x.strip()) for x in l if x not in ulist] | |
return ulist |
This file contains hidden or 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
Dim outlookNameSpace As Outlook.NameSpace | |
Dim inbox As Outlook.MAPIFolder | |
Private WithEvents items As Outlook.items | |
Dim WithEvents myInboxMailItem As Outlook.items | |
Dim WithEvents mySentboxMailItem As Outlook.items | |
Private Sub myInboxMailItem_ItemAdd(ByVal Item As Object) | |
Dim oNS As Object | |
Dim oRDOSess As Object |
This file contains hidden or 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
set nocompatible " be iMproved | |
set rtp+=~/.fzf | |
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" | |
" For Vundle | |
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" | |
filetype off | |
" set the runtime path to include Vundle and initialize | |
set rtp+=~/.vim/bundle/Vundle.vim | |
call vundle#begin() |
This file contains hidden or 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
# Uncomment below 3 lines if you want to change conversation topic in specific folder | |
# top = mapi.Folders.Item("MyOutlook") | |
# for i in range(1, top.Folders.Count + 1): | |
# parse_folder('', top.Folders[i]) | |
# Comment out below 2 lines if you want to change conversation topic in specific folder | |
for i in range(1, mapi.Folders.Count + 1): | |
parse_folder('', mapi.Folders[i]) |
This file contains hidden or 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
# Uncomment below 3 lines if you want to change conversation topic in specific folder | |
top = mapi.Folders.Item("MyOutlook") # Replace MyOutlook to your PST name | |
for i in range(1, top.Folders.Count + 1): | |
parse_folder('', top.Folders[i]) | |
# Comment out below 2 lines if you want to change conversation topic in specific folder | |
#for i in range(1, mapi.Folders.Count + 1): | |
# parse_folder('', mapi.Folders[i]) |
This file contains hidden or 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
P4CLIENT=<Perforce Client Name ex:ALEX_SYSTEM_SW_DEV_GIT> | |
P4USER=<Perforce ID ex:alex.jang> | |
P4PORT=<Perfoce IP/Port ex:165.213.202.46:1716> | |
P4PASSWD=<자신의 Perforce Password> |
This file contains hidden or 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
function! s:P4_edit_current( ) | |
execute "!p4 edit " . expand("%") | |
endfunc | |
function! s:P4_revert_current( ) | |
execute "!p4 revert " . expand("%") | |
endfunc | |
command! PerforceEdit call <SID>P4_edit_current() | |
command! PerforceRevert call <SID>P4_revert_current() |
This file contains hidden or 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
(defun dotspacemacs/user-config () | |
"Configuration function for user code. | |
This function is called at the very end of Spacemacs initialization after | |
layers configuration. | |
This is the place where most of your configurations should be done. Unless it is | |
explicitly specified that a variable should be set before a package is loaded, | |
you should place you code here." | |
(set-language-environment "Korean") | |
(prefer-coding-system 'utf-8) ; utf-8 환경 설정 |
OlderNewer