Skip to content

Instantly share code, notes, and snippets.

@muendelezaji
muendelezaji / bash-to-zsh-hist.py
Created October 5, 2016 14:18 — forked from op/bash-history-to-zsh-history.py
Convert Bash history to Zsh history
#!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# This is how I used it:
# $ cat ~/.bash_history | python bash-to-zsh-hist.py >> ~/.zsh_history
import sys
import time
@muendelezaji
muendelezaji / build-tensorflow.sh
Last active December 1, 2021 19:27 — forked from PatWie/update-tensorflow.sh
Script to build TensorFlow from source. Platform is ARM64 (aka aarch64) with OpenCL support via Codeplay SYCL SDK
#!/bin/bash
# =============================================================
# UPDATE SOURCE
# =============================================================
# git clone https://github.com/tensorflow/tensorflow
# git checkout -- .
# git pull origin master
# TF_BRANCH=r1.8
TF_ROOT=/home/tensorflow
@muendelezaji
muendelezaji / README.markdown
Created October 14, 2019 21:47 — forked from alexshk/README.markdown
List of countries in YAML, CSV and TXT format
@muendelezaji
muendelezaji / tableau10.mplstyle
Last active March 5, 2020 02:40 — forked from rhiever/tableau10.mplstyle
Custom style (Tableau-inspired) for matplotlib plots in Jupyter Notebooks
# Author: Randal S. Olson (randalolson.com / @randal_olson)
# Uses Tableau's Tableau10 color scheme
#
# In Notebook, use it as follows:
# plt.style.use('https://gist.githubusercontent.com/muendelezaji/75fe7ca33ac3b47730ba85378459a206/raw/1b807615235ff6f4c919b5b70b01a609619e1e9c/tableau10.mplstyle')
figure.figsize: 12, 7
figure.edgecolor: white
figure.facecolor: white