Tested with Apache Spark 2.1.0, Python 2.7.13 and Java 1.8.0_112
For older versions of Spark and ipython, please, see also previous version of text.
| package org.hibernate.test; | |
| import com.google.inject.AbstractModule; | |
| import com.google.inject.Inject; | |
| import com.google.inject.Singleton; | |
| import com.google.inject.persist.PersistService; | |
| import com.google.inject.persist.jpa.JpaPersistModule; | |
| public class DatabaseTestModule extends AbstractModule { |
| { | |
| "id": "jenkins", | |
| "cmd": "cd jenkins-standalone-master && ./jenkins-standalone.sh -z $(cat /etc/mesos/zk) -r 127.0.0.1:6379", | |
| "cpus": 0.5, | |
| "mem": 256, | |
| "disk": 1024, | |
| "instances": 1, | |
| "ports": [ | |
| 0 | |
| ], |
| module.exports = { | |
| extensions: { | |
| // clojurescript: require('./ext/clojurescript'), | |
| clojure: require('./build/ext/clojure'), | |
| clojurescript: require('./build/ext/clojurescript'), | |
| coffee: require('./build/ext/coffee'), | |
| babel: require('./build/ext/babel'), | |
| html: require('./build/ext/html') | |
| } | |
| } |
| Copyright (c) $today.year NECTEC | |
| National Electronics and Computer Technology Center, Thailand | |
| Licensed under the Apache License, Version 2.0 (the "License"); | |
| you may not use this file except in compliance with the License. | |
| You may obtain a copy of the License at | |
| http://www.apache.org/licenses/LICENSE-2.0 | |
| Unless required by applicable law or agreed to in writing, software |
| { | |
| "variables": { | |
| "aws_access_key": "{{env `AWS_ACCESS_KEY`}}", | |
| "aws_secret_key": "{{env `AWS_SECRET_KEY`}}" | |
| }, | |
| "builders": [ | |
| { | |
| "type": "amazon-ebs", | |
| "ssh_pty": true, | |
| "access_key": "{{user `aws_access_key`}}", |
Tested with Apache Spark 2.1.0, Python 2.7.13 and Java 1.8.0_112
For older versions of Spark and ipython, please, see also previous version of text.
| # Documentation: https://github.com/Homebrew/homebrew/blob/master/share/doc/homebrew/Formula-Cookbook.md | |
| # /usr/local/Library/Contributions/example-formula.rb | |
| # | |
| # PLEASE REMOVE ALL GENERATED COMMENTS BEFORE SUBMITTING YOUR PULL REQUEST! | |
| # | |
| # FOR LOCAL INSTALLATION COPY IT IN /usr/local/Library/Formula/ | |
| # | |
| class J2objc < Formula | |
| homepage "http://j2objc.org/" |
This gist details the following:
| import java.io.FileInputStream; | |
| import java.io.FileOutputStream; | |
| import java.io.IOException; | |
| import java.io.InputStream; | |
| import java.util.Iterator; | |
| import org.apache.poi.hssf.usermodel.HSSFCell; | |
| import org.apache.poi.hssf.usermodel.HSSFRow; | |
| import org.apache.poi.hssf.usermodel.HSSFSheet; | |
| import org.apache.poi.hssf.usermodel.HSSFWorkbook; |