User Tools

Site Tools


Downloads (-2016)
Downloads (2016-)
RSS aggregates

EMBL BioImage Data Analysis



—- Contact
CMCI Alumni
EMBL Heidelberg
EMBL Intranet

Popularity Ranking

Timeline of @cmci_

cmci_ avatar

Impressive and swift moderation @helenajambor !
About 3 hours, 33 mins ago by: Kota Miura (@cmci_)

cmci_ avatar

RT @LuisDVerde: Now available as a #ggplot2 geom thanks to @naupakaz
About 3 hours, 36 mins ago by: Kota Miura (@cmci_)

cmci_ avatar

RT @helenajambor: awesome, within 2 days .@naupakaz made a code publicly available for anyone wanting to make the half-and-half-plot FYI @…
About 3 hours, 37 mins ago by: Kota Miura (@cmci_)

cmci_ avatar

RT @dgaboriau: Thread on data visualisation: ggplots, boxplots and violin plots
About 9 hours, 14 mins ago by: Kota Miura (@cmci_)

cmci_ avatar

RT @christlet: SUSHI from Valentin Nāgerl lab allows super-resolution microscopy of neuronal morphology by STED imaging of extracellular sp…
About 12 hours, 24 mins ago by: Kota Miura (@cmci_)

cmci_ avatar

RT @christlet: Our work with @HenriquesLab and @MercerLab on SQUIRREL highlighted on the @CNRS website (in French, and we even found a pun!…
About 12 hours, 25 mins ago by: Kota Miura (@cmci_)
Algorithm FRAP Fiji ImageJ ImageJ Plugin ImageJ Plugin 3Dviewer Imaris Java Javascript Python R bias blog dokuwiki fiji google imagej java libraries matlab meetings neubias news papers python references software webadmin

CMCI weblog

Finally managed to fix a blog bug

I always was disturbed by the appearance of single blog entry in this site that the body text was always shifted all the way down the page, that when one clicks an entry from a list of blog entries, one would not recognize that the text is actually there (I know by myself so it was no problem but for others…).

So after a year of using Dokuwiki, I finally decided to debug it. Since I am not a web programmer and not knowing how php is working, I used Firefox add-on called Firebug. Great convinient feature of this developer tool is that you could live-update CSS to see what will happen to the page. Especially, you could turn on and off specific attribute just by clicking.

This made me a way through complex Dokuwiki system to find out what was causing the body text shift-down problem. The part I edited was actually only a line in style.css line 238, attribute “clear both;”.

jsMath plugin installed

Installed jsMath plugin, for using tex code directly in this wiki. Some problems seems to appear with previous text with .htaccess codes, but will fix later.

further notes: 2010 Apr. 21
I initially used jsMath to show math equations but then realized that mathJax is more up-to-date module for doing this (mathJax actually is de facto jsMath2.0). I then switched to mathJax.

MathJax works well with Chrome when you view this page. But then soon I found out that this is possible with only Chrome, not with Firefox nor IE. Since most of people visiting this site use Firefox, I started to try configuring but did not work with many different trials… then finally I found a solution for Firefox; upgrade it. The problem I had in viewing math equation was occurring with version 3.0x (on win32), and this does not happen and works well when version 3.6.3 is used. It was as simple as that. without thoughts, I was thinking that “My Firefox should be pretty new”.

The problem I encountered seems to be due to difference in the web-font loading settings. With IE, one better try to use at least IE9. I have not tired this yet, and probably will not because I have not seen any visitor using IE these days.

By the way, if you want to test if your browser is enabled with viewing math equation in, click the link below to test if it is possible.


a disadvantage after installing jsMath plugin is that the page loading became significantly slower than before.

Blocking spam

There has been Spam comments rushing in so I set the comments to be only available through CAPTCHA.

Dokuwiki Configuration: URL cleaning

In local.php (not accessible so configured through configuration manager)

   $conf['userewrite'] = '1';
   $conf['useslash'] = 1;

Copied .htaccess.dist to .htaccess, then in .htaccess, *une-**commented out lines shown in Red

14 ## Uncomment these rules if you want to have nice URLs using
15 ## $conf['userewrite'] = 1 - not needed for rewrite mode 2
16 RewriteEngine on
17 #
18 ## Not all installations will require the following line. If you do,
19 ## change “/dokuwiki” to the path to your dokuwiki directory relative
20 ## to your document root.
21 RewriteBase /
22 #
23 ## If you enable DokuWikis XML-RPC interface, you should consider to
24 ## restrict access to it over HTTPS only! Uncomment the following two
25 ## rules if your server setup allows HTTPS.
26 #RewriteCond %{HTTPS} !=on
27 #RewriteRule ^lib/exe/xmlrpc.php$ https://%{SERVER_NAME}%{REQUEST_URI} [L,R=301]
28 #
29 RewriteRule ^_media/(.*) lib/exe/fetch.php?media=$1 [QSA,L]
30 RewriteRule ^_detail/(.*) lib/exe/detail.php?media=$1 [QSA,L]
31 RewriteRule ^_export/([^/]+)/(.*) doku.php?do=export_$1&id=$2 [QSA,L]
32 RewriteRule ^$ doku.php [L]
33 RewriteCond %{REQUEST_FILENAME} !-f
34 RewriteCond %{REQUEST_FILENAME} !-d
35 RewriteRule (.*) doku.php?id=$1 [QSA,L]
36 RewriteRule ^index.php$ doku.php

and also changed line 21, specified the base directory ('/').

entry generator

Weblog Archive

blogtng/blogtop.txt · Last modified: 2016/05/24 05:46 (external edit)