Skip to content

Instantly share code, notes, and snippets.

View brianduff's full-sized avatar

Brian Duff brianduff

View GitHub Profile
filenames
.parallelStream()
.forEach(f -> writeFile(tempDirWithPrefix.resolve(f), data));
@brianduff
brianduff / oracle
Created December 28, 2019 22:21
Ancient script to start / stop oracle on gentoo
#!/sbin/runscript
#
# name: /etc/init.d/oracle
# description: starts and stops Oracle on Gentoo Linux
# author: Brian.Duff@oracle.com
#
# Change this to your Oracle user
oracle_user=ora92
@brianduff
brianduff / TestClass.java
Created December 28, 2019 20:15
Java 1.5 Features
import java.util.*;
public class TestClass
{
public static void main( String[] args )
{
List<String> words = new ArrayList<String>();
words.add( "This" );
words.add( " is" );
words.add( " cool :)" );