Config Thunderbird Lightning for sync with google calendar in Ubuntu 11.10 64 bits

February 10th, 2012 by sak

Lightning is the most complete calendar for Thunderbird, the e-mail client of Mozilla Foundation. It’s very surprising that Lightning is not part of the basic aplication, but most people use this calendar (there aren’t no options).

It’s very easy to config this Calendar but in this case, the trick is install manually because Lightning doesn’t appear in the Add-ons search for Ubuntu 11.10 64bits. First download  Lightning for main repository (I have installed 1.3b1) and then Provider for Google Calendar that adds to Lighning the posibility to sync with google calendar.

The second step is open the add-on manager and go to tools icon and select install from file. And that’s it, just use in the calendar in the top menu (“Event and tasks”), configuration is trivial.

Problem solved: error in the database installing drupal on dreamhost or wherever

December 14th, 2010 by sak

I was trying to install new Drupal 6 in dreamhost but when I insert the fileds with the datebase info and press next, the page simply reload. What’s happen? I hate when the errors say nothing.

Finally I found a solution and works with all recent versions of drupal (5 and 6) and all kind of hosting:

You need a copy of default.settings.php named settings.php in ./sites/default/ folder, but remember: Don’t delete or rename default.settings.php just keep it.

Ruby text encoding, the bloody hell

September 4th, 2010 by sak

I have just dealing with ruby encoding, yes in 2010 the text file encoding is still a big problem. If you need to know all about that you will love te guy who wrote the best article about ruby encoding. Enjoy the hell!

Mirroring coolcode.cn: coolplayer

August 12th, 2010 by sak

coolcode.cn is down and I want to know more about coolplayer 9 a cool wordpress extension for playing video, audio and streaming sources for radio and tv. This is an awesome tool to play on web with flash all kind of multimedia sources. Thanks to archive.org I could access to the informancion and even the zip files. Then I want to share with everybody this informacion, copying and paste the text and uploading the files; enjoy!

CoolPlayer 9 for WordPress

CoolPlayer 9 for WordPress allows you to play multimedia files in your blog.

The insert media not only support IE or windows browsers, but also support Firefox, Opera or other Linux/Unix browsers.

You can insert several mediae at one time and switch them to play with out reloading the page. it give you a download url following the media window. you can enter a media url to play when you double click the download bar. You can also hide this download bar to use download attribute in the coolplayer tag.

This version supports those types of files: rm, rmvb, ra, rv, ram, smil, smi, rtsp, rpm, asf, wm, wma, wmv, wax, wvx, ogg, ape, avi, mid, midi, wav, mms, m3u, asx, mov, qt, mqv, m4v, m4a, m4b, mpeg, mpg, m1s, m1v, m1a, m75, m15, mp2, mpm, mpv, mpa, flc, fli, cel, aiff, aif, aifc, cdda, bwf, rts, 3gp, 3gpp, 3g2, 3gp2, au, snd, ulw, smf, kar, qcp, sdv, gsm, amr, caf, amc, mp4, sdp, pdf, fdf, xfdf, xdp, xfd, gif, jpg, jpeg, bmp, png, xpm, dir, dxr, dcr, cst, cct, cxt, w3d, fgd, swa, swf, spl, mp3, flv, rtmp, rbs, xml, rss, xspf, atom.

This version also supports YouTube, Ifilm, VSocial, TuDou Video, atomFilms, BrightCove, YoQoo, 5 Show, 6Room, Mofile TV, OuOu, www.yijian.com, tvix.cn, ku6.com, biku.com, uume.com, cnboo.com, kuho.com, v.blog.sina.com.cn, quxiu.com, 56.com, v.wangyou.com, v.9you.com, maidee.com, pomoho.com, ROX.com.cn, imeem.com, gofish.com, veoh.com, GameTrailers.com, Evil Chili, Wildko, Yikers Videos & Games, Red Balcony Videos & Games, Live Video, Odeo Audio, Revver, MetaCafe, MySpace, GoEar, Break, Stupid Videos, Viddler, DailyMotion, I’m Vlog, RockYou, SevenLoad, MyVideo.de, Clipfish.de and Google Video.

This version is different from any previous version. This version supports Rich Text Editor, and adds the CoolPlayer button to the Text Editor & Rich Text Editor, it works well on WordPress 2.0 & 2.1+.

