This file contains hidden or 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 org.jpos.rest.client; | |
import java.io.IOException; | |
import java.io.Serializable; | |
import java.io.ByteArrayInputStream; | |
import org.apache.commons.httpclient.HttpClient; | |
import org.apache.commons.httpclient.HttpStatus; | |
import org.apache.commons.httpclient.HttpMethod; | |
import org.apache.commons.httpclient.DefaultHttpMethodRetryHandler; | |
import org.apache.commons.httpclient.methods.GetMethod; |
This file contains hidden or 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
// XLabel.java | |
// When used with PREFORMATTED mode, elements are appended to the DOM on the client side without consuming server memory | |
// When combined with server push, it can be used to monitor large logs with a user experience similar to tail -f (quite responsive) | |
// The reload button works as a "clear", because of course we just have state on the server for the last setState call | |
// Known issues pending fix: if one calls setState twice with exactly the same content, Vaadin is smart enought to avoid the | |
// client-side update, but in this case, we do want the update anyway (i.e. adding a line with the same content). | |
package org.jpos.server.ui; | |
import com.vaadin.ui.Label; |
This file contains hidden or 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
var isoMsg = Java.type("org.jpos.iso.ISOMsg"); | |
var isoSource = Java.type("org.jpos.iso.ISOSource"); | |
var commit = function(id, ctx) { | |
try { | |
isoMsg = ctx.get("ISO_SOURCE"); | |
isoSource = ctx.get("ISO_REQUEST"); | |
isoMsg.set(39, "00"); | |
isoSource.send(isoMsg); |
This file contains hidden or 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
Verifying that +apr is my Bitcoin username. You can send me #bitcoin here: https://onename.io/apr |
This file contains hidden or 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
Msg: 1287 | |
De: CX7BY | |
Fecha: 18/08/91 | |
Hora: 20:25:44 | |
Tema: Satelite | |
HR AMSAT NEWS SERVICE BULLETIN 196.01 FROM AMSAT HQ | |
SILVER SPRING, MD JULY 15, 1991 | |
TO ALL RADIO AMATEURS BT | |
This file contains hidden or 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
/* CBBS.H | |
17:45 19/09/89 APR Primer release | |
Version Cambio | |
-------------- | |
1.00A - Primer release funcionante (se cuelga cada 2 o 3 dias) | |
1.00B - Se pusieron RQ y RL (Request y Release) en todas las funciones | |
supuestamente no reentrantes (scanf, open, close) |
This file contains hidden or 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
903 text files. | |
897 unique files. | |
1987 files ignored. | |
http://cloc.sourceforge.net v 1.56 T=9.0 s (94.1 files/s, 13827.4 lines/s) | |
------------------------------------------------------------------------------- | |
Language files blank comment code | |
------------------------------------------------------------------------------- | |
Java 768 9825 26755 72120 |
This file contains hidden or 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
From 1c37c901400dba8b71c11e7494ef662926901549 Mon Sep 17 00:00:00 2001 | |
From: Christopher Barham <[email protected]> | |
Date: Fri, 25 May 2012 09:36:45 +0200 | |
Subject: [PATCH 01/12] Fix double check locking idiom for DefaultTimer lazy | |
init | |
--- | |
jpos/src/main/java/org/jpos/util/DefaultTimer.java | 2 +- | |
1 files changed, 1 insertions(+), 1 deletions(-) |
This file contains hidden or 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
// Model: | |
/* | |
* Copyright (c) 2004 jPOS.org | |
* | |
* See terms of license at http://jpos.org/license.html | |
* | |
*/ | |
package org.jpos.fsm; |
This file contains hidden or 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
public class StringUtil { | |
public static String encode (String[] ss) { | |
StringBuilder sb = new StringBuilder(); | |
for (String s : ss) { | |
if (sb.length() > 0) | |
sb.append(','); | |
if (s != null) { | |
for (int i = 0; i<s.length(); i++) { | |
char c = s.charAt(i); | |
switch (c) { |