Thursday, June 30, 2011

Emacs cheat sheet


C-o
Insert a blank line after the cursor (open-line).
C-x C-o
Delete all but one of many consecutive blank lines (delete-blank-lines).
M + l to change to lowercase all the letters from the cursor to the end of the word
M + u convert to upper case
M + c capitalizes first letter.

Deletion means erasing text and not saving it in the kill ring. For the most part, the Emacs commands that delete text are those that erase just one character or only whitespace.

C-d

Delete next character (delete-char).



Delete previous character (delete-backward-char).
M-\
Delete spaces and tabs around point (delete-horizontal-space).
M-
Delete spaces and tabs around point, leaving one space (just-one-space).
C-x C-o
Delete blank lines around the current line (delete-blank-lines).
M-^
Join two lines by deleting the intervening newline, along with any indentation following it (delete-indentation).

Sunday, June 5, 2011

flash plugin for scientific linux

[root@xpsi7 rick]# yum install flash-plugin
Loaded plugins: refresh-packagekit
adobe-linux-i386                                         |  951 B     00:00    
adobe-linux-i386/primary                                 |  12 kB     00:00    
adobe-linux-i386                                                          18/18
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package flash-plugin.x86_64 0:10.3.162.29-0.1.el6.rf set to be updated
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package           Arch        Version                      Repository     Size
================================================================================
Installing:
 flash-plugin      x86_64      10.3.162.29-0.1.el6.rf       rpmforge      3.5 M

Transaction Summary
================================================================================
Install       1 Package(s)
Upgrade       0 Package(s)

Total download size: 3.5 M
Installed size: 10 M
Is this ok [y/N]: y
Downloading Packages:
flash-plugin-10.3.162.29-0.1.el6.rf.x86_64.rpm           | 3.5 MB     00:11    
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing     : flash-plugin-10.3.162.29-0.1.el6.rf.x86_64               1/1

Installed:
  flash-plugin.x86_64 0:10.3.162.29-0.1.el6.rf                                 

Complete!
[root@xpsi7 rick]#

Followers

About Me

Torrance, CA, United States