Skip to content

Instantly share code, notes, and snippets.

View rmitula's full-sized avatar
☁️

Rafał Mituła rmitula

☁️
View GitHub Profile
@Teqqles
Teqqles / install_py_36.md
Created March 2, 2018 13:02
Install Python 3.6 + PIP on Ubuntu 14.04/16.04
sudo add-apt-repository ppa:deadsnakes/ppa
sudo apt-get update
sudo apt-get install python3.6

curl https://bootstrap.pypa.io/get-pip.py | sudo python3.6
@FedericoPonzi
FedericoPonzi / big-o-java-collections.md
Last active December 18, 2024 16:07
Big O notation for java's collections

The book Java Generics and Collections has this information (pages: 188, 211, 222, 240).

List implementations:

                      get  add  contains next remove(0) iterator.remove
ArrayList             O(1) O(1) O(n)     O(1) O(n)      O(n)
LinkedList O(n) O(1) O(n) O(1) O(1) O(1)
@squarism
squarism / iterm2.md
Last active April 19, 2025 04:46
An iTerm2 Cheatsheet

Tabs and Windows

Function Shortcut
New Tab + T
Close Tab or Window + W (same as many mac apps)
Go to Tab + Number Key (ie: ⌘2 is 2nd tab)
Go to Split Pane by Direction + Option + Arrow Key
Cycle iTerm Windows + backtick (true of all mac apps and works with desktops/mission control)