This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package allerlei; | |
import java.io.BufferedOutputStream; | |
import java.io.FileInputStream; | |
import java.io.FileOutputStream; | |
import java.io.File; | |
import java.io.IOException; | |
import java.io.OutputStream; | |
/** |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package thoughts; | |
import java.awt.event.KeyEvent; | |
import java.awt.event.KeyListener; | |
import java.util.concurrent.ArrayBlockingQueue; | |
import java.util.concurrent.TimeUnit; | |
import javax.swing.SwingUtilities; | |
/** |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package streaming; | |
import java.util.concurrent.Semaphore; | |
import javax.sound.sampled.AudioFormat; | |
import javax.sound.sampled.AudioSystem; | |
import javax.sound.sampled.DataLine; | |
import javax.sound.sampled.Line; | |
import javax.sound.sampled.LineUnavailableException; | |
import javax.sound.sampled.Mixer; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Experimental clojure-like functional programming library | |
*/ | |
func map(fn, ls) | |
local ret = {}; | |
if !ls || !fn then | |
return ret; | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
branch="$(git symbolic-ref HEAD 2>/dev/null)"; | |
branch=${branch##refs/heads/}; | |
echo "Command: git push origin $branch"; | |
while true; do | |
read -p "Is this correct? [yn] " yn | |
case $yn in |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
======================================================================== | |
BYTE UNIX Benchmarks (Version 5.1.3) | |
System: neetsrv: GNU/Linux | |
OS: GNU/Linux -- 2.6.32-39-server -- #86-Ubuntu SMP Mon Feb 13 23:15:11 UTC 2012 | |
Machine: x86_64 (unknown) | |
Language: en_US.utf8 (charmap="UTF-8", collate="UTF-8") | |
CPU 0: QEMU Virtual CPU version 0.12.3 (6823.0 bogomips) | |
x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET | |
13:13:19 up 1 day, 21:06, 1 user, load average: 0.00, 0.00, 0.00; runlevel 2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Copyright (C) 2012 René Jeschke <[email protected]> | |
* | |
* 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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.nio.FloatBuffer; | |
import com.github.rjeschke.neetutils.collections.Colls; | |
import com.github.rjeschke.njocl.Buffers; | |
import com.github.rjeschke.njocl.CL; | |
import com.github.rjeschke.njocl.CLException; | |
import com.github.rjeschke.njocl.CommandQueue; | |
import com.github.rjeschke.njocl.Context; | |
import com.github.rjeschke.njocl.Device; | |
import com.github.rjeschke.njocl.Kernel; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
artifact=~/.m2/repository/com/github/rjeschke/jnibuild/0.1-SNAPSHOT/jnibuild-0.1-SNAPSHOT.jar | |
if [ ! -f $artifact ] | |
then | |
mvn org.apache.maven.plugins:maven-dependency-plugin:2.1:get -DrepoUrl=http://maven.renejeschke.de/snapshots/ -Dartifact=com.github.rjeschke:jnibuild:0.1-SNAPSHOT | |
fi | |
java -cp $artifact com.github.rjeschke.jnibuild.Build $@ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Copyright (C) 2013 René Jeschke <[email protected]> | |
* | |
* 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 |
OlderNewer