Skip to content

Instantly share code, notes, and snippets.

Avatar

He Zhang HeZhang1994

View GitHub Profile
View ECM3427 Workshop Kruskal's Algorithm
while len(remaining) > 0 and len(et) < len(vertex) - 1:
# Pop the top edge (currently with the least weight) from the 'remaining' edge list.
e = remaining.pop(0) # The 0-th element will be removed from 'remaining'.
print(e.v1)
# Check the two vertices of this edge and the associated groups. ###
gi = group(e.v1, groups)
gj = group(e.v2, groups)
View ECM3427 Workshop
https://www.anaconda.com/
Download and install 'Anaconda Python 3.7 for Windows'. ~10mins
Search and open 'Anaconda Navigator (anaconda3)' from the status bar of Windows.
Click 'Launch' to open Jupyter Notebook on the homepage of Anaconda.
Done.
@HeZhang1994
HeZhang1994 / notes.md
Created Mar 17, 2019 — forked from arthur-e/notes.md
Ubuntu for GIS Installation and Setup
View notes.md

Post-Installation Fixes and Setup

# Install compilers and linking tools; other tools
sudo apt-get install g++ swig curl build-essential python-all-dev

# Install package manager
sudo apt-get install synaptic

# Install Unity customization tool
sudo apt-get install unity-tweak-tool
@HeZhang1994
HeZhang1994 / clean-up-boot-partition-ubuntu.md
Created Mar 17, 2019 — forked from ipbastola/clean-up-boot-partition-ubuntu.md
Safest way to clean up boot partition - Ubuntu 14.04LTS-x64, Ubuntu 16.04LTS-x64
View clean-up-boot-partition-ubuntu.md

Safest way to clean up boot partition - Ubuntu 14.04LTS-x64, Ubuntu 16.04LTS-x64

Reference

Case I: if /boot is not 100% full and apt is working

1. Check the current kernel version

$ uname -r