Amateur Video
YouTube is great. With millions of videos available on any subject you want. Including entertainment, music, sport, keep-fit, education, religion, inspiration, motivation, business, cartoons and more.Amateur Video
YouTube is great. With millions of videos available on any subject you want. Including entertainment, music, sport, keep-fit, education, religion, inspiration, motivation, business, cartoons and more.Terminal
I used to run XTerm sessions for command-line work or house keeping. If you run Emacs, you can run 'Terminal Emulation' in a buffer.
Emacs has a number of different shells to choose from. There's 'Shell', 'Eshell' and 'Ansi-term'.
Emacs Ansi-Term behaves closely to a regular XTerm session.
To get started in Emacs do:
m-x ansi-term [enter]
Emacs will quiz ya if ya want to run /bin/bash. Hit enter to accept, and you have a fresh terminal up and running.
You can switch between buffers and terminal sessions without the mouse, along with all the other goodies Emacs has to offer.
Great.
Bye Bye Gregorian
A new calendar has been developed by researchers at John Hopkins University, that eliminates the leap year. It does it in a very sly way. Instead of a leap year, we now have a mini-month (actually its a week) called 'Xtr', every 5 or 6 years.Deja Vu
Emacs has a nice add-on to show recently opened files. It's simple to set up and simple to use.
Add the following code to your Emacs init file (.emacs) which should reside in your home directory. ~/.emacs. Use ls -la to find it, or in Emacs use Ctrl-x Ctrl-f ~/.emacs.
; Recently Opened Files - use recentf
(require 'recentf)
; Enable recentf mode
(recentf-mode t)
; Show last 10 files
(setq recentf-max-menu-items 10)
; Reset C-x C-r to display recently opened files
(global-set-key "\C-x\ \C-r" 'recentf-open-files)
As you probably know, in Emacs init file, any line starting with a semi-colon (;) is a comment and ignored by Emacs.
Save the init file and restart Emacs.
Hit Ctrl-x Ctrl-r to get a list of recently opened files.
Scroll to the file you want open and hit enter.
Done.
Disruptive Technologies
I read today that Eastman Kodak has filed for Chapter 11 Bankruptcy. It's unbelievable the company that gave the world photography and produced so many innovations is almost bust.Open Here
Sometimes you want Emacs to start up in a directory, other than your home dir. You may have a project you're working on or you want to work a set of files in special dir.
You can easily achieve this by adding an entry to Emacs config file which resides in your home dir.
/home/stray/.emacs
Open the dot.emacs file using any plain text file editor (emacs?) and add the following:
; Start emacs in project directory
(setq default-directory "/home/stray/projects/")
Save your .emacs file.
Close and restart Emacs for changes to take effect.
Woeful Performance
This is a not a football blog, so I resisted the urge to post on Liverpool's recent poor performances. Liverpool were held to a 0 - 0 draw against Wigan who sat in the bottom three of the Premier League on the 21 December 2011. On the 26 December 2011, Blackburn who sat bottom of the league, held Liverpool to a 1 - 1 draw. On the 5 December 2011 Liverpool were beaten 1 - 0 by mid-table Fulham.Loan Sharks
Here in the UK there's been a recent proliferation of companies offering easy short term loans. These are frequently advertised as pay-day loans. The ads are full of slick young things sitting relaxed in the comfort of their smart homes checking out the loans on their brand new laptop computers.