Archive for the ‘english’ Category
Enabling VNC and disabling desktop effects from the command line 1 comment
Don’t you just hate those day when you really need to access the desktop of a machine, but forgot or just never activated remote desktop?
Read the rest of this entry »
SyntaxHighlighter Evolved with inline-highlight no comments
After i first posted code for highlight-range i made some small changes to the code in the post as i found better ways of doing things. When i inserted new lines it messed with my highlighting. Inspired by pastebin.com, i wrote a couple of lines that let me specify with a marker in the code (and not by line-number) what line should be highlighted.
Update: Added @hr@ for inline-ranges.
Read the rest of this entry »
SyntaxHighlighter Evolved with highlight-range 1 comment
Update: As of SyntaxHighlighter Evolved v. 3.0.0 this functionality is included in the plugin.
One of the first plugins i installed for this brand new WordPress was SyntaxHighlighter Evolved. I love to code, and knew i would find a use for it. To test it i used a large C++ file from cpp.snippets.org and began testing.
Highlight worked fine, but i i didn’t support highlighting a range of lines. This might not be so useful, as you usually want to highlight small sections, but i rewrote syntaxhighlighter.php to support ranges.
Using BankID (norwegian type) in Ubuntu 10.04 no comments
Update: As of Ubuntu 10.10 this should not be nessesary, as OpenJDK in Ubuntu >= 10.10 should work with BankID.
In Ubuntu 10.04 (and probably onwards) OpenJDK Java and the Icedtea java plugin are the standard Java toolkit. BankID works with OpenJDK (just try installing Opera 10.10. Opera pre 10.5 use OpenJDK directly, without Icedtea), Icedtea is the troublemaker.
Read the rest of this entry »