Skip to content

Instantly share code, notes, and snippets.

Johannes Schindelin dscho

Block or report user

Report or block dscho

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
cd /usr/lib/fiji
curl $url/current.txt |
while read package date has
case $package in
View fiji dpkg output
rc fiji 20090513 The Fiji image processing suite (based on ImageJ)
ii fiji-base 20100818203510 Core components of Fiji
ii fiji-bunwarpj 20100818203510 [FIXME: please write a description for this Fiji packag
ii fiji-edu-mines-jtk 20100818203510 [FIXME: please write a description for this Fiji packag
ii fiji-imagej 20100818203510 [FIXME: please write a description for this Fiji packag
ii fiji-imglib 20100818203510 [FIXME: please write a description for this Fiji packag
ii fiji-jai 20100818203510 [FIXME: please write a description for this Fiji packa
View postgresql-Fakefile.patch
diff --git a/Fakefile b/Fakefile
index 0eac65f..ae2854e 100644
--- a/Fakefile
+++ b/Fakefile
@@ -85,6 +85,9 @@ ENVOVERRIDES(JAVA_HOME)=true
View gist:560796
import ij.IJ;
import ij.ImagePlus;
import ij.plugin.PlugIn;
import ij.process.ByteProcessor;
View gist:890246
newImage("Untitled", "16-bit Ramp", 256, 256, 1);
run("Merge Channels...", "red=Untitled green=*None* blue=Untitled gray=*None* create");
View gist:1084529;a=tree;f=src-plugins/Updater_Fix/fiji/updater;h=46f264238c64c98671410928a59bc6c46ab702b0;hb=28b8c7f37356276f46526c6e7b567fa8dbb4dc0f
View gist:1434511
at imagej.legacy.translate.LegacyUtils.dimensionsIJ1Compatible(
at imagej.legacy.plugin.LegacyPlugin.isLegacyCompatible(
at java.util.concurrent.FutureTask$Sync.innerRun(
dscho / gist:1854723
Created Feb 17, 2012
Initial .git/config for accelerated git-svn clones of ImageJ2's source code repository
View gist:1854723
# 1) git init
# 2) overwrite .git/config with this file
# 3) git fetch
# This step takes some time:
# 4) git svn fetch
# 5) git checkout -b master -t trunk
repositoryformatversion = 0
filemode = true
bare = false
View gist:2024565
diff --git a/ij/process/ b/ij/process/
index a036cf4..f35f06c 100644
--- a/ij/process/
+++ b/ij/process/
@@ -303,17 +303,9 @@ public class ColorProcessor extends ImageProcessor {
public final float getf(int index) {
- int c = pixels[index];
- int r = (c&0xff0000)>>16;
View gist:2990484
// take a list and return a newArray(...) command
function join(list) {
result = "newArray(";
for (i = 0; i < list.length; i++) {
if (i > 0)
result = result + ", ";
result = result + list[i];
result = result + ")";
return result;
You can’t perform that action at this time.