Skip to content

Instantly share code, notes, and snippets.

View hoanW's full-sized avatar

hoan hoanW

View GitHub Profile
@hoanW
hoanW / update.sh
Last active September 8, 2020 19:00
A small script to update software and auto-clean junk for Ubuntu.
#!/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 09:26 — forked from Thomascountz/perceptron.py
Perceptron in Python v.1
"""
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