December 2011
7 posts
algo paso →
Si, algo paso, me puse a ver fotos e hace ya algunos años y creo que antes era mas risueño Tomaba las cosas diferentes, tenia mi cámara y siempre estaba en busca de la mejor toma, hasta que…
Dec 5th
sorpresas en San Jose →
Contrario a lo que pensaba, acerca de la gente en Estados Unidos, me he llevado una gran sorpresa, resulta que todos han sido muy amables conmigo, voy por la calle y la gente sonríe, me dicen buenas…
Dec 4th
5 tags
play video from server titanium appcelerator
This is the first approach to play video from a http server on a mobile app using titanium appcelerator focusing on ios devices var win = Titanium.UI.currentWindow; var activeMovie = Titanium.Media.createVideoPlayer ({ contentURL: myVideo, backgroundColor:’#111’, movieControlMode:Titanium.Media.VIDEO_CONTROL_DEFAULT, scalingMode:Titanium.Media.VIDEO_SCALING_MODE_FILL }); if...
Dec 4th
2 notes
4 tags
Titanium appcelerator navigation group example
This is a little example about to build a navigation group (navigation controller for iOS) var first = Ti.UI.createWindow({   backgroundColor:“#fff”,   title:“Nav Group” }); var button1 = Ti.UI.createButton({title:‘push me Im the button number ONE!!!!!’, width:200, height:100}); var button2 = Ti.UI.createButton({title:‘push me Im the button...
Dec 4th
3 notes
Dec 4th
2 notes
Dec 4th
2 notes
a ver!!! →
Entiéndanle en una misma conversación a un Chino, un Italiano un Hindú, un Español, un Mexicano y un Norteamericano
Dec 3rd
August 2011
2 posts
Mobilecampmx
Ayer fué el mobilecampmx  una gran experiencia compartir con gente con muchas visiones diferentes sobre el mercado de móviles, aunque no logré estar en todo lo que quería, me dió mucho gusto ver como había gente de android, de ios, de blackberry, de windows phone y titanium appcelerator compartiendo experiencias y difundiendo lo que era el objetivo del evento, que la gente se acerque a desarrollar...
Aug 29th
4 tags
Titanium Certified App Developer
On july 2011, i went to Guadalajara to get a Titanium Certified App Developer training, I’m so glad, because i did it!!!  Now i’m one of the 11 TCAD’s in Mexico’s
Aug 23rd
6 notes
July 2011
2 posts
6 tags
Serie, apps en la tienda iTunes parte 2
Ahora, vamos a ver como crear una nueva aplicación en la tienda y como subirla. Para subir una  nueva aplicación a la tienda, es necesario primero dar de alta esta en iTunes, para esto se realiza el siguiente proceso. Entramos al member center de apple e introducimos user y password: https://developer.apple.com/membercenter/index.action Nos vamos al ios Provisioning Portal y de ahí a la sección de...
Jul 7th
24 notes
5 tags
Serie, apps en la tienda iTunes parte 1
Debido a la dificultad de firmar y subir aplicaciones a la tienda iTunes y en ayuda a todos los que no encuentran información en español, voy a escribir esta serie de posts. Empezamos con: ¿Cómo “firmar” las aplicaciones para prepararlas a subir a la tienda iTunes? Todas las aplicaciones que se van a subir a la tienda deben de ir “firmadas” por los diferentes certificados, también...
Jul 7th
11 notes
April 2011
1 post
el tiempo no alcanza →
Recuerdo aquellos días en que me aburría los fines de semana, era tal la aburrición, el no tener nada que hacer, que llegué a odiar los domingos, en las mañanas siempre íbamos a algún museo, luego…
Apr 8th
January 2011
2 posts
MEMP (beta), entorno local de desarrollo web.
jyr: Después de 27 días he conseguido escribir MEMP beta, se puede leer en otros posts más detalles sobre como probarlo desde la consola y de los servidores, librerias que contiene. Read More
Jan 28th
16 notes
MEMP, el producto mínimo viable.
jyr: MEMP es un stack de Mac Enginx MySQL y PHP desarrollado con pyobjc, permite tener un entorno de desarrollo para web.  Su función principal es iniciar y parar servicios (web, base de datos y php-fpm) desde un GUI. Versiones: mysql 5.5.8 nginx 0.7.68 php 5.2.16 Extensiones compiladas: freetype 2.4.4 gettext 0.18.1.1 jpegsrc.v8b libpng 1.4.5 mcrypt 2.6.8 gd 2.0.35 curl 7.2.13 gd...
Jan 27th
16 notes
October 2010
1 post
Oct 13th
September 2010
1 post
2 tags
Sep 29th
April 2010
4 posts
políticas de la empresa.... →
Es realmente frustrante, luego de un discurso al iniciar el año, de que “la empresa” se preocupa por la superación de su gente, que bueno, ellos no te pueden apoyar económicamente, pero siempre te…
Apr 27th
4 tags
Getting url vars with javascript
I hope this little script can help you =) I need to read some vars on the url, but, trying to write a portable function, so, i don’t know the variables name, obviusly later you can handler the names and the values of the vars: <script type=”text/javascript”> var URL = location.href;     URL = URL.replace(/.*\?(.*?)/,”$1”);     var...
Apr 22nd
Carta de un mexicano en desacuerdo →
Mientras seguimos en un país, gobernado por políticos corruptos, mafías de crimen organizado y narcotraficantes, los todavía ciudadanos que buscamos salir adelante de una manera honesta y descente,…
Apr 19th
2 tags
Playing with Js
Now, i’m playing with javascript, building objects, functions, callbacks etc etc I’ve never work that way with javascript before, it’s nice and very useful. We can build objects like that: var myObject = {   varObject1: “value”,   varArray1 :[1,2,3,4,5],   myFunction: function(){   myFunctionStuff … .. .. },   anotherFunction: function(aParam){  ...
Apr 19th
March 2010
2 posts
6 tags
playing with twitter api
i’m just playing with twitter api and jquery, so i write a function to get some tweets using twitter search, and passing hashtags to the search, we need to use jsonp, because the xss error :P So the function: function twitterSearch() { var url = “http://search.twitter.com/search.json?q=%23nowplaying”; if(typeof(lastId)!=”undefined”) { var url =...
Mar 3rd
1 note
3 tags
Problems shortening url's?
Ok, i needed to shorten a url, so, i just take a look to the tinyurl api and it’s great!!! it returns json format!! So, lets write a jquery function to get back the shortener url: $.ajax({ dataType: “jsonp”, url: “http://json-tinyurl.appspot.com/?url=’algo.com’&callback=?”, cache: false, success: function(data){ alert(data.tinyurl); } }); We...
Mar 2nd
February 2010
4 posts
ok ok , jQuery Selectors
I’m doing some stuff with jquery, and i need to bind a mouseover event, but in more than one id, and then change the img src of the selected one, so, i use something like that: $(‘#id_1, #id_2, #id_3’).bind(‘mouseover’, function(){ var name = $(this).attr(“id”); switch(name) { case ‘id_1’: $(this).attr(“src”,...
Feb 17th
IDE's on the cloud (8) everywhere I look around...
Nice,  the cloud is on fashion, so, why don’t put a programming IDE on the cloud and make the things happend? Well, it’s very interesting and some sexy to use an IDE on the browser, what do you think? Just check this url: http://web.appstorm.net/roundups/5-great-ides-to-start-coding-in-the-cloud/
Feb 9th
Protocol http not supported or disabled in libcurl...
Jo jo jo, it’s a tipical curl_php error, but, the error response is not very, ehmmmm  easy to deduce. It’s simple, surely there is an extra space before ‘http’, so check the CURLOPT_URL declaration, and search for this space, and then, delete it!!!!  :D
Feb 9th
javascript, optional parameters
I was searching about how to define optional parameters on javascript functions, but i discover that it’s not necesary to declare it *optional*  the javascript behavior is: function (var1, var2, var3) if i call my function like this: function (var1) or like this: function (var1, var2) it works!!! so, only need to do some verifications like: if(var1===”undefined”) { var1 =...
Feb 9th
October 2009
1 post
Oct 13th
September 2009
2 posts
Playing with Zend (file validators)
i’m working on a web project, and the php-framework that the clients use is Zend Framework, on my opinion, Codeigniter is “Harder, Better, Faster, Stronger”, starting with the DB class, and meny other things. But, this post is not to talk about the good and bad things of zend, this post is about how to create filevalidators in Zend. When we are trying to upload file’s...
Sep 15th
proyectos, ubuntu podcast, congreso internacional... →
Mientras el año avanza muy aprisa, y sigo abandonando mi blog (espero ya no hacerlo tanto) las cosas van pintando mejor, el año empezó con buenas miras, luego gracias a todo el teatrito de la…
Sep 1st
August 2009
1 post
problems with LAMP windows and htaccess on...
Ok, i had some problems with my apache vhosts, they didn’t read my htaccess inside of each apache vhost, the solution (or my solution) was: on the <Directory /> sentence inside httpd.conf comment the line “#Deny from all” Restart your webserver and test again. It works for me and i hope that works  for you
Aug 4th
June 2009
7 posts
Del ordenamiento vial en CU, UNAM →
Hace algún tiempo, con la entrada del pumabus en ciudad universitaria, decidieron reordenar todo el asunto vial, lo cual aplaudo, era ya un caos estar en CU, el tráfico era impresionante ahí dentro,…
Jun 17th
mysql truncate
It’s a very useful command, when we are populating a database, sometimes we found little issues that forced us to empty a table and then refilling it, but, the auto increment indexes does not reset, so the field with auto increment starts in another value different to zero, then, if we use truncate, the auto increment field reset the counter and begins to zero! For more info visit the...
Jun 12th
How to import a csv file into a mysql database
To import a csv file into mysql, first we need to generate the csv file just with the fields that we need, then go to the mysql prompt an type: LOAD DATA LOCAL INFILE ‘/path/to/my/csv/file/file.csv’ INTO TABLE my_table FIELDS TERMINATED BY ‘,’ LINES TERMINATED BY ‘\n’ (field1, field2, field3); For more information consult the mysql documentation here
Jun 12th
me voy a bañar en lo que mandan un correo con info
Jun 11th
no encuentro la pinche soldadura :@
Jun 11th
testing
testing using opentumblr client for mac, you can download it here , the project owner and developer is jyr
Jun 11th
Empezando tumblr
Empezando tumblr, para probar el cliente de opentumblr para mac que hizo jyr Este post es desde web, los demás serán desde el cliente.
Jun 11th