Fabrice's web : CV · Blogs (⇢ Madrid · ⇢ Science · ⇢ Everything) |
---|
This is a collection of tricks, scripts, one-liners, patches, hacks of all sort & anything related to computers and computing. Try at your own risks!
I am migrating from Evan Miller's extension of Google Maps, which is now archived (obsolete) to Pavel Astakhov's version, MultiMaps.
I am upgrading laussywiki to MediaWiki 1.22.1, mainly to support the new citation templates from wikipedia. They are great and I want a better/more thorough and more consistent quotation system.
Inkscape has a multipage extension: http://sourceforge.net/projects/inkscape-pages. Thanks to its authors: Cosmin Popescu!
Here is a short hack to turn Mathematica lists into hash tables.
\(\newcommand{\pt}{\partial_t}\)With MathJax, you can use \newcommand in enclosed $...$ characters to define a macro in any given page (e.g., \newcommand{\pt}{\partial_t} turns $\pt$ into $\pt$). If you want a popular macro to be defined once and for all, without having to include the definition each time, you have to declare it in a Config.js file.
This is a trivial patch of MediaWiki Extension:Anysite to shift x-wise the included frame.
I would like to quote references in MediaWiki from a $\mathrm{B{\scriptstyle{IB}}\TeX}$ (.bib) file.
The key indexing scheme I use is:
Movies downloaded from a mac bearing the .mov extension may fail to reproduce the video on other platforms (linux, windows, etc.), although the sound would still be played correctly. Most linux players will content to play the audio on a black screen. Xine complains about an unknown 'm2v1' codec. That's this hint which brought me to Carlos Aranda's blog
The following command allows a variety of useful operations on files based on stripping their extension:
I hadn't really realized that the possibility for readers to comment on our blog was in fact disabled. Now, this should be remedied. Please say hello!
I have installed Duesentrieb's Mediawiki Extension:News to keep an up-to-date record of what is new on our website.
A friend encountered a silly bug which wiped an entire folder of data (which bug?).
This little script removes images which appear to be in the portrait format (tweak it for your own needs).
The following (originally from someone Kurt [1]) works like a charm:
One of our most cherished goodies in our original website was the mouse rollover, or tooltip. Something like that (roll over!)...
We had to surrender this option when we turned to MediaWiki, since there was no good support for it and, until a few minutes ago, nothing close enough to what we wanted.
Now the situation has changed.
Don't use non-ASCII characters in filenames.
I put here a Mathematica module to generate a logarithmic grid of points between given lower and upper bounds.
When you have a corrupted Mathematica notebook, which happens more often than not, you can use the wonderful Corruption.m package from Lou D'Andria.