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 | |
1. Базовая настройка | |
a. Настройка поведения | |
b. Настройка внешнего вида | |
c. | |
2. Настройка клавиш | |
a. Настройка Lead key | |
b. Настройка команд | |
c. Настройки для плагинов |
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
"++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++" | |
" __ _ _ _ __ ___ _ __ ___ " | |
" \ \ / / | '_ ` _ \| '__/ __| " | |
" \ V /| | | | | | | | | (__ " | |
" \_/ |_|_| |_| |_|_| \___| " | |
" " | |
"++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++" | |
let $vimhome=fnamemodify(resolve(expand("~/.vimrc")), ':p:h') | |
let $vundle=$vimhome."/bundle/Vundle.vim" |
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: make_charts(one_ticker as stirng or list of string, number_days(bars)for_showing) | |
from tqdm import tqdm | |
import pandas_ta as ta | |
import yfinance as yf | |
import pandas as pd | |
import numpy as np | |
import mplfinance as mpf | |
import matplotlib.pyplot as plt |
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 | |
from tqdm import tqdm | |
from bs4 import BeautifulSoup | |
import requests | |
import pandas_ta as ta | |
import yfinance as yf | |
import pandas as pd | |
import numpy as np | |
import mplfinance as mpf |
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 | |
from tqdm import tqdm | |
from bs4 import BeautifulSoup | |
import requests | |
import pandas_ta as ta | |
import yfinance as yf | |
import pandas as pd | |
import numpy as np | |
import mplfinance as mpf |
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
;; Build and Run C code from Spacemacs | |
;; If the code hasn't compilied then we build the code and create an execute file with a buffer's name without an extensions in the current folder | |
;; Or just run the program in bottom pop-up shell window | |
;; P.Pavlov 2016 | |
(defun execute-c-program () | |
(interactive) | |
(let ((c-code-compile (concat "gcc " (buffer-name) " -o " (file-name-base))) | |
(c-code-run (concat "./" (file-name-base)))) | |
(if (not (locate-file (file-name-base) ".")) | |
(shell-command c-code-compile)) |
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
def arg_process(): | |
for arg in sys.argv[1:]: | |
if arg in ["-h", "--help"]: | |
print("usage:csv2html.py [maxwidth=int] [format=str] < infile.csv > outfile.html") | |
return None, None | |
elif arg.startswith(maxwidth_arg): | |
try: | |
maxwidth = int(arg[len(maxwidth_arg):]) | |
except ValueError: | |
pass |
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
# Blender v2.70 (sub 0) OBJ File: 'OmenToken.blend' | |
# www.blender.org | |
o Circle.004 | |
v -0.263000 -0.000935 0.492039 | |
v -0.238541 -0.000935 0.504352 | |
v -0.263208 -0.000905 0.492427 | |
v -0.286827 -0.000935 0.478542 | |
v -0.262793 -0.000905 0.491651 | |
v -0.238352 -0.000905 0.503954 | |
v -0.238729 -0.000905 0.504750 |
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
# Blender v2.70 (sub 0) OBJ File: 'OmenTokenCollision.blend' | |
# www.blender.org | |
o Circle.004 | |
v -0.307290 -0.000000 0.164250 | |
v -0.314980 -0.000000 0.148974 | |
v -0.298861 -0.000000 0.179130 | |
v 0.333429 -0.000000 -0.101145 | |
v 0.337991 -0.000000 -0.084662 | |
v 0.328065 -0.000000 -0.117384 | |
v -0.221043 -0.000000 -0.269341 |
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
;; Mac OS Edition | |
;; This code helps us to work with Spacemacs (Emacs + Evil mode) in multilanguage mode | |
;; You need to install https://github.com/vovkasm/input-source-switcher | |
;; It's a console utilite to switch input language. | |
;; Pavel Pavlov (c) 2015 | |
;; In other OS you'll have to change name of langages layers and name of Switcher like issw | |
;; In thу Terminal # issw show you namу of the current layout | |
(setq shell-file-name "/bin/bash") | |
(setq lang_source "com.apple.keylayout.US") ;set default var lang_source for issw arg | |
(add-hook 'evil-insert-state-entry-hook ;what we do when enter insert mode |