If you see this, gubatron.com has successfully moved to Amazon Web Services.
Related Posts
NSIS: How to check if the default browser is Chrome
Reading the registry key won’t cut it. This does. [code] ; isDefaultBrowserChrome !define isDefaultBrowserChrome "!insertmacro isDefaultBrowserChrome" !macro isDefaultBrowserChrome Result FileOpen $0 "$PLUGINSDIR\browser_detect.htm" "w" FileClose $0 System::Call "Shell32::FindExecutable(t ‘$PLUGINSDIR\browser_detect.htm’, i 0, t .r1)" ${StrLoc} $0 $1 "chrome.exe" ">" ${If} $0 != "" StrCpy ${Result} "1" ${Else} StrCpy ${Result} "0" ${EndIf} !macroend [/code]
Here’s my first very rough draft of “LifeTips”.
https://github.com/gubatron/LifeTips#life-tips It is a short manuscript with actionable tips to live a better life, it’s there primarily as a manual for my kids when I die. Advice is grouped into 6 sections:– TIME– BODY– MIND– MONEY– WORK/LEADERSHIP (Entrepreneurship)– PEOPLE Most needed and valuable feedback is welcome. If you have corrections, additions, feel free to Create […]
How to obtain the coordinates of the JTable cell a mouse is hovering over, useful for tooltips within cell renderers.
public String getToolTipText(MouseEvent event) { /* * This is a Java Swing lesson on how to obtain the coordinates of the current cell * as you hover with the mouse on a JTable. * * You cannot use the renderer component, since it seems that once the table is done * stamping the cells with […]