Skip to content

Instantly share code, notes, and snippets.

View sbassi's full-sized avatar

Sebastian Bassi sbassi

View GitHub Profile
This file has been truncated, but you can view the full file.
<div id="page-container"><div id="pf1" class="pf w0 h0" data-page-no="1"><div class="pc pc1 w0 h0"><img class="bi x0 y0 w1 h1" alt="" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAA+YAAAMnCAIAAAA8tt9hAAAACXBIWXMAABYlAAAWJQFJUiTwAAANsUlEQVR42u3YsRHAIAwEQcsNUJprpTQqeAKKADO7keKPblRJHgAAfqv6MMKV8rV1vLYAAICTSXYAAJDsAACAZAcAAMkOAABIdgAAQLIDAIBkBwAAJDsAAEh2AABAsgMAAJIdAAAkOwAAINkBAECyAwAAkh0AAJDsAAAg2QEAAMkOAACSHQAAkOwAAIBkBwCAa1QSKwAAwLF82QEAQLIDAACSHQAAJDsAACDZAQAAyQ4AAJIdAACQ7AAAINkBAADJDgAASHYAAJDsAACAZAcAAMkOAABIdgAAQLIDAIBkBwAAJDsAAEh2AABAsgMAAJIdAAAkOwAAINkBAECymwAAACQ7AAAg2QEAQLIDAACSHQAAkOwAACDZAQAAyQ4AAJIdAACQ7AAAgGQHAADJDgAASHYAAJDsAACAZAcAACQ7AABIdgAAQLIDAIBkBwAAJDsAACDZAQBAsgMAAJIdAAAkOwAAINkBAADJDgAAkh0AAJDsAACAZAcAAMkOAABIdgAAkOwAAIBkBwAAJDsAAEh2AABAsgMAgGQHAAAkOwAAINkBAECyAwAAkh0AACQ7AAAg2QEAAMkOAACSHQAAkOwAACDZAQAAyQ4AAEh2AACQ7AAAgGQHAAAkOwAASHYAAECyAwCAZAcAACQ7AAAg2QEAQLIDAACSHQAAJDsAACDZAQAAyQ4AAJIdAACQ7AAAINkBAADJDgAASHYAAJDsAACAZAcAAMkOAABIdgAAQLIDAIBkBwAAJDsAACDZAQBAsgMAAJIdAAAkOwAAINkBAAD
@sbassi
sbassi / gist:9080645
Created February 18, 2014 21:33
SyntaxError at PSA master zip
(cata)sbassi@sbassi-Latitude-E6330:~/projects/catalytic/cata/main-catalytic$ pip install python-social-auth-master.zip
Unpacking ./python-social-auth-master.zip
Running setup.py egg_info for package from file:///home/sbassi/projects/catalytic/cata/main-catalytic/python-social-auth-master.zip
Requirement already satisfied (use --upgrade to upgrade): requests>=1.1.0 in /home/sbassi/projects/catalytic/cata/lib/python2.7/site-packages (from python-social-auth==0.1.21)
Requirement already satisfied (use --upgrade to upgrade): oauthlib>=0.3.8 in /home/sbassi/projects/catalytic/cata/lib/python2.7/site-packages (from python-social-auth==0.1.21)
Requirement already satisfied (use --upgrade to upgrade): six>=1.2.0 in /home/sbassi/projects/catalytic/cata/lib/python2.7/site-packages (from python-social-auth==0.1.21)
Requirement already satisfied (use --upgrade to upgrade): python-openid>=2.2 in /home/sbassi/projects/catalytic/cata/lib/python2.7/site-packages (from python-social-auth==0.1.21)
Requirement already s
A Functional Variant in ERAP1 Predisposes to Multiple
Sclerosis
Franca Rosa Guerini1*., Rachele Cagliani2., Diego Forni2, Cristina Agliardi1, Domenico Caputo1, Andrea
Cassinotti3, Daniela Galimberti4, Chiara Fenoglio4, Mara Biasin5, Rosanna Asselta6, Elio Scarpini4,
Giacomo P. Comi4, Nereo Bresolin2,4, Mario Clerici1,7, Manuela Sironi2
1 Don C. Gnocchi Foundation ONLUS, Milano, Italy, 2 Bioinformatic Laboratory, Scientific Institute IRCCS E. Medea, Bosisio Parini, Italy, 3 Department of Clinical Sciences,
Chair of Gastroenterology, Luigi Sacco University Hospital, Milano, Italy, 4 Dino Ferrari Centre, Department of Neurological Sciences, University of Milano, Fondazione Ca’
Granda IRCCS Ospedale Maggiore Policlinico, Milano, Italy, 5 DISP LITA Vialba, University of Milano, Milano, Italy, 6 Department of Biology and Genetic for Medical Science,
University of Milan, Milan, Italy, 7 Department of Biomedical Sciences and Technologies LITA Segrate, University of Milan, Milan, Italy
@sbassi
sbassi / gist:11190962
Created April 22, 2014 19:15
Población cubierta con fingerprinting voluntario
import uuid
import random
import pdb
class Person():
def __init__(self, padre=None, madre=None, generacion=0):
#self.reset()
self.dni = str(uuid.uuid4())
self.sex = random.choice(['F','M'])
self.pareja_con = None
Initial Question: Bought 2 times the same book, want to cancel 1. They are: ORDER #D01-5832209-XXXXXX and ORDER #D01-4181916-XXXXXXX. I want to cancel #D01-4181916-XXXXXXXX
08:02 PM PDT Vaijey(Amazon): Hello, Sebastian.
My name is Vaijey. I'll be happy to assist you today.
I checked and see that the order for the book was declined pending.
08:03 PM PDT Sebastian Bassi: Yes, and I want to cancel it, because is for the same book as the first order.
08:03 PM PDT Vaijey(Amazon): I've canceled the order for you.
08:04 PM PDT Sebastian Bassi: Thank you. I could not find any cancel button
08:04 PM PDT Vaijey(Amazon): No worries, Sebastian.
You're welcome! Is there anything else I can do for you today?
08:05 PM PDT Sebastian Bassi: no, thank you.
Internal Server Error: /_membercenter/header/native_login/
Traceback (most recent call last):
File "/home/sbassi/.virtualenvs/mmdb/local/lib/python2.7/site-packages/django/core/handlers/base.py", line 115, in get_response
response = callback(request, *callback_args, **callback_kwargs)
File "/home/sbassi/.virtualenvs/mmdb/local/lib/python2.7/site-packages/django/views/generic/base.py", line 68, in view
return self.dispatch(request, *args, **kwargs)
File "/home/sbassi/.virtualenvs/mmdb/local/lib/python2.7/site-packages/django/views/decorators/csrf.py", line 77, in wrapped_view
return view_func(*args, **kwargs)
File "/home/sbassi/.virtualenvs/mmdb/src/universe-utils/universe_utils/cors_lite.py", line 48, in dispatch
request, *args, **kwargs)
(gambee)sbassi@sbassi-Latitude-E6330:~$ tracepath netspend.com
1?: [LOCALHOST] pmtu 1500
1: 1-2-167-181.fibertel.com.ar 13.110ms
1: 1-2-167-181.fibertel.com.ar 11.242ms
2: no reply
3: no reply
4: no reply
5: 9-164-89-200.fibertel.com.ar 14.833ms asymm 7
6: 250-165-89-200.fibertel.com.ar 23.862ms
7: ge-0-1-2.ar3.eze1.gblx.net 11.094ms
Verifying that +sbassi is my Bitcoin username. You can send me #bitcoin here: https://onename.io/sbassi
{"id": 7, "name": "Main Stage", "last_modified": "2014-12-23T18:02:38.176Z", "configuration": {}, "displays": [{"title": "Master Video Display", "config": {"primary_background_offset": 100.0, "primary_background_color": "009DDC", "secondary_background_color": ""}, "objects": [{"id": 72, "duration": 15000, "override_color": null, "has_alpha": false, "video": "http://localhost:8000/media/uploads/videos/bounce_1.mp4"}, {"id": 71, "duration": 15000, "override_color": "009DDC", "has_alpha": false, "video": "http://localhost:8000/media/uploads/videos/bounce_1.mp4"}]}, {"title": "Countdown to Something", "subtitle": "Wow that's cool.", "image": "http://localhost:8000/media/uploads/images/speakers.png", "time": "2014-12-24T18:00:00Z", "config": {"duration": 15000, "primary_background_offset": 100.0, "primary_background_color": "009DDC", "secondary_background_color": ""}}, {"title": "Day 1", "config": {"primary_background_offset": 100.0, "primary_background_color": "009DDC", "secondary_background_color": ""}, "objects
The key's randomart image is:
+--[ RSA 2048]----+
| . = |
| . . = = . |
| E . + = |
| o + |
| S . |
| . + + |
| o + . |
| o o o |