-
Find the system modules directory, which is something like
$JBOSS_HOME/modules
or.../jboss-eap/modules/system/layers/base/
. -
Add a new directory
com/foundationdb/main
there. (There should already be com and org or you probably don't have the right starting directory.) -
Put the
module.xml
file into that new directory.
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 com.foundationdb.example; | |
public class TestJavaBasic | |
{ | |
public static void addSub(int x, int y, int[] sum, int[] diff) { | |
sum[0] = x + y; | |
diff[0] = x - y; | |
} | |
} |
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 com.foundationdb.example; | |
import com.foundationdb.Transaction; | |
import com.foundationdb.directory.DirectoryLayer; | |
import com.foundationdb.server.store.FDBTransactionService.TransactionState; | |
import com.foundationdb.server.store.FDBTransactionService; | |
import com.foundationdb.sql.server.ServerCallContextStack; | |
import com.foundationdb.sql.server.ServerQueryContext; | |
import java.util.Arrays; |
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
diff --git a/Gemfile b/Gemfile | |
index 678a5d2..d5748b4 100644 | |
--- a/Gemfile | |
+++ b/Gemfile | |
@@ -56,6 +56,7 @@ ENV['DB'] ||= 'mysql' | |
gem 'mysql2', '0.3.16' if ENV['DB'] == 'all' || ENV['DB'] == 'mysql' | |
gem 'pg', '0.17.1' if ENV['DB'] == 'all' || ENV['DB'] == 'postgres' | |
+gem 'activerecord-fdbsql-adapter', github: 'FoundationDB/sql-layer-adapter-activerecord' if ENV['DB'] == 'all' || ENV['DB'] == 'fdbsql' | |
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
/** | |
* Copyright (C) 2009-2013 FoundationDB, LLC | |
* | |
* This program is free software: you can redistribute it and/or modify | |
* it under the terms of the GNU Affero General Public License as published by | |
* the Free Software Foundation, either version 3 of the License, or | |
* (at your option) any later version. | |
* | |
* This program is distributed in the hope that it will be useful, | |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
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
#!/bin/bash | |
tmux kill-session -t SQL || true | |
tmux new-session -d -n SQL -s SQL "fdbsqlcli test | tee /tmp/SQL0.out" | |
tmux split-window -t SQL "fdbsqlcli test | tee /tmp/SQL1.out" | |
count_prompts() | |
{ | |
grep "=>" /tmp/SQL$1.out | wc -l | |
} |
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 com.foundationdb.slick.driver | |
import java.sql.{PreparedStatement, ResultSet} | |
import java.util.UUID | |
import scala.slick.ast._ | |
import scala.slick.lifted._ | |
import scala.slick.driver.JdbcDriver | |
import scala.slick.jdbc.JdbcType | |
import scala.slick.jdbc.meta.MTable | |
import scala.slick.model.Model |
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
;;; -*- Mode: Emacs-Lisp; coding:shift_jis -*- | |
;;; Logitec K-505 Kanji tablet (漢字入力装置) interface for XEmacs. | |
(provide 'k505) | |
(if (string-match "XEmacs" emacs-version) | |
(progn | |
(defun k505-string-bytes (str) |
Files from 2003 that were in Comcast before they discontinued PWP.
A cheap Android TV Box from a few years ago.
- https://androidtvboxreview.uk/m92s-plus-tv-box-review/
- S912
- Mali-T820MP3
- The original firmware seems to crash a lot.
- The upgrade does too and breaks the clock.
The standard CoreELEC works with gxm_q200_2g
, except the clock and remote.
The clock itself works as an m82, but not the dots.