Monthly Archives: July 2012

Searching for Blog Posts by Title

Last year I wrote about how I search for a blog post's org file by the post's title. That involved bringing up a dired buffer for the directory containing the source org files and doing a dired-do-search for a regular … Continue reading

Posted in Programming | Tagged , | Leave a comment

Malware Free

I spent most of the day yesterday going over the entire site looking for malware. I made a local copy of irreal.org and grepped for the signatures that I discussed in my Anatomy of an Exploit post. I didn't find … Continue reading

Posted in Administrivia | Tagged | Leave a comment

Anatomy of an Exploit

As I wrote yesterday, someone hacked the Irreal WordPress installation causing it to inject JavaScript into pages served by the blog. Here's a copy of the hacked index.php file: <?php eval(base64_decode('JGlwPSRfU0VSVkVS /* elided */ );?> <?php /** * Front to … Continue reading

Posted in General | Tagged , | 5 Comments

Malware Warnings

Yesterday, Google started warning that the Irreal blog was unsafe. After some investigation, I determined that the site had, in fact, been compromised and some JavaScript that targeted Windows users (with the MSIE or Firefox browsers) was being served. I … Continue reading

Posted in Administrivia | Tagged | Leave a comment

Shift Select Mode

I'm probably the last Emacs user to discover this but here's a nifty trick that I learned today while trawling through some of Magnar Sveen's .emacs.d files. If you hold down the shift key when moving the point, the region … Continue reading

Posted in General | Tagged | 1 Comment

Moving and Returning

Xah Lee asks what's the best way to jump to another position in a buffer and then return to the original point? Emacs users know a lot of ways of doing this. We can, for example, use 【Ctrl+s】 to move … Continue reading

Posted in General | Tagged | 5 Comments

Linum-mode

This is another note to myself. Recently I was examining the internal structure of the decimal expansion of a number. In order to do this, I put the decimal representation of the number in a buffer and did a query-replace-regexp … Continue reading

Posted in General | Tagged | 3 Comments

Remote SUDO Access With Tramp

I was reading some of the old posts from the excellent emacs-fu when I came across this post describing how to access root-owned files as a regular user. It was a nice post and cleared up an arcane piece of … Continue reading

Posted in General | Tagged | 3 Comments

Hiring Writers

Hitesh Sarda has an amusing post on How I Hire Writers. Much has been written recently about the dysfunctional madness that is the tech hiring process. Sarda imagines the same process applied to writers applying, say, to a newspaper or … Continue reading

Posted in General | Leave a comment

Emacs 24 ELPA Update

In my ELPA With Emacs 24 post, I documented some of the problems I was having getting ELPA to work with Emacs 24 and showed some Elisp to work around the problem. Fortunately, my readers are a lot smarter than … Continue reading

Posted in General | Tagged | 1 Comment