Skip to content

Instantly share code, notes, and snippets.

View kikocorreoso's full-sized avatar

kikocorreoso

  • Smile Co
  • smileland
View GitHub Profile
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@kikocorreoso
kikocorreoso / brythonmagic-highstosk.ipynb
Created November 22, 2014 11:11
Example of use og HighStock with Bython and Brythonmagic in the IPython notebook
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@kikocorreoso
kikocorreoso / R_puntoflotante.ipynb
Created June 23, 2015 12:49
R puntoflotante.org
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@kikocorreoso
kikocorreoso / ipynp2wp.py
Created December 1, 2012 23:58
Publish an ipynb directly in wordpress.com (proof of concept)
# -*- coding: utf-8 -*-
## Basado en el script originalmente publicado en
## http://www.jansipke.nl/using-python-to-add-new-posts-in-wordpress/
import datetime
import xmlrpclib
from xml.sax.saxutils import escape
import json
import markdown
@kikocorreoso
kikocorreoso / birtualenb.py
Created December 2, 2015 21:06
Proof of concept to see the possibility to inherit venvs in an easy way
import os
import sys
import argparse
import subprocess
from venv import EnvBuilder
# Custom options
parser = argparse.ArgumentParser(description='inherit venvs')
parser.add_argument(
'--other-venv-paths',
@kikocorreoso
kikocorreoso / Usando google earth con ayuda de python y pykml (II).ipynb
Created February 4, 2013 18:59
Usando google earth con ayuda de python y pykml (II).ipynb ipython notebook usado para la entrada http://wp.me/p2hEpj-p3 en pybonacci.wordpress.com
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@kikocorreoso
kikocorreoso / DataScienceCourse_assignment6.ipynb
Created February 8, 2016 14:40
UW coursera Data Science Course - assignment 6
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@kikocorreoso
kikocorreoso / ddg_magic.py
Created September 6, 2014 22:25
Duckduckgo magic for he IPython notebook
from IPython.display import IFrame
def ddg(self, arg):
phrase = arg.replace(' ', '+')
url = "https://duckduckgo.com/?&q={0}".format(phrase)
return IFrame(url, 600, 400)
ip = get_ipython()
ip.define_magic('ddg', ddg)
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@kikocorreoso
kikocorreoso / index.html
Last active December 5, 2017 13:17
Brython app embedded in PyQt5. Save all the files on the same folder and run main.py
<!DOCTYPE html>
<html><head>
<meta name="description" content="Brython">
<meta name="keywords" content="Python,Brython">
<meta name="author" content="Pierre Quentel">
<meta http-equiv="content-type" content="text/html; charset=windows-1252">
<noscript>Please enable Javascript to view this page correctly.</noscript>
<script type="text/javascript" src="brython.js"></script>