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
dim = 256; /* width / height */ | |
frames = 20; | |
red = 101; | |
green = 164; | |
blue = 227; | |
zoomIntoX = 4; | |
zoomIntoY = 4; |
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 ij.IJ; | |
import ij.gui.DialogListener; | |
import ij.gui.GenericDialog; | |
import ij.plugin.PlugIn; | |
import java.awt.AWTEvent; | |
/** | |
* A simple test for the claim that {@link Plugin}s with a | |
* {@link DialogListener} are not macro-recordable. |
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
#include <stdio.h> | |
#include <stdlib.h> | |
#include <windows.h> | |
#include <tlhelp32.h> | |
static int get_process_tree(DWORD *list, int len, int max_len) | |
{ | |
HANDLE snapshot = CreateToolhelp32Snapshot(TH32CS_SNAPPROCESS, 0); | |
PROCESSENTRY32 entry; | |
int i; |
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
diff --git a/libao2/ao_coreaudio.c b/libao2/ao_coreaudio.c | |
index 34374f4..ce587db 100644 | |
--- a/libao2/ao_coreaudio.c | |
+++ b/libao2/ao_coreaudio.c | |
@@ -368,7 +368,7 @@ static void print_help(void) | |
{ | |
OSStatus err; | |
UInt32 i_param_size; | |
- int num_devices; | |
+ int num_devices, i; |
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
new imagej.plugins.tools.TunePlayer().play("t150 l4 o3 c f c o2 f o3 c f l2 c l4 c f c f l3 a l8 g f e d d- l4 o3 c f c o2 f o3 c f l2 c l3 f l8 d l4 c o2 b- a g f"); |
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
http://loci.wisc.edu/software/interfacing-non-java-code |
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/sh | |
# Finds a unique nick name for Jenkins in the current Git history | |
# List from http://www.zelo.com/firstnames/alphabet/namesj.asp | |
names=' | |
jaantje | |
jaap | |
jabari | |
jabbar |
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
diff --git a/eclipse-bytecode.txt b/oracle-bytecode.txt | |
index 287569f..c8af853 100644 | |
--- a/eclipse-bytecode.txt | |
+++ b/oracle-bytecode.txt | |
@@ -3,41 +3,41 @@ public class net.imglib2.ops.sandbox.Expressions extends java.lang.Object{ | |
public net.imglib2.ops.sandbox.Expressions(); | |
Code: | |
0: aload_0 | |
- 1: invokespecial #8; //Method java/lang/Object."<init>":()V | |
+ 1: invokespecial #1; //Method java/lang/Object."<init>":()V |
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
;; Command_Launcher.clj starts here | |
(import '(java.awt Color) | |
'(java.awt.event TextListener) | |
'(ij.gui GenericDialog) | |
'(ij IJ) | |
'(ij Menus)) | |
(let [commands (keys (. Menus getCommands)) | |
gd (GenericDialog. "Command Launcher")] | |
(.addStringField gd "Command: " "") |