Skip to content

Instantly share code, notes, and snippets.

@dscho
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
[core]
repositoryformatversion = 0
filemode = true
bare = false
View gist:1434511
java.lang.NullPointerException
at imagej.legacy.translate.LegacyUtils.dimensionsIJ1Compatible(LegacyUtils.java:121)
at imagej.legacy.plugin.LegacyPlugin.isLegacyCompatible(LegacyPlugin.java:306)
at imagej.legacy.plugin.LegacyPlugin.run(LegacyPlugin.java:106)
at imagej.ext.plugin.PluginModule.run(PluginModule.java:148)
at imagej.ext.module.ModuleRunner.run(ModuleRunner.java:148)
at imagej.ext.module.ModuleRunner.call(ModuleRunner.java:118)
at imagej.ext.module.ModuleRunner.call(ModuleRunner.java:65)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
View gist:1084529
http://fiji.sc/cgi-bin/gitweb.cgi?p=fiji.git;a=tree;f=src-plugins/Updater_Fix/fiji/updater;h=46f264238c64c98671410928a59bc6c46ab702b0;hb=28b8c7f37356276f46526c6e7b567fa8dbb4dc0f
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:560796
import ij.IJ;
import ij.ImagePlus;
import ij.io.FileInfo;
import ij.io.OpenDialog;
import ij.plugin.PlugIn;
import ij.process.ByteProcessor;
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
FIJI_JAVA_EXT=$FIJI_JAVA_HOME/lib/ext
FIJI_JAVA_EXT(macosx)=$FIJI_JAVA_HOME/Home/lib/ext
JAVA3D_JARS=$FIJI_JAVA_EXT/j3dcore.jar:$FIJI_JAVA_EXT/j3dutils.jar:$FIJI_JAVA_EXT/vecmath.jar
+ENVOVERRIDES(JAVA3D_JARS)=true
+POSTGRESQL_JAR=jars/postgresql-8.2-506.jdbc3.jar
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 tmp-debian-helper.sh
#!/bin/sh
cd /usr/lib/fiji
url=http://pacific.mpi-cbg.de/update
curl $url/current.txt |
while read package date has
do
case $package in
View gist:508521
<source lang="lisp">
(import '(ij IJ))
(def gold (IJ/openImage "http://rsb.info.nih.gov/ij/images/AuPbSn40.jpg"))
(.show gold)
</source>
View gist:398658
Non generic AB: l=6677230168510043648, t=1764
Generic AB: l=6677230168510043648, t=1739
Generic A+B: l=6677230168510043648, t=1750
Final ABClass: l=6677230168510043648, t=1760
Final APlusBClass: l=6677230168510043648, t=1743
Inline: l=6677230168510043648, t=1975
Non generic AB: l=6677230168510043648, t=2568
Generic AB: l=6677230168510043648, t=2585
Generic A+B: l=6677230168510043648, t=2627
You can’t perform that action at this time.