Tuesday, 21 February 2017

[Java] jEdit (or other Java application) freezes goes black when dragging it from main monitor to another on multi monitor extended desktop Windows 7 environment

Funny enough, it used to work but after a distributed software update at the office, I have mentioned problem. The freeze was under Windows 7 and 32 bit Java 1.8.0_131. Under Windows 10 and 32 bit Java 1.8.0_131 and HoSpot build 25.131-b11 the java applicatioin does not freeze but on the extended screens black out but the application still works.

The problem is the usage of the Direct3D pipeline. You need to switch it off. Therefore define the environment variable
J2D_D3D
with the value
false
and your done. You just have to restart affected applications (obviously for the freeze anyway).


I found the workaround described at OTN.

Wednesday, 1 February 2017

[blogger.com] Using my configuration of Alex Gorbatchev's syntax highlighter in my blogs

Html

<pre class="brush:[brush alias]">your code here</pre>

Available brushes

Brush nameBrush aliasesFile name
ActionScript3as3, actionscript3shBrushAS3.js
Bash/shellbash, shellshBrushBash.js
ColdFusioncf, coldfusionshBrushColdFusion.js
C#c-sharp, csharpshBrushCSharp.js
C++cpp, cshBrushCpp.js
CSScssshBrushCss.js
Delphidelphi, pas, pascalshBrushDelphi.js
Diffdiff, patchshBrushDiff.js
Erlangerl, erlangshBrushErlang.js
GroovygroovyshBrushGroovy.js
JavaScriptjs, jscript, javascriptshBrushJScript.js
JavajavashBrushJava.js
JavaFXjfx, javafxshBrushJavaFX.js
Perlperl, plshBrushPerl.js
PHPphpshBrushPhp.js
Plain Textplain, textshBrushPlain.js
PowerShellps, powershellshBrushPowerShell.js
Pythonpy, pythonshBrushPython.js
Rubyrails, ror, rubyshBrushRuby.js
ScalascalashBrushScala.js
SQLsqlshBrushSql.js
Visual Basicvb, vbnetshBrushVb.js
XMLxml, xhtml, xslt, html, xhtmlshBrushXml.js

For its setup see also to-integrate-alex-gorbatshevs-syntax

[git] Create a local branch from another branch

From the active branch git checkout -b <LOCAL_BRANCH> From a donator branch git checkout -b <LOCAL_BRANCH> <DONATING_BRANCH...