Posts

Showing posts from April, 2014

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:

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);