Wednesday, July 09, 2014

blogspot: how to insert code

To insert code nicely formatted in blogspot use the following code:
<pre><code>
my code goes here...
</code></pre>

emacs: saves all the backup into a single folder

A nice settings suggested in http://www.emacswiki.org/emacs/BackupDirectory to get all your backup files created by emacs in a single folder, to do this I setup the following settings:
;; Put all backups in a folder
(setq
 backup-by-copying t
 backup-directory-alist `(("." . "~/.emacs_saves"))
 delete-old-versions t
 kept-new-versions 6
 kept-old-versions 2
 version-control t)

Friday, January 10, 2014

Firefox about pages

Here is a list of the firefox about pages (from: http://lifehacker.com/232995/inside-firefoxs-about-pages)
  • about:config
  • about:cache
  • about:config
  • about:blank
  • about:newtab
  • about:home
  • about:healthreport
  • about:permissions
  • about:plugins
  • about:telemetry
The Mozilla documentation is found in http://kb.mozillazine.org/About_protocol_links

Check also my personal Firefox options here.

Wednesday, January 08, 2014

My Firefox tunning

There are a few Firefox option I like, unfortunately sometimes is hard to find what are the knobs to touch to get it set as I like it. Here are the settings that I prefer:
  • Make search open in new tab:
    browser.search.openintab with value true
  • Keep window when closing last tab:
    browser.tabs.closeWindowWithLastTab with value false
  • Single close button for all tabs:
    browser.tabs.closebuttons with value 3 (0- Active tab only, 1 - all tabs, 2 - no close buttons, 3- single at the end of the tab bar)
  • Ask before quitting:
    browser.showQuitWarning with value true
  • Hide default "Inspect Element" when Firebug is installed:
    extensions.firebug.hideDefaultInspector set to true. (The option devtools.inspector.enabled does the same thing)