Author Archives: jcs

Working With Rectangles

Xah Lee has a nice updated post on working with rectangles and some other loosely related matters. Every time I see these commands I think how useful they are and then promptly forget about them. I’m going to make an … Continue reading

Posted in General | Tagged | 1 Comment

Juan José García Ripoll: Lisp Hacker

This is slightly old news but over at Lisp, The Universe and Everything there’s a nice interview with Juan José García Ripoll, the developer of Embeddable Common Lisp. The thing about Ripoll is that he’s not a programmer1; he’s a … Continue reading

Posted in General | Tagged | 2 Comments

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