me looking so small in this world

29 2009f July, 2009

Flash CS3 and AS3 Error message

Filed under: web — rudyegenias @ 8:08 am
Tags: , ,

Error message: String passed to URLVariables.decode() must be a URL-encoded query string It’s been long since I’ve got my foot soaked in flash and this time it’s ActionScript 3.

I then got this error message from a callback function that’s supposed to say if the input has been processed successfully. Been pondering about why that could happen and has reverted back the code to it’s original format. This time I did check the PHP file on the server and see it’s code if it’s the main culprit. Alas, it is the main problem. A missing semi-colon made PHP throw an error message in front of the status (query string).

The status should be:

success=true or success=false

This status has been pre-pended with an error that Flash intercepted before the accepted value.

Other say that this code fixed the problem (source):

loaderFunction.dataFormat = URLLoaderDataFormat.TEXT;


wrapping a pre tag using css3 in ie, opera, mozilla firefox

Filed under: web — rudyegenias @ 7:52 am
Tags: , , , , ,

pre {
white-space: pre-wrap;       /* css-3 */
white-space: -moz-pre-wrap;  /* Mozilla, since 1999 */
white-space: -pre-wrap;      /* Opera 4-6 */
white-space: -o-pre-wrap;    /* Opera 7 */
word-wrap: break-word;       /* Internet Explorer 5.5+ */
}

src: http://ajaxian.com/archives/wrapping-the-pre-tag

9 2009f March, 2009

how to compile greasemonkey script

Filed under: greasemonkey, javascript, programming — rudyegenias @ 10:20 am

I also code in Greasemonkey to save a few clicks of the mouse while working. Idea for what I have coded is: save at least few clicks of mouse, hundred clicks/day, that’s about 3000 clicks per months. That’s an anti-RSI initiative :D

While creating and giving out the script to other user is ok, it’s another issue when you need to ask them to install GM since it’s needed. Did try to create an extension, but creating takes quite a time. While learning how to, I then bumped into idea of creating an extension out of it. Turned to Google to check out ideas, as I practice DRY, turned out that there’s someone who already created a compiler. Here’s the link:

User Script Compiler

4 2008f November, 2008

how to enable innodb in xampp

Filed under: innodb, programming, web apps, xampp — rudyegenias @ 9:31 pm

Reference: The InnoDB Storage Engine

Find the file name my.cnf on xampp directory on C: drive. Uncomment the line that says:

#skip-innodb

and make sure that it will look like this:

skip-innodb

***
There are at least other setup option for innodb next to this line, just follow the helpful hints and you’re off. I can’t provide definite lines on this coz sadly my computer has broken down again? *Me thinks, am I worthy to be called a tech?* EVIL GRIN!

3 2008f September, 2008

google chrome – developer friendly

Filed under: browser, google — rudyegenias @ 8:50 am

Just installed this really fassstttt and cool browser and whew, it’s got FireBug like features. Will post more, soon. Really excited about this cool new toy. Enjoy.

Javascript console, Javascript Debugger, and Task Manager for those who thinks they don’t have enough fire power

Enjoy!

google chrome, screen shot and installed

Filed under: browser, google — rudyegenias @ 5:12 am

Get to install and play with Google Chrome. Awesomely simple and so-googlish, simple, functional. Just like Google.

new browser from google – the “google chrome”

Filed under: google — rudyegenias @ 2:52 am

Official Google Blog: A fresh take on the browser

Here’s the new buzz on web browsing, a new browser from Google. I never get to see this or touch this, or at least for now. Presentation began 11 PST this day.

26 2008f August, 2008

software freedon day philippines registration

Filed under: free software, linux — rudyegenias @ 7:47 am

Software Freedom Day 2008 – Philippines – Online Registration

Yet another meaningful event on free software world. I am personally inviting you guys.. Cheers. :D

21 2008f August, 2008

free your mind – use free software

Filed under: linux — rudyegenias @ 7:36 am

The table of equivalents / replacements / analogs of Windows software in Linux. (Official site of the table

Here’s a list of free software replacement for majority of Windows based programs. Some are even ported to Windows. Cheers.

12 2008f August, 2008

xpath

Filed under: greasemonkey, javascript, programming, web apps, xpath — rudyegenias @ 12:13 pm

XPath 教程

I have been developing tools(for my current job) that will save me some few ‘clicks’ of mouse(at least on the long run). This time I bump into a tool/standard that offers a lot of possibility when coding in Javascript and learning DOM. And yes, I don’t usually code in JS. This time I need it. The link above gives enough example on how they work(by example).

[UPDATE 1]
Additional links:

XpathResult – http://www.xulplanet.com/references/objref/XPathResult.html
Mozilla XPath Documentationhttp://www-xray.ast.cam.ac.uk/~jgraham/mozilla/xpath-tutorial.html

The tool that I’ve developed by the way is based on Greasemonkey.

Have fun with it.

Next Page »

Blog at WordPress.com.