Cocos 2d - You don’t have permission to save the file “api-docs”

Problem:

With both the installer and package downloaded from github i was getting:

>>> Installing Cocos2D-v3.0.0 files
>>> Installing Cocos2D-v3.0.0 templates
>>> Building/Installing Cocos2D-v3.0.0 documentation, this may take a minute....
appledoc version: 2.2 (build 963)

Generation step 1/5 failed: GBHTMLOutputGenerator failed copying template files to output, aborting!
You don’t have permission to save the file “api-docs”.
You don’t have permission.
>>> Cocos2D-v3.0.0 installation complete!

Solution:
It seams that the user which you are using to install Cocos 2d has to belong to the sudoers file.

Check Google for more details on how to do this.

APEX - javascript apex submit pasando parametros variables


Problema:Hacer el submit de una pagina en APEX con javascript pasando a la vez variables/valores en el request.

Solución:
Usar el carácter de escape " en substitución de " :

javascript:apex.submit({request:"SAVE",set:{"P400_REPORT_ID":2}});

Passing as argument an APEX variable:

javascript:apex.submit(
{request:"SAVE"
,set{"P400_REPORT_ID":"&P400_MPP_REPORT_ALL_Y_ID."}});


ORACLE - SQL inserir cambio de linea en campo texto (varchar2, bloc, clob, etc.)

Problema:
Inserir un cambio de linea(enter) en un campo de texto, varchar2, clob, blob etc.

Solución:
Concatenar  chr(13) || chr(10):
   p_log  clob;
   p_log := p_log || 'blah blah' || chr(13) || chr(10);

Apex - Submit current page via Javascript

In order to submit the current page via JavaScript edit the element that will trigger the event and configure the target as a URL with the following link:

javascript:apex.submit();