Skip to content

Instantly share code, notes, and snippets.

View SmirnGreg's full-sized avatar

Grigorii Smirnov-Pinchukov SmirnGreg

  • MPIA, Lomonosov MSU,SAI
  • Heidelberg, Germany
View GitHub Profile
@mgbckr
mgbckr / install_zsh_on_sherlock.sh
Last active April 8, 2024 05:49
Compiling and installing Zsh without root privileges on Stanford's Sherlock (https://sherlock.stanford.edu) for use in tmux
# Update 2023-07-20:
# I've recently switched to installing `zsh` via `conda` which is a lot less hassle.
# I added it to start automatically in `tmux` with
# `set-option -g default-shell "~/miniconda3/envs/default/bin/zsh"`
#
# # Install Zsh on Sherlock
# Installs Zsh with Oh-My-Zsh without root privileges
# on Stanford's Sherlock (https://sherlock.stanford.edu) for use in tmux
#
# ## Instructions
@phalt
phalt / ordered_set.py
Created December 7, 2017 13:55
Python 3.6 ordered set using a Dict
'''
In python 3.6 dictionaries are ordered:
"The order-preserving aspect of this new implementation
is considered an implementation detail and should
not be relied upon."
But let's face it, we're going to use it and it is
going to become a consistent feature.