This version adds CoolPlayer options page. You can change any default options values on this page, and you can also change the CoolPlayer RPC Server URL, test validity of it and get the RPC Server version directly on this page.

More changes (Chinese) »


Download

CoolPlayer 9.3 for WordPress

CoolPlayer RPC Server 9.32


Installation

1. Download coolplayer and extract it to the wordpress plugins directory (wp-content/plugins), and then activate it in administrator’s interface.

2. If you want to install the RPC Server in your website, you should check your web server supports php mbstring & sockets extension and can connect the other web site directly first. Then you can download a separate RPC Server coolplayer_rpc and unzip it into the wordpress plugins directory (wp-content/plugins). And then change the default RPC Server to your RPC Server on the CoolPlayer options page in administrator’s interface. You can test validity of your RPC Server and get the RPC Server version directly on this page, too.


Usage

You can use the CoolPlayer Button to insert any multimedia in the Text Editor & Rich Text Editor. And you can also use the coolplayer tag directly in your post.

More introduction about CoolPlayer 9 (English)

For Example:

[coolplayer]

http://www.redbalcony.com/?vid=19865

[/coolplayer]

[coolplayer]
<a href=”http://www.youtube.com/watch?v=BZipRAsT0sk”>Sundance Diary8</a>
[/coolplayer]
[coolplayer width="420" height="360" autoplay="true" loop="true" download="hide"]

http://www.coolcode.cn/wp-content/upload/video.flv

[/coolplayer]

[coolplayer width="640" height="480"]
<a href=”http://www.vsocial.com/video/?d=5255″>Bugs bunny cartoon on family guy</a>
<a width=”480″ height=”420″ href=”http://www.youtube.com/w/funny-as-hell?v=rPw-BwnW7Qs”>Funny as hell</a>
[/coolplayer]
[coolplayer width="640" height="480" charset="GBK" autoplay="false" loop="true" download="show"]

http://www.coolcode.cn/wp-content/upload/舞女的纯情-夜来香.wmv

<a href=”http://www.coolcode.cn/wp-content/upload/童话.mp3″ image=”http://www.coolcode.cn/wp-content/upload/光良-童话.jpg” captions=”http://lrc.bzmtv.com/lrc_db/2004-5-19-JMRQNPDOKRQJNFOJOIRMNG-42472.lrc” lrccharset=”gbk” width=”455″ height=”487″>童话</a>
<a autoplay=”true” href=”http://www.coolcode.cn/wp-content/upload/我不想说我是鸡.swf”>我不想说我是鸡.swf</a>
[/coolplayer]

The easiest way to open spotify links under ubuntu linux with wine

March 9th, 2010 by sak

If you use spotify and linux (with wine) and you try to follow a spotify link, an error appears. There are a couple of reasons: first, emulator is not the same as native software; second, firefox (or other browser) don’t know how to handle that link. There is a tutorial to fix that, but it’s not sure it will run; then I realize that exists an easiest way to do that, the manual way:

  1. We have a link like this: http://open.spotify.com/user/colazo/playlist/2DUtzXeim668TieLZ8tNtk
  2. This web contains the link to open automatically the spotify playlist (but it doesn’t work), then we copy the text of this link (the biggest text). In this case: spotify:user:colazo:playlist:2DUtzXeim668TieLZ8tNtk
  3. Open spotify and paste it in the search box (on the top left)
  4. Enjoy!

Its not as elegant as automatic but is by far more easy to do.

puts “Hello world!”

January 21st, 2010 by sak

Hi all!

First post of this blog and not much to tell, only a story of the name of the blog. When I was a child, my aunt who lived in USA make me a gift: an english book (my first english book) and two small balls. The book was called “The hacky sack footbag”, I couldn’t understand english but I could understand graphics and photos, then I tryed to play with the balls but it was very difficult to me. When I come to internet my nickname was Sak, very similarity with the title, and the difficult to do hacks with the computer it’s very similar to my difficult to play that game. Years after the gift, I found a videogame California Games for Megadrive/Genesis that apears The hacky sack, then I realised the important of the game and finally I could play very good. With this blog I can share and learn more about hacking with computers and I hope this blog becames that videogame and I could play best.

California games screen catch

PS: The title of the post is the ruby instruction to print the common hello world