I hereby claim:
- I am jyr on github.
- I am jyr (https://keybase.io/jyr) on keybase.
- I have a public key whose fingerprint is 5467 E976 FC72 D1BC 3ADA 8045 3ABE B6ED 20E2 AE96
To claim this, I am signing this object:
launchctl unload /opt/boxen/homebrew/Cellar/postgresql/9.3.4/homebrew.mxcl.postgresql.plist | |
launchctl load /opt/boxen/homebrew/Cellar/postgresql/9.3.4/homebrew.mxcl.postgresql.plist | |
launchctl load /usr/local/Cellar/postgresql/9.3.5_1/homebrew.mxcl.postgresql.plist |
I hereby claim:
To claim this, I am signing this object:
from tumblr import Api | |
import tumblr | |
import urllib2 | |
import sys | |
errors = { | |
‘403’:”Login o password incorrectos”, | |
‘404’: “Tumblrblog incorrecto”, | |
‘urlopen’ : “no ingreso su tumblrblog” |
86c86 | |
< def __init__(self, name, email=None, password=None ): | |
--- | |
> def __init__(self, name, email=None, password=None, date=None, tags=None, format=None): | |
90a91,93 | |
> self.date = date | |
> self.tags = tags | |
> self.format = format | |
100c103,107 | |
< 'password' : self.password } |
$(document).ready(function(){ | |
//Inicializando variables del select | |
var parentNode = $('select#t_comprobacion').val(); | |
var eventRun = false; | |
$('select#t_comprobacion').change(function (){ | |
if(!eventRun && parentNode != $('select#t_comprobacion').val()){ | |
$.getJSON("/gastos/ajax/json_tipos/"+$(this).val(), function(j){ |
""" | |
http://www.blog.pythonlibrary.org/?p=18 | |
http://wiki.wxpython.org/Transparent%20Frames | |
""" | |
import wx | |
class Fader(wx.Frame): | |
def __init__(self): |
""" | |
Disabled button | |
""" | |
wx.Frame.__init__(self, parent, id, style=wx.DEFAULT_FRAME_STYLE ^(wx.MAXIMIZE_BOX)) |
GIT TIPS | |
CONFIG | |
git config --global user.name "Jair Gaxiola" | |
git config --global user.email jyr.gaxiola@gmail.com | |
CREAR REPOSITORIO | |
- mkdir popcorn-wrapper | |
- cd popcorn-wrapper | |
- git init |
Instalar mysqldb | |
* Descargar mysqldb y hacer lo propio. | |
* Ubicar el path de mysql_config y cambiarlo en setup_posfix.py en la variable mysql_path | |
* Es necesario tener gcc, en caso de no tenerlo instalarlo desde los ports | |
port install gcc43 | |
* editar _mysql.c para borrar las lineas 37-39: |
#!/usr/bin/env python | |
# -*- coding: us-ascii -*- | |
# generated by wxGlade 0.6.3 on Wed Jun 24 01:20:43 2009 | |
import wx | |
import wx.richtext as rt | |
import wx.html as html | |
import urllib | |
from cStringIO import StringIO | |
import os |