Posted August 24th, 2015 by Aidan McQuay, No Comments
I just got a photojojo lanse for my nexus 5 and thought I should write a quick post saying that it NOT compatible with the nexus 5 despite what it says on the photojojo site:
The lens is the right size but the actual lens on the nexus 5 is controlled by magnets so with the photojojo lens in place the camera on the nexus cannot focus properly. Hopefully this might prevent others from ordering, in my opinion it is fairly deceitful for photojojo to advertise this product as compatible with the nexus 5.
Posted August 10th, 2015 by Aidan McQuay, 2 Comments
There is an issue specific to Windows 7 that will cause emacs open new frames even if you have the server running. I believe for me there are actually two issues:
1) The emacs server file cannot be stored anywhere except within %appdata% so if you run your home from Dropbox or somesuch thing you will have to add this to force the server file back to the appdata directory:
(if (string= system-name "MATH-PC") (setq server-auth-dir (concat (getenv "APPDATA") "/.emacs.d/server")))
2) The server directory had to be owned by the same user as is running emacs. Typically you will run emacs from a normal user and the directory will below to Administrator. To fix this you need to browse to “%appdata%/.emacs.d/server” in explorer and change the ownership of the directory to your windows username:
Posted August 6th, 2015 by Aidan McQuay, No Comments
I spent a few hours today trying to find a completely free program I could use to recover my serial numbers easily. It seems that it can be recovered from the registry but then has to be de-crypted with a script (such a pain). After trying a few programs this one seems to do it well and is completely free:
Posted May 9th, 2012 by Aidan McQuay, 1 Comment
wooho it works!
Posted May 8th, 2012 by Aidan McQuay, No Comments
I whipped up a quick function that allows you to quickly search for a string in a folder or project (if you use repository detection) using the commercial PowerGrep program.
Just add the following to your .emacs:
(defun power-grep-selection-folder () (interactive) (start-process "powergrep" "foo" "C:\\Program Files (x86)\\JGsoft\\PowerGREP3\\powergrep.exe" "/search" "/folderrecurse" (replace-regexp-in-string (regexp-quote "\/") (regexp-quote "\\") default-directory) "/searchtext" (buffer-substring (region-beginning) (region-end)) "/resultsoptions" "5" "1" "9" "0" "0" "2" "/execute"))
From there you can assign it a keyboard shortcut or just use it as is. If you use repository root to manage project scope you can use the following to search your current repository:
(defun power-grep-selection-project () (interactive) (start-process "powergrep" "foo" "C:\\Program Files (x86)\\JGsoft\\PowerGREP3\\powergrep.exe" "/search" "/folderrecurse" (replace-regexp-in-string (regexp-quote "\/") (regexp-quote "\\") (repository-root buffer-file-name)) "/searchtext" (buffer-substring (region-beginning) (region-end)) "/resultsoptions" "5" "1" "9" "0" "0" "2" "/execute"))