Planet MySQL Planet MySQL: Meta Deutsch Español Français Italiano 日本語 Русский Português 中文
Showing entries 1 to 3

Displaying posts with tag: emacs (reset)

My personal web presence: Migrating to Google Sites, from blogs and emacs
+1 Vote Up -5Vote Down

This is a personal account of my effort to clean up my web presence. My web pages of personal and semi-professional nature needed weeding, and I ended up moving from sporadically maintained multi-lingual blogs and manually edited HTML pages to a set of Google Sites. Generations of cruft are being superseded by a solution based on a weighted balance of contemporary ease of use, versatility and my limited available time.

Before joining MySQL AB in 2001, I had lived through a set of personal web pages that I had set up with PHP. My mental mode was one of combining some fun PHP coding, a bit of editing of pics, and manual uploading of HTML files with scp with emacs editing on the server, that

  [Read more...]
Is emacs not coloring your Python comments?
+0 Vote Up -1Vote Down

This is a simple matter with a simple solution that might help someone save time and confusion. Emacs wasn’t coloring my comments correctly so I went ahead and had it change them to red-italic. If you are having similar issues you can drop the following into your home directory’s .emacs file. Enjoy. Keep in mind that if you are using emacs in a terminal session as opposed to the X-server gui then you will not see the italics.


(global-font-lock-mode 1)
(custom-set-variables
'(gud-gdb-command-name "gdb --annotate=1")
'(large-file-warning-threshold nil))
(custom-set-faces
'(font-lock-comment-face ((((class color) (background light)) (:foreground "red" :slant italic)))))

KDE Konsole Backgrounds and ssh
+0 Vote Up -0Vote Down

If you are a GUI-oriented person, you need not read this. But if you are like me, you make heavy use of the console. If you are managing many machines as well as your own Linux workstation, it’s VERY important to know where your console session is.

Too many times in the past I had wanted to bring down my workstation, and would type “shutdown” or “reboot” in the console window, only to find out to my horrors that the console was really a remote session to one of my web servers serving up hundreds of web sites.

Whoops!

Well, that prompted me into developing a solution where I can tell at a glance where I happened to be logged in. This way,  I wouldn’t be in danger of issuing dangerous commands on the wrong server. And if you are working for


  [Read more...]
Showing entries 1 to 3

Planet MySQL © 1995, 2014, Oracle Corporation and/or its affiliates   Legal Policies | Your Privacy Rights | Terms of Use

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.