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
let g:dotvim_settings = {} | |
let g:dotvim_settings.version = 1 | |
let g:dotvim_settings.default_indent = 4 | |
let g:dotvim_settings.max_column = 80 | |
let g:dotvim_settings.colorscheme = 'molokai' | |
let g:dotvim_settings.plugin_groups_exclude = ['ruby','go','javascript','scala','scm','python'] | |
source ~/.vim/vimrc |
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
map l K | |
map h J |
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
import re | |
import requests | |
def find_users(url): | |
print('getting:', url) | |
r = requests.get(url) | |
if r.status_code == requests.codes.ok: | |
users = re.findall(r'utf-8&fr=pb" target="_blank">(.*?)</a>', r.text) |
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
;; -*- mode: dotspacemacs -*- | |
;; This file is loaded by Spacemacs at startup. | |
;; It must be stored in your home directory. | |
(defun dotspacemacs/layers () | |
"Configuration Layers declaration." | |
(setq-default | |
;; List of additional paths where to look for configuration layers. | |
;; Paths must have a trailing slash (ie. `~/.mycontribs/') | |
dotspacemacs-configuration-layer-path '() |
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
Loading /home/kk/.emacs.d/core/spacemacs-mode.el (source)...done | |
Loading /home/kk/.spacemacs...done | |
(Spacemacs) Banner: /home/kk/.emacs.d/core/banners/000-banner.txt | |
(Spacemacs) Looking for configuration layers in /home/kk/.emacs.d/contrib/ | |
(Spacemacs) -> Discovered configuration layer: osx | |
(Spacemacs) -> Discovered configuration layer: auctex | |
(Spacemacs) -> Discovered configuration layer: perforce | |
(Spacemacs) -> Discovered configuration layer: company-mode | |
(Spacemacs) -> Discovered configuration layer: smex | |
(Spacemacs) -> Discovered configuration layer: colors |
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
Loading /home/kk/.emacs.d/core/core-load-paths.el (source)...done | |
Loading /home/kk/.spacemacs...done | |
(Spacemacs) Calling dotfile init... | |
(Spacemacs) Warning: Cannot find font "Source Code Pro"! | |
(Spacemacs) Banner: /home/kk/.emacs.d/core/banners/000-banner.txt | |
Mark set | |
(Spacemacs) Executing user init... | |
(Spacemacs) Calling dotfile layers... | |
(Spacemacs) Looking for configuration layers in /home/kk/.emacs.d/contrib/ | |
(Spacemacs) -> Discovered configuration layer: pcre2el |
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
" NeoBundle | |
" Note: Skip initialization for vim-tiny or vim-small. | |
if 0 | endif | |
if has('vim_starting') | |
if &compatible | |
set nocompatible " Be iMproved | |
endif | |
" Required: |
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
" Base Configuration | |
set t_Co=256 | |
let mapleader = "," | |
set timeoutlen=400 "mapping timeout | |
set ttimeoutlen=50 "keycode timeout | |
set mouse=a "enable mouse | |
set mousehide "hide when characters are typed | |
set history=1000 "number of command lines to remember | |
set ttyfast "assume fast terminal connection |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
import json | |
with open('test.json') as f: | |
list1 = json.load(f) | |
with open('test2.json') as f: | |
list2 = json.load(f) | |
for index, (dict1, dict2) in enumerate(zip(list1, list2)): | |
for (top_level_key1, top_level_value1), (top_level_key2, top_level_value2) in zip(dict1.items(), dict2.items()): |
OlderNewer