Skip to content

Instantly share code, notes, and snippets.

View bzhr's full-sized avatar
💜
Upbeat-ing

Bozhidar Hristov bzhr

💜
Upbeat-ing
View GitHub Profile
@bzhr
bzhr / gist:788c91e77b942052817d21ea7be68372
Created May 16, 2017 16:21 — forked from mbrochh/gist:964057
Fast Forward Your Fork
# kudos to https://github.com/drewlesueur
# stolen from here: https://github.com/blog/266-fast-forward-your-fork#comment-11535
git checkout -b upstream-master
git remote add upstream git://github.com/documentcloud/underscore.git
git pull upstream master
git checkout master // [my master branch]
git merge upstream-master
git push origin master
@bzhr
bzhr / install_elixir.md
Created May 16, 2017 14:54 — forked from rubencaro/install_elixir.md
Elixir installation guide

Elixir installation guide

Version numbers should be the ones you want. Here I do it with the last ones available at the moment of writing.

The simplest way to install elixir is using your package manager. Sadly, at the time of writing only Fedora shows the intention to keep its packages up to date. There you can simply sudo dnf install erlang elixir and you are good to go.

Anyway, if you intend to work with several versions of erlang or elixir at the same time, or you are tied to a specific version, you will need to compile it yourself. Then asdf is your best friend.

@bzhr
bzhr / Line Plot, Stacked Bar and Heatmap
Created March 25, 2015 17:37
Line Plot, Stacked Bar and Heatmap
{
"cells": [
{
"cell_type": "code",
"execution_count": 1,
"metadata": {
"collapsed": true
},
"outputs": [],
"source": [
{
"metadata": {
"name": "",
"signature": "sha256:07ff820bd34583fede01046d83d52b58918ac7465510c5fdb2bca54c4b494dce"
},
"nbformat": 3,
"nbformat_minor": 0,
"worksheets": [
{
"cells": [
@bzhr
bzhr / Vector Auto Regression with Statsmodels to predict the stock of Safe Assets in the U.S. Economy
Last active May 3, 2018 13:27
Vector Auto Regression with Statsmodels to predict the stock of Safe Assets in the U.S. Economy
This file has been truncated, but you can view the full file.
{
"cells": [
{
"cell_type": "code",
"execution_count": 1,
"metadata": {
"collapsed": false
},
"outputs": [],
"source": [