playful emacs logo
For pure fun I made this version of the beloved gnu emacs , editor name using only parenthesis characters of a fixed (Courier) font. I kind of like the result. Don t you?
notes and tidbits about emacs, gnu tools, web programming, and sysadmin related stuff
For pure fun I made this version of the beloved gnu emacs , editor name using only parenthesis characters of a fixed (Courier) font. I kind of like the result. Don t you?
Embark is a keyboard-based UI combinator of relevant command options, a Swiss army knife for working within Emacs. It integrates beautifully with other libraries, like Marginalia and Consult, to compound unobtrusive, powerful means to connect several Emacs parts, simplifying the editing flow and enriching user interactions. The library s author, Omar Antolín, describes Embarks as a [ ]
Escaping a forwardslash in awk like awk '/javascript\//' doesn t work The way to do so is using the hexadecimal value of / which you can figure with the od unix command: echo "/" od -x which returns: 0000000 0a2f 0000002 then doing: awk '/javascripta2f/' works fine!
This is a way to select whatever text we had just inserted inside a buffer. I forgotten this trick until now that used it again. A small tip worth annotating that might come in handy for somebody else as well: 1) yank(paste) the text C-y 2) mark the point where the cursor landed, (using point-to-register), [ ]
A probably ridiculous thing to do, I know, but in hope of getting valuable help for you elisp expert guys out there (I m all ears) I m going ahead to show the unusual path I followed to simply bind the org-cicle invoked with an argument 64 (C-u C-u C-u) (This is also a litle probe of [ ]
Due to a disk failure on a server I needed to preserve several databases created for students. Some of them were empty, consecuently doing: mysqldump with the option --all-databases yielded an error and didn t work. What worked instead, was iterating through and mysqldumping them individually with this shell oneliner: for I in $(mysql -uroot -p****** [ ]
I just wanted to free a shortcut I had for C-1 to let it behave the way it was meant with the command digit-arguments . This answer http://stackoverflow.com/questions/7549259/is-there-a-quick-way-to-unbind-keys-in-emacs came in handy. (global-unset-key (kbd C-1 )) (define-key global-map (kbd C-1 ) digit-argument) By the way (a little tip) you can go: C- digit ARG) instead of the C-u method; say […
I needed to inspect a relatively small portion of a large log file (~1Gb), which will make chock even powerfull text-editors like vi(m) or emacs I proceded in two steps: 1) found the match in the file and pulled the line number - awk / May 10 /{a=$0; b = NR;}END{print a, :: ,b} log.txt [ ]
I finally got it on how to alter the combination of ALT + (backtick tilde) keys (the backtick is the one above the tab key), which Ubuntu Oniric Ocelot (11.10) assigned to a new functionality for flipping through windows in the switcher. This system shortcut could surely come as a nasty surprise when you upgrade from [ ]
Darn!, this is nothing but a little note of caution, a sad admission of stupidity or maybe even a tip to someone: if you ever find yourself in a tight schedule doing extra hours to finish up a project, don t waste precious minutes debugging your app only due to having foolishly picked the php ISO-8601 [ ]