This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function mySecureMethod($parametro=60) { | |
return 'Metodo Verificado Parametro parametro: '.$minutes; | |
} | |
expose_function("test.secureMethod", | |
"mySecureMethod", | |
array("parametro" => array('type' => 'int', | |
'required' => false)), |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
try { | |
//getting the workbook | |
Workbook wbook = Workbook.getWorkbook(file); | |
//una hoja en especifico | |
final Sheet hoja = wbook.getSheet(0); | |
Cell a1 = hoja.getCell(0, 0); | |
final int columnas = hoja.getColumns(); | |
final int filas = hoja.getRows(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Build parameter string | |
String data = "username=the_user_name&password=the_secret_password"; | |
try { | |
URL url = new URL("http://localhost/elgg/services/api/rest/xml/?method=auth.gettoken"); | |
URLConnection conn = url.openConnection(); | |
conn.setDoOutput(true); | |
OutputStreamWriter writer = new OutputStreamWriter(conn.getOutputStream()); | |
//write parameters |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
function mySecureMethod($parametro=60) { | |
return 'Metodo Verificado Parametro parametro y Verificacion de Usuario: '.$parametro; | |
} | |
expose_function("test.secureMethod", | |
"mySecureMethod", | |
array("parametro" => array('type' => 'int', |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
this.addWindowListener(new WindowAdapter() { | |
@Override | |
public void windowClosed(WindowEvent e) { | |
super.windowClosed(e); | |
if(wbook!=null ) | |
wbook.close(); | |
} | |
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<title>Algun Titulo</title> | |
<script> | |
function habilitarID(){ | |
document.getElementById("Id").disabled=!document.getElementById("Id").disabled; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package android.support.v4.app; | |
import android.os.Bundle; | |
import android.os.Handler; | |
import android.view.ContextMenu; | |
import android.view.ContextMenu.ContextMenuInfo; | |
import android.view.Gravity; | |
import android.view.LayoutInflater; | |
import android.view.View; | |
import android.view.View.OnCreateContextMenuListener; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# virtual methods | |
.method public onCreate(Landroid/os/Bundle;)V | |
.locals 6 | |
.parameter "savedInstanceState" | |
.prologue | |
.line 111 | |
invoke-super {p0, p1}, Landroid/app/Activity;->onCreate(Landroid/os/Bundle;)V |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<configuration> | |
<scanIntervalSeconds>0</scanIntervalSeconds> | |
<daemon>true</daemon> | |
</configuration> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<!-- | |
To change this template, choose Tools | Templates | |
and open the template in the editor. | |
--> | |
<!DOCTYPE html> | |
<ui:composition template="/WEB-INF/templates/layout.xhtml" | |
xmlns="http://www.w3.org/1999/xhtml" | |
xmlns:h="http://java.sun.com/jsf/html" | |
xmlns:p="http://primefaces.org/ui" |