Skip to content

Instantly share code, notes, and snippets.

Fabio Galuppo fabiogaluppo

View GitHub Profile
View Priority Queues and Bin Packing.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View Simple Linear Regression.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View Compute Fisher Linear Discriminant.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@fabiogaluppo
fabiogaluppo / Encrypt and Decrypt with Hill Cipher.ipynb
Last active Aug 1, 2018
Encrypt and Decrypt with Hill Cipher
View Encrypt and Decrypt with Hill Cipher.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View From axpy to exp.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@fabiogaluppo
fabiogaluppo / gist:66d0563227c9bcb9915233ee438b31c3
Last active Jul 20, 2018
Built-in Types in Python (Elementary Data Structures)
View gist:66d0563227c9bcb9915233ee438b31c3
# http://bit.ly/py-eds-1
import hashlib
"""
>>> cut ("HelloWorld", 5)
('Hello', 'World')
"""
def cut(msg, cut_point):
return (msg[:cut_point], msg[cut_point:])
You can’t perform that action at this time.