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
View gist:165418
set debugfd [open "debug.txt" w]
rename proc _proc
_proc proc {name arglist body} {
uplevel 1 [list _proc $name $arglist $body]
uplevel 1 [list trace add execution $name enterstep [list ::proc_start $name]]
}
_proc proc_start {name command op} {
global debugfd
puts $debugfd "$name >> $command"
View gist:189557
plugins/README.txt
plugins/JRuby/imagej.rb
plugins/Macros/Bulls_Eye.txt
plugins/Macros/About_Plugin_Macros.txt
plugins/Macros/batch_convert_any_to_tif.txt
plugins/Macros/RGB_Histogram.txt
plugins/Macros/Polygon_.txt
plugins/Utilities/Close_All_Without_Saving.txt
plugins/Examples/Blobs_Demo_in_Ruby.rb
plugins/Examples/Anaglyph_for_Red_Cyan_glasses.rb
View gist:201488
$ PATH=$(pwd):$PATH git fetch localhg
Getting /home/schindelin/git/test-hg
*** failed to import extension hgext.hbisect: No module named hbisect
*** failed to import extension git from /home/schindelin/hg-git: cannot import name weakref
How can I help u todayz on ['localhg', 'hg+/home/schindelin/git/test-hg']?
Got command 'capabilities' with args ''
Capabilities are AWESUM.
Got command 'list' with args ''
View gist:243555
from ij.plugin import Duplicator
from ij3d import *
from java.awt import Font, Frame, Color
from javax.media.j3d import Transform3D
from voltex.Mask import BlendMethod, BlendSource
image = IJ.openImage("/home/iarganda/Desktop/Main_Page_files/Stitching-overview.jpg")
mirror = Duplicator().run(image, 1, image.getStackSize())
View gist:247395
Finding which commits last touched the files
If you _need_ to know which commit gave what file its current form, this script will help you:
(_please_, if you try to be helpful and edit the script, make _at least_ sure that it _still runs_ (that is particularly true if you insist on adding "use strict". Yikes, I thought this goes without saying!)
my %attributions = ();
my @files = ();
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
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 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 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
You can’t perform that action at this time.