Skip to content

Instantly share code, notes, and snippets.

View aaronbartell's full-sized avatar
🥓
Happy

Aaron Bartell aaronbartell

🥓
Happy
View GitHub Profile
$ ant -v test
Apache Ant(TM) version 1.9.4 compiled on April 29 2014
Trying the default build file: build.xml
Buildfile: /home/abartell/git/jffi/build.xml
Detected Java version: 1.7 in: /QOpenSys/QIBM/ProdData/JavaVM/jdk71/32bit/jre
Detected OS: OS/400
parsing buildfile /home/abartell/git/jffi/build.xml with URI = file:/home/abartell/git/jffi/build.xml
Project base dir set to: /home/abartell/git/jffi
parsing buildfile jar:file:/home/abartell/BuildTools/apache-ant-1.9.4/lib/ant.jar!/org/apache/tools/ant/antlib.xml with URI = jar:file:/home/abartell/BuildTools/apache-ant-1.9.4/lib/ant.jar!/org/apache/tools/ant/antlib.xml from a zip file
Importing file /home/abartell/git/jffi/version.xml from /home/abartell/git/jffi/build.xml
$ ant test
Buildfile: /home/abartell/git/jffi/build.xml
-pre-init:
-init-vars:
-post-init:
-init:
diff --git a/jni/libffi/src/powerpc/ffitarget.h b/jni/libffi/src/powerpc/ffitarget.h
index b47b0f5..b9a5fda 100644
--- a/jni/libffi/src/powerpc/ffitarget.h
+++ b/jni/libffi/src/powerpc/ffitarget.h
@@ -156,9 +156,11 @@ typedef enum ffi_abi {
#define FFI_V2_TYPE_DOUBLE_HOMOG (FFI_TYPE_LAST + 2)
#define FFI_V2_TYPE_SMALL_STRUCT (FFI_TYPE_LAST + 3)
+/*
#if _CALL_ELF == 2
/* -----------------------------------------------------------------*-C-*-
ffitarget.h - Copyright (c) 2012 Anthony Green
Copyright (C) 2007, 2008, 2010 Free Software Foundation, Inc
Copyright (c) 1996-2003 Red Hat, Inc.
Target configuration macros for PowerPC.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
``Software''), to deal in the Software without restriction, including
$ ant jar
Buildfile: /home/abartell/git/jffi/build.xml
-pre-init:
-init-vars:
-post-init:
-init:
#
# Build script for Arraylist
#
#-----------------------------------------------------------
# User-defined part start
#
# BIN_LIB is the destination library for the service program.
# the rpg modules and the binder source file are also created in BIN_LIB.
@aaronbartell
aaronbartell / server.js
Created January 3, 2015 17:16
Git server on IBM i using Node.js
var express = require('/QOpenSys/QIBM/ProdData/Node/bin/node_modules/express');
var app = express();
var server = require('http').createServer(app);
var io = require('/QOpenSys/QIBM/ProdData/Node/bin/node_modules/socket.io').listen(server);
var conf = {"port": 8020};
app.use("/css", express.static(__dirname + '/css'));
app.get('/', function(request, response) {
response.sendfile(__dirname + '/html/index_chat.htm');
ace.define("ace/theme/tomorrow_rpg", ["require", "exports", "module", "ace/lib/dom"], function(require, exports, module) {
exports.isDark = !1,
exports.cssClass = "ace-tomorrow",
exports.cssText = ".ace-tomorrow .ace_gutter {background: #f6f6f6;color: #4D4D4C}.ace-tomorrow .ace_print-margin {width: 1px;background: #f6f6f6}.ace-tomorrow {background-color: #FFFFFF;color: #4D4D4C}.ace-tomorrow .ace_cursor {color: #AEAFAD}.ace-tomorrow .ace_marker-layer .ace_selection {background: #D6D6D6}.ace-tomorrow.ace_multiselect .ace_selection.ace_start {box-shadow: 0 0 3px 0px #FFFFFF;border-radius: 2px}.ace-tomorrow .ace_marker-layer .ace_step {background: rgb(255, 255, 0)}.ace-tomorrow .ace_marker-layer .ace_bracket {margin: -1px 0 0 -1px;border: 1px solid #D1D1D1}.ace-tomorrow .ace_marker-layer .ace_active-line {background: #EFEFEF}.ace-tomorrow .ace_gutter-active-line {background-color : #dcdcdc}.ace-tomorrow .ace_marker-layer .ace_selected-word {border: 1px solid #D6D6D6}.ace-tomorrow .ace_invisible {color
ace.define("ace/mode/rpg_highlight_rules", ["require", "exports", "module", "ace/lib/oop", "ace/mode/text_highlight_rules"], function(e, t, n) {
"use strict";
var r = e("../lib/oop"),
i = e("./text_highlight_rules").TextHighlightRules,
s = function() {
var r = this.createKeywordMapper({
"support.function": "char|int|paddr",
"keyword": "const|dim|extproc|inz|like|likeds|opdesc|options|qualified|template|value|varying",
"constant.language": "inlr|varsize",
"directive": "copy|define|free|end-free",
-bash-4.2$ irb
irb(main):001:0> require 'active_support'
=> true
irb(main):002:0> require 'active_record'
=> true
irb(main):003:0> require 'ibm_db'
=> true
irb(main):004:0> require 'xmlservice'
=> true
irb(main):005:0>