Skip to content

Instantly share code, notes, and snippets.

View bckim92's full-sized avatar
🎯
Focusing

Byeongchang Kim bckim92

🎯
Focusing
View GitHub Profile
from typing import Any, Dict, List, Optional, Tuple, Union
import logging
import shutil
import math
import bisect
import os
logger = logging.getLogger(__name__)
\usepackage{color}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{multirow, varwidth}
% \usepackage{stfloats}
\usepackage{dblfloatfix}
\usepackage{verbatim}
\makeatletter
\newif\if@restonecol
\makeatother
import re
try:
# UCS-4
EMOTICON = re.compile(u'(([\U00002600-\U000027BF])|([\U0001f300-\U0001f64F])|([\U0001f680-\U0001f6FF]))')
except Exception, e:
# UCS-2
EMOTICON = re.compile(u'(([\u2600-\u27BF])|([\uD83C][\uDF00-\uDFFF])|([\uD83D][\uDC00-\uDE4F])|([\uD83D][\uDE80-\uDEFF]))')
NOT_EMOTICON = re.compile(r'(\\U([0-9A-Fa-f]){8})|(\\u([0-9A-Fa-f]){4})')
aspell --lang=en --mode=tex check filename.tex
# Copyright 2016 Google Inc. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
(http://www.alexeyshmalko.com/2014/youcompleteme-ultimate-autocomplete-plugin-for-vim/ 따라서 완전히 그대로 해도 될 것 같긴 하지만)
1. ~/.vim/plugins.vim 에
Plug 'Valloric/YouCompleteMe'
라인 추가
2. vim +PlugInstall
3. cd ~/.vim/plugged/YouCompleteMe
./install.sh --clang-completer
%load_ext autoreload
%autoreload 2
http://nbviewer.jupyter.org/github/tensorflow/tensorflow/blob/master/tensorflow/examples/tutorials/deepdream/deepdream.ipynb
vim
:make
:copen
#!/usr/bin/env python
import subprocess
import sys
import os.path
argv = sys.argv[1:]
if not argv:
sys.stderr.write('Argument required\n')