This gist shows how to create a GIF screencast using only free OS X tools: QuickTime, ffmpeg, and gifsicle.
To capture the video (filesize: 19MB), using the free "QuickTime Player" application:
package com.ffbit.twitter; | |
import java.io.Serializable; | |
import java.util.HashSet; | |
import java.util.Set; | |
import javax.persistence.Access; | |
import javax.persistence.AccessType; | |
import javax.persistence.Basic; | |
import javax.persistence.CascadeType; |
I want to implement a simple simulator (Cellular automaton) and can use both java.util.concurrent.* or java.util.stream.* for parallel execution (later produces nicer code). With Java9 I want to execute on the GPU. Which package to use to prepare for GPU computation? Will there be a .parallelGPUStream()? |
all: calc | |
calc: parser lexer | |
CC lexer.c parser.c -o calc | |
lexer: | |
flex -o lexer.c lexer.l | |
parser: | |
bison -d -o parser.c parser.y |
apply plugin:'java' | |
apply plugin:'idea' | |
repositories { mavenCentral() } | |
dependencies { | |
testCompile 'junit:junit:4.11' | |
} | |
task makeDirs(description:'make all dirs for project setup') << { |
import org.junit.Test; | |
import java.util.Arrays; | |
public class IntToBitesTest { | |
@Test | |
public void intToBytes() throws Exception { | |
int n = 1234567890; | |
byte[] a = new byte[4]; |
set spell |
gpg --export -a |
mvn archetype:generate \ | |
-DgroupId=com.ffbit.maven.plugins \ | |
-DartifactId=solr-maven-plugin \ | |
-DarchetypeGroupId=org.apache.maven.archetypes \ | |
-DarchetypeArtifactId=maven-archetype-mojo |
/* | |
* Copyright (c) 2012, Luigi R. Viggiano | |
* All rights reserved. | |
* | |
* This software is distributable under the BSD license. | |
* See the terms of the BSD license in the documentation provided with this software. | |
*/ | |
package org.aeonbits.owner; |