Skip to content

Instantly share code, notes, and snippets.

Avatar

hoan hoanW

View GitHub Profile
@hoanW
hoanW / update.sh
Last active Sep 8, 2020
A small script to update software and auto-clean junk for Ubuntu.
View update.sh
#!/bin/bash
apt-get update
apt-get upgrade -y
apt-get autoremove -y
apt-get autoclean -y
@hoanW
hoanW / perceptron.py
Created May 5, 2020 — forked from Thomascountz/perceptron.py
Perceptron in Python v.1
View perceptron.py
"""
MIT License
Copyright (c) 2018 Thomas Countz
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is