Skip to content

Instantly share code, notes, and snippets.

View ben-crowhurst's full-sized avatar

Ben Crowhurst ben-crowhurst

View GitHub Profile
@mrmagooey
mrmagooey / main.py
Last active November 4, 2020 21:52
BoM radar gif
#!/usr/bin/env python
# MIT Licence
# Gets radar overlays from the Australian Bureau of Meteorology radar pages
# and creates an animated gif out of it.
# Needs requests and pillow (the python packages) and ImageMagick the standalone graphics
# program to be installed and available to work.
# All radar images are copyright BoM, and this script should not be used for
# commercial purposes, or possibly at all.
Below are the Big O performance of common functions of different Java Collections.
List | Add | Remove | Get | Contains | Next | Data Structure
---------------------|------|--------|------|----------|------|---------------
ArrayList | O(1) | O(n) | O(1) | O(n) | O(1) | Array
LinkedList | O(1) | O(1) | O(n) | O(n) | O(1) | Linked List
CopyOnWriteArrayList | O(n) | O(n) | O(1) | O(n) | O(1) | Array