In your command-line run the following commands:
brew doctor
brew update
#!/bin/bash | |
# Sometimes you need to move your existing git repository | |
# to a new remote repository (/new remote origin). | |
# Here are a simple and quick steps that does exactly this. | |
# | |
# Let's assume we call "old repo" the repository you wish | |
# to move, and "new repo" the one you wish to move to. | |
# | |
### Step 1. Make sure you have a local copy of all "old repo" | |
### branches and tags. |
In your command-line run the following commands:
brew doctor
brew update
import java.io.{IOException, File, ByteArrayOutputStream} | |
import org.apache.avro.file.{DataFileReader, DataFileWriter} | |
import org.apache.avro.generic.{GenericDatumReader, GenericDatumWriter, GenericRecord, GenericRecordBuilder} | |
import org.apache.avro.io.EncoderFactory | |
import org.apache.avro.SchemaBuilder | |
import org.apache.hadoop.fs.Path | |
import parquet.avro.{AvroParquetReader, AvroParquetWriter} | |
import scala.util.control.Breaks.break | |
object HelloAvro { |
@ECHO OFF | |
IF "%1"=="" GOTO ERROR | |
PUSHD %1 2>NUL && SET IS_DIR=1 || SET IS_DIR=0 & POPD | |
IF "%IS_DIR%"=="0 " GOTO ERROR | |
REM Based on: | |
REM http://www.howtogeek.com/204088/how-to-use-a-batch-file-to-make-powershell-scripts-easier-to-run/ |
diff --git a/.gitignore b/.gitignore | |
index 18d2ca6cd..88dd037ce 100644 | |
--- a/.gitignore | |
+++ b/.gitignore | |
@@ -2,3 +2,6 @@ target/ | |
.classpath | |
.project | |
.settings/ | |
+ | |
+.idea/ |
import java.util.Arrays; | |
import java.util.LinkedList; | |
import java.util.List; | |
import java.util.Map; | |
import java.util.Spliterator; | |
import java.util.concurrent.ConcurrentHashMap; | |
import java.util.function.Consumer; | |
import java.util.stream.Stream; | |
import java.util.stream.StreamSupport; |
#!/bin/sh | |
# Script for running NetLogo headless also for large models | |
# (version for use with batch system like torque or slurm). | |
# Prepared based on NetLogo 5.0 | |
# | |
# Author: Rafal Kluszczynski | |
# Company: ICM UW | |
# Website: http://www.icm.edu.pl | |
# Email: klusi@icm.edu.pl |