(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
#!/bin/bash | |
# source: http://www.haskell.org/pipermail/haskell-cafe/2011-March/090170.html | |
sudo rm -rf /Library/Frameworks/GHC.framework | |
sudo rm -rf /Library/Frameworks/HaskellPlatform.framework | |
sudo rm -rf /Library/Haskell | |
rm -rf ~/.cabal | |
rm -rf ~/.ghc | |
rm -rf ~/Library/Haskell |
require 'java' | |
require 'jt400' | |
require 'date' | |
require 'bigdecimal' | |
java_import 'com.ibm.as400.access.AS400JDBCDriver' | |
def get_records | |
@connection ||= java.sql.DriverManager.get_connection("jdbc:as400://127.0.0.1/",'username','password') | |
rs = @connection.createStatement.executeQuery("SELECT * FROM RANDOM_TABLE") |