Skip to content

Instantly share code, notes, and snippets.

@vishalbelsare
vishalbelsare / multiple_ssh_setting.md
Created November 28, 2018 17:17 — forked from jexchan/multiple_ssh_setting.md
Multiple SSH keys for different github accounts

Multiple SSH Keys settings for different github account

create different public key

create different ssh key according the article Mac Set-Up Git

$ ssh-keygen -t rsa -C "[email protected]"
@vishalbelsare
vishalbelsare / python-settings.el
Created November 30, 2018 12:10 — forked from dmitry-saritasa/python-settings.el
python-settings.el
;;; package --- Python Programming ;;;
;;; Commentary:
;;; Code:
; don't show the startup screen
(setq inhibit-startup-screen t)
; don't show the menu bar
(menu-bar-mode nil)

Disabling GNOME Tracker and Other Info

GNOME's tracker is a CPU and privacy hog. There's a pretty good case as to why it's neither useful nor necessary here: http://lduros.net/posts/tracker-sucks-thanks-tracker/

After discovering it chowing 2 cores, I decided to go about disabling it.

Directories

@vishalbelsare
vishalbelsare / org-style.css
Created August 26, 2019 19:37 — forked from mowen/org-style.css
A stylesheet for the Emacs Org Mode HTML export
/**
* This stylesheet will work pretty well with a regular Org Mode HTML export.
* However, you do have to turn off all of the defaults:
*
* (setq org-export-html-style-include-scripts nil
* org-export-html-style-include-default nil)
*
* and insert a call to the stylesheet:
*
* (setq org-export-html-style
@vishalbelsare
vishalbelsare / factor_analysis.py
Created September 22, 2019 13:12 — forked from schalekamp/factor_analysis.py
simple factor analysis using python/pandas
# basic factor analysis
# http://blog.alphaarchitect.com/2015/05/28/basic-factor-analysis-simple-tools-to-understand-what-drives-performance/
import pandas as pd
import pandas.io.data as web
import datetime, re, copy
import numpy as np
import statsmodels.formula.api as sm
start = datetime.date(2000,1,1)
@vishalbelsare
vishalbelsare / factor_analysis.py
Created September 22, 2019 13:19 — forked from analyticd/factor_analysis.py
simple factor analysis using python/pandas
# basic factor analysis
# http://blog.alphaarchitect.com/2015/05/28/basic-factor-analysis-simple-tools-to-understand-what-drives-performance/
import pandas as pd
import pandas.io.data as web
import datetime, re, copy
import numpy as np
import statsmodels.formula.api as sm
start = datetime.date(2000,1,1)
@vishalbelsare
vishalbelsare / my-python-config.el
Created September 22, 2019 13:21
Elpy and conda for a complete python config with Anaconda Python Distribution (handles virtualenvs including python process)
;; See my explanation of this config here: https://github.com/jorgenschaefer/elpy/issues/1087
(provide 'my-python-config)
(require 'python)
;;; NOTE: PATH environment var must have your path to Anaconda
;;; environment, e.g., ~/anaconda/bin, as the last thing for
;;; everything else below to work.
;;; [[file:~/Encrypted/org-mode-repo/OrgModeFiles/howto-python.org]]
;;; explains how to work with Anaconda virtual envs and Emacs.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@vishalbelsare
vishalbelsare / almgren_chriss.py
Created January 22, 2020 11:27 — forked from flipdazed/almgren_chriss.py
Linear Almgren-Chriss python model
import numba as nb
import numpy as np
def impact_perm(nu, gamma, beta):
"""Returns the permenant dollar price impact per unit time
In paper as :math:`g(\nu)`
Args:
@vishalbelsare
vishalbelsare / stock_price_autoencoding.ipynb
Created May 14, 2020 20:43 — forked from GerardBCN/stock_price_autoencoding.ipynb
Stock market Bitcoin data compression with autoencoders
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.