Skip to content

Instantly share code, notes, and snippets.

View eolo999's full-sized avatar

Edoardo Batini eolo999

View GitHub Profile

Keybase proof

I hereby claim:

  • I am eolo999 on github.
  • I am eolo999 (https://keybase.io/eolo999) on keybase.
  • I have a public key whose fingerprint is B0F5 73A5 7A76 CB08 247E 4561 3E53 6AEA 0043 2557

To claim this, I am signing this object:

#!/usr/bin/env python
# -*- coding: utf-8 -*-
import json
from subprocess import Popen
from os import getenv
from flask import Flask, request, abort
from flask.ext.pymongo import PyMongo
@eolo999
eolo999 / cv.rst
Created May 8, 2012 20:07
curriculum vitae

Edoardo Batini

Born

Florence, 18 May 1973

Father of two

Pietro (6 years) and Elio (18 months)

Contacts

@eolo999
eolo999 / gist:2584358
Created May 3, 2012 08:26
Subpalindrome
#!/usr/bin/env python
# -*- coding: utf-8 -*-
# --------------
# User Instructions
#
# Write a function, longest_subpalindrome_slice(text) that takes
# a string as input and returns the i and j indices that
# correspond to the beginning and end indices of the longest
# palindrome in the string.