Posts
Setting Java Home Path on Unbuntu
Setting java home path on Ubtuntu export JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64 echo $JAVA_HOME export PATH=$PATH:$JAVA_HOME/bin echo $PATH java -version Add the above to .bashrc
Posts
Nbn Is the Worst
NBN is the Worst We have fibre to the node (FTTN) and it drops out a number of times per day.
Posts
Python Instance and Class Varibales Call me late to the game, but TIL about Python Instance and Class variables the hard way. Setting up mulplie classes using composition and was struck wondering why when storing data in a list of class instances, the data was stored across all instances.
As specified 9.3.5. Class and Instance Variables
class Dog: kind = 'canine' # class variable shared by all instances def __init__(self, name): self.