Skip to content

Instantly share code, notes, and snippets.

View simonegiacomelli's full-sized avatar

Simone simonegiacomelli

View GitHub Profile
version: "3"
services:
web:
image: example/website
expose:
- 8000
environment:
HTTP_PORT: 8000
VIRTUAL_HOST: www.example.com

Keybase proof

I hereby claim:

To claim this, I am signing this object:

@simonegiacomelli
simonegiacomelli / exercise1.py
Created October 20, 2018 05:55
Machine Learning 2018/19. Assignment 1: Neural Networks - exercise1
import numpy as np
X = np.asarray([
[6, 4, 1, 1],
[3, 1, 7, 1],
[6, 10, 9, 1],
[4, 2, 4, 1],
[1, 5, 10, 1],
[5, 3, 7, 1],
@simonegiacomelli
simonegiacomelli / send_email_service_url.txt
Last active September 1, 2021 12:12
Send email service url
https://script.google.com/macros/s/AKfycbzEXGsQM73degfieojAcAj2OfNvKkBrYzhoTi9Y6L4V4-ZzScx1PpnD0neTOpo7LAQo6A/exec
@simonegiacomelli
simonegiacomelli / KMP.java
Last active May 16, 2016 09:30 — forked from shoenig/KMP.java
Knuth-Morris-Pratt String Searching in Java
public class KMP {
public static void main(String abc[]) {
System.out.println("Testing KMP");
test("abc", "a", 0);
test("abc", "b", 1);
test("abc", "c", 2);
test("abc", "d", -1);
test("catdog", "tdo", 2);
test("ratatat", "at", 1);
test("foo", "", 0);
<link rel="import" href="../ace-element/ace-element.html">
<link rel="import" href="../paper-tabs/paper-tabs.html">
<link rel="import" href="../paper-tabs/paper-tab.html">
<link rel="import" href="../core-icons/core-icons.html">
<link rel="import" href="../core-icons/av-icons.html">
<link rel="import" href="../paper-fab/paper-fab.html">
<link rel="import" href="../paper-button/paper-button.html">
<link rel="import" href="../core-menu/core-submenu.html">
<link rel="import" href="../core-item/core-item.html">
<link rel="import" href="../paper-calculator/paper-calculator.html">