Tag: linkedin
-
SilverLight and Z-Index
When implementing a new SilverLight custom control, it was blocking menu popups (html / javascript) on the page. I set the z-index of the div and object tags that contained SilverLight to no avail. After a lot of googling, I found the following solution. Set the Windowless property to true. In the case of manually […]
-
JSON Objects
Answered a question on StackOverflow that I thought is worth posting about. It’s surprising how many people try to work with JSON without knowing javascript. Most JSON either returns objects {} or arrays []. The first thing you learn about JSON is that you can just eval the object. In the case of arrays, you […]
-
Fun With the GAC
The .Net GAC (Global Assembly Cache). It’s where all shared .Net components can live. However, if you have to step through the code of one of these assemblies things can get exciting… Let’s say that I have a Business Object dll named business.dll and I have it in my GAC. And a project in which […]
-
Keeping Temporary Files Out Of The Way In Emacs
Found some very useful emacs info in this this blog post. Put the following into your config and your temporary and autosave files will not clutter up your project directory. (defvar user-temporary-file-directory (concat temporary-file-directory user-login-name “/”)) (make-directory user-temporary-file-directory t) (setq backup-by-copying t) (setq backup-directory-alist `((“.” . ,user-temporary-file-directory) (,tramp-file-name-regexp nil))) (setq auto-save-list-file-prefix (concat user-temporary-file-directory “.auto-saves-“)) (setq […]
-
Caps Lock to Control Key in Ubuntu
I like to remap my caps lock key to an extra control key (this can be common practice in the emacs world). It’s closer to the common keys that are paired with control. And besides, I only ever turn on caps lock by mistake. Recently, while installing Ubuntu on a box, I was looking for the […]