Skip to content

Instantly share code, notes, and snippets.

Avatar
🤓
Lets contiperf

RUSLAN LÓPEZ CARRO javatlacati

🤓
Lets contiperf
View GitHub Profile
View prestamos.pl
% categoria(nombre, numero).
categoria(tecnologia, 2).
categoria(historia, 3).
categoria(geografia, 4).
categoria(matematicas, 5).
categoria(ctesis, 6).
categoria(otros, 7).
categoria(novelas, 8).
categoria(musica, 9).
categoria(cuentos, 1).
@javatlacati
javatlacati / Extractor.java
Last active Nov 24, 2018
Extractor de números en Dukescript
View Extractor.java
package dew.demo.ko4j;
import net.java.html.json.*;
import java.util.regex.*;
import java.util.*;
@Model(targetId="", className="ExtractorDeNumeros", properties={
@Property(name="cadena", type=String.class)
})
@javatlacati
javatlacati / StringDemo.java
Last active Aug 11, 2016 — forked from jtulach/Prime.java
Simple text statistics
View StringDemo.java
package dew.demo.string;
import net.java.html.json.Model;
import net.java.html.json.ComputedProperty;
import net.java.html.json.Property;
@Model(className="StringStatistics", properties={
@Property(name="myText", type=String.class)
})
class StringDemo {
@javatlacati
javatlacati / HelloViaKO.java
Last active Apr 25, 2019 — forked from jtulach/HelloViaKO.java
Estadísticas de cadenas
View HelloViaKO.java
package dew.demo.string;
import net.java.html.json.Model;
import net.java.html.json.ComputedProperty;
import net.java.html.json.Property;
@Model (targetId="",className = "StringStatistics", properties = {
@Property (name = "miTexto", type=String.class)
})
class PrimeDemo {
@javatlacati
javatlacati / HelloViaKO.java
Last active Oct 22, 2016 — forked from jtulach/HelloViaKO.java
Dukescript simple accesible captcha
View HelloViaKO.java
package dew.demo.ko4j;
import net.java.html.json.*;
@Model(className="Hello", properties={
@Property(name="say", type=String.class)
})
class HelloViaKO {
static {
Hello model = new Hello("Hello World!"+(010|4));
model.applyBindings();