Archives: March 2009

Launch A Content Box!

1

March 27, 2009 at 12:47 pm Filed in:Projects

Developed by Victor Santafé
Inspired by MoodalBox
Released under MIT License

Something simple for your scripts. Launch A Content Box (LACB) can help you if you need to create content boxes directly from your javascript source using DOM or if you have any other kind of created element you need to show when any event occurs.

Why did I develop a new modal window manager script? because I was asking for a “loading” box in the center of the screen to indicate user that something had being processed in the server and should wait for it to continue, besides I wanted to create boxes as needed, I mean whenever I wanted and directly from source. I decided to develop my own script, when done I discovered it could be something else, so with LACB you can launch whatever you want and a “Loading Box” too.

Developed by a fanatic of simple but functional scripts, I hope it helps you too.

Read More…

Posting code in my land

0

March 20, 2009 at 1:39 pm Filed in:Wordpress

Some days ago I was in trouble when trying to insert code into a post, things were working bad in WordPress’s rich editor, ampersand was making me crazy and I had to look for new plugins to face the problem.

The solution:

Two plugins working together are making my code posting a relaxed experience:

Visual Code Editor:  Makes it possible (and trouble free) to post and edit code snippets in wordpress’s visual editor. Requires WordPress 2.5 – 2.7. * Adds <pre> & <code> to block format menu. * Allows extra attributes for compatibility in some syntax highlighters (ie, <pre lang=”php” line=’5′>). * Allows iFrames. * Unescape WP’s double escaping of &amp;. * Removes extra <pre> tags around SyntaxHighllighter Plus’s blocks. * Works in comments. By Jules Gravinese.

SyntaxHighlighter:  An advanced upload-and-activate WordPress implementation of Alex Gorbatchev’s SyntaxHighlighter JavaScript code highlighting package. See WordPress.com’s “How do I post source code?” for details. By MattViper007Bond, and mdawaffe.

That is.

Making a request with Mootools

0

March 17, 2009 at 5:18 pm Filed in:Javascript | Programming languages

Making a request with mootools is as easier as next lines are:


function doRequest(){

var data = "param1=1&param2=2";

new Request({
           url:'pagetorequest.java',
           method:'post',
           onSuccess: doOnSucess
         }).send(data);
}

function doOnSucess(response){
          alert("I am happy, and you?");
          alert("the response is:" + response);
}

Some Oracle dba queries

0

March 11, 2009 at 7:56 am Filed in:Oracle

Charset


SELECT value$

FROM sys.props$ 

WHERE name = 'NLS_CHARACTERSET'

Other way:

Ordinary Character set


select value from nls_database_parameters where parameter = 'NLS_CHARACTERSET';

National Character set


select value from nls_database_parameters where parameter = 'NLS_NCHAR_CHARACTERSET';

Get Tablespaces


select tablespace_name,extent_management from dba_tablespaces;