7/18/12

aspnet_regiis is missing from Framework64 & Framework folders for .NET v4.0.30319

Ran across this issue after installing the Microsoft .Net version 4 and tried to register asp.net version 4 with IIS 7.0 on Windows 2008 R2 64 but the executable "aspnet_regiis.exe" was not found in the newly created folder where it is supposed to be %WINDIR%\microsoft.net\Framework64\v4.0.30319\

The problem stemmed from wrong instructions directing the user to install .NET version 4 client Profile instead of the full .NET version 4 for server and development.

Once I installed the development version, all the missing files showed right up and was able to use aspnet_regiis just fine.

Current Location for the Dev standalone install files is here:

aspnet_regiis is missing from Framework64 & Framework folders for .NET v4.0.30319

Ran across this issue after installing the Microsoft .Net version 4 and tried to register asp.net version 4 with IIS 7.0 on Windows 2008 R2 64 but the executable "aspnet_regiis.exe" was not found in the newly created folder where it is supposed to be %WINDIR%\microsoft.net\Framework64\v4.0.30319\

The problem stemmed from wrong instructions directing the user to install .NET version 4 client Profile instead of the full .NET version 4 for server and development.

Once I installed the development version, all the missing files showed right up and was able to use aspnet_regiis just fine.

Current Location for the Dev standalone install files is here:

7/2/12

Chrome Popup: Your Profile Could Not Be Opened Correctly

I started experiencing this "Your Profile Could not be opened Correctly" message after the last Chrome update to version 20.0.1132.47

The only solution that worked for my particular setup was to delete the following two files (After making sure all Chrome Windows/tabs & processes are closed)

 “Web Data” and “Web Data-journal” files from the following location on my Windows7 machine:

 C:\Users\[Enter your username here]\AppData\Local\Google\Chrome\User Data\Default  

Although this solution was posted back in 2011, it still worked for my problem and resolved it without further tinkering.

Solution Source: http://akdora.wordpress.com/2011/11/03/solution-your-profile-could-not-be-opened-correctly-in-chrome/

P.S. I saw other solutions that suggested deleting your whole Chrome data folders & their contents. Make sure you backup your Chrome bookmarks and a list of your current extensions if you decide to go that route so you won't have to lose any of your stuff.

6/27/12

Yum update from specific repository

To run your yum packages updates from a specific yum repo you need to list your installed repo IDs by issuing this command:

# yum repolist
Which generates the example output below (obviously depends on what repos you have installed):

repo id                        repo name  
base CentOS-5 - Base
epel Extra Packages for Enterprise Linux 5 - x86_64
extras CentOS-5 - Extras
ius IUS Community Packages for Enterprise Linux 5 - x86_64
rpmforge RHEL 5 - RPMforge.net - dag
updates CentOS-5 - Updates

Then you can force yum to ignore all repos except the one you need (the IUS repo in this example) to list its available packages by issuing the following:

yum --disablerepo="*" --enablerepo="ius" list available


Which returns available packages that are only in that particular repo



 Loaded plugins: fastestmirror, replace, security  
Loading mirror speeds from cached hostfile
* ius: archive.linux.duke.edu
Excluding Packages in global exclude list
Finished
Available Packages
autoconf26x.noarch 2.63-4.ius.el5 ius
mysql50.x86_64 5.0.96-2.ius.el5 ius
mysql50-bench.x86_64 5.0.96-2.ius.el5 ius
mysql50-debuginfo.x86_64 5.0.96-2.ius.el5 ius
mysql50-devel.x86_64 5.0.96-2.ius.el5 ius
mysql50-server.x86_64 5.0.96-2.ius.el5 ius
mysql51.x86_64 5.1.63-1.ius.el5 ius
mysql51-bench.x86_64 5.1.63-1.ius.el5 ius
mysql51-debuginfo.x86_64 5.1.63-1.ius.el5 ius
mysql51-devel.x86_64 5.1.63-1.ius.el5 ius
mysql51-embedded.x86_64 5.1.63-1.ius.el5 ius

You can replace the yum option "list available" used above by any of yum's command options like  update, install etc..

For example, installing the rsyslog package from the IUS repo:


 yum --disablerepo="*" --enablerepo="ius" install rsyslog4  
Loaded plugins: fastestmirror, replace, security
Loading mirror speeds from cached hostfile
* ius: archive.linux.duke.edu
Excluding Packages in global exclude list
Finished
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package rsyslog4.x86_64 0:4.8.0-1.ius.el5 set to be updated
--> Finished Dependency Resolution
Dependencies Resolved
============================================================================================================================================================================
Package Arch Version Repository Size
============================================================================================================================================================================
Installing:
rsyslog4 x86_64 4.8.0-1.ius.el5 ius 446 k
Transaction Summary
============================================================================================================================================================================
Install 1 Package(s)
Upgrade 0 Package(s)
Total download size: 446 k


Yum update from specific repository

To run your yum packages updates from a specific yum repo you need to list your installed repo IDs by issuing this command:

# yum repolist
Which generates the example output below (obviously depends on what repos you have installed):

repo id                        repo name  
base CentOS-5 - Base
epel Extra Packages for Enterprise Linux 5 - x86_64
extras CentOS-5 - Extras
ius IUS Community Packages for Enterprise Linux 5 - x86_64
rpmforge RHEL 5 - RPMforge.net - dag
updates CentOS-5 - Updates

Then you can force yum to ignore all repos except the one you need (the IUS repo in this example) to list its available packages by issuing the following:

yum --disablerepo="*" --enablerepo="ius" list available


Which returns available packages that are only in that particular repo



 Loaded plugins: fastestmirror, replace, security  
Loading mirror speeds from cached hostfile
* ius: archive.linux.duke.edu
Excluding Packages in global exclude list
Finished
Available Packages
autoconf26x.noarch 2.63-4.ius.el5 ius
mysql50.x86_64 5.0.96-2.ius.el5 ius
mysql50-bench.x86_64 5.0.96-2.ius.el5 ius
mysql50-debuginfo.x86_64 5.0.96-2.ius.el5 ius
mysql50-devel.x86_64 5.0.96-2.ius.el5 ius
mysql50-server.x86_64 5.0.96-2.ius.el5 ius
mysql51.x86_64 5.1.63-1.ius.el5 ius
mysql51-bench.x86_64 5.1.63-1.ius.el5 ius
mysql51-debuginfo.x86_64 5.1.63-1.ius.el5 ius
mysql51-devel.x86_64 5.1.63-1.ius.el5 ius
mysql51-embedded.x86_64 5.1.63-1.ius.el5 ius

You can replace the yum option "list available" used above by any of yum's command options like  update, install etc..

For example, installing the rsyslog package from the IUS repo:


 yum --disablerepo="*" --enablerepo="ius" install rsyslog4  
Loaded plugins: fastestmirror, replace, security
Loading mirror speeds from cached hostfile
* ius: archive.linux.duke.edu
Excluding Packages in global exclude list
Finished
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package rsyslog4.x86_64 0:4.8.0-1.ius.el5 set to be updated
--> Finished Dependency Resolution
Dependencies Resolved
============================================================================================================================================================================
Package Arch Version Repository Size
============================================================================================================================================================================
Installing:
rsyslog4 x86_64 4.8.0-1.ius.el5 ius 446 k
Transaction Summary
============================================================================================================================================================================
Install 1 Package(s)
Upgrade 0 Package(s)
Total download size: 446 k

6/25/12

Standard I/O redirection

The shell and many UNIX commands take their input from standard input (stdin), write output to standard output (stdout), and write error output to standard error (stderr). By default, standard input is connected to the terminal keyboard and standard output and error to the terminal screen.

The way of indicating an end-of-file on the default standard input, a terminal, is usually <Ctrl-d>.
Redirection of I/O, for example to a file, is accomplished by specifying the destination on the command line using a redirection metacharacter followed by the desired destination.

C Shell Family

Some of the forms of redirection for the C shell family are:
Character
Action
>
Redirect standard output
>&
Redirect standard output and standard error
<
Redirect standard input
>!
Redirect standard output; overwrite file if it exists
>&!
Redirect standard output and standard error; overwrite file if it exists
|
Redirect standard output to another command (pipe)
>>
Append standard output
>>&
Append standard output and standard error


The form of a command with standard input and output redirection is:
% command -[options] [arguments] < input file  > output file
If you are using csh and do not have the noclobber variable set, using > and >& to redirect output will overwrite any existing file of that name. Setting noclobber prevents this. Using >! and >&! always forces the file to be overwritten. Use >> and >>& to append output to existing files.
Redirection may fail under some circumstances: 1) if you have the variable noclobber set and you attempt to redirect output to an existing file without forcing an overwrite, 2) if you redirect output to a file you don't have write access to, and 3) if you redirect output to a directory.

Examples:

% who > names
Redirect standard output to a file named names

% (pwd; ls -l) > out

Redirect output of both commands to a file named out

% pwd; ls -l > out
Redirect output of ls command only to a file named out

Input redirection can be useful, for example, if you have written a FORTRAN program which expects input from the terminal but you want it to read from a file. In the following example, myprog, which was written to read standard input and write standard output, is redirected to read myin and write myout:

% myprog < myin > myout

You can suppress redirected output and/or errors by sending it to the null device, /dev/null. The example shows redirection of both output and errors:
% who >& /dev/null

To redirect standard error and output to different files, you can use grouping:
% (cat myfile > myout) >& myerror


Bourne Shell Family

The Bourne shell uses a different format for redirection which includes numbers. The numbers refer to the file descriptor numbers (0 standard input, 1 standard output, 2 standard error). For example, 2> redirects file descriptor 2, or standard error. &n is the syntax for redirecting to a specific open file. For example 2>&1 redirects 2 (standard error) to 1 (standard output); if 1 has been redirected to a file, 2 goes there too. Other file descriptor numbers are assigned sequentially to other open files, or can be explicitly referenced in the shell scripts. Some of the forms of redirection for the Bourne shell family are:


Character
Action
>
Redirect standard output
2>
Redirect standard error
2>&1
Redirect standard error to standard output
<
Redirect standard input
|
Pipe standard output to another command
>>
Append to standard output
2>&1|
Pipe standard output and standard error to another command


Note that < and > assume standard input and output, respectively, as the default, so the numbers 0 and 1 can be left off.
The form of a command with standard input and output redirection is:
$ command -[options] [arguments] < input file > output file

Redirection may fail under some circumstances:
1) if you have the variable noclobber set and you attempt to redirect output to an existing file without forcing an overwrite
2) if you redirect output to a file you don't have write access to, and 3) if you redirect output to a directory.

Examples:

$ who > names
Direct standard output to a file named names
$ (pwd; ls -l) > out

Direct output of both commands to a file named out
$ pwd; ls -l > out

Direct output of ls command only to a file named out
Input redirection can be useful if you have written a program which expects input from the terminal and you want to provide it from a file. In the following example, myprog, which was written to read standard input and write standard output, is redirected to read myin and write myout.
$ myprog < myin > myout

You can suppress redirected output and/or error by sending it to the null device, /dev/null. The example shows redirection of standard error only:
$ who 2> /dev/null

To redirect standard error and output to different files (note that grouping is not necessary in Bourne shell):
$ cat myfile > myout 2> myerror


A. Bash and other modern shell provides I/O redirection facility. There are 3 default standard files (standard streams) open:
[a] stdin - Use to get input (keyboard) i.e. data going into a program.
[b] stdout - Use to write information (screen)
[c] stderr - Use to write error message (screen)
Understanding I/O streams numbers



The Unix / Linux standard I/O streams with numbers:
Handle
Name
Description
0
stdin
Standard input
1
stdout
Standard output
2
stderr
Standard error

Redirecting the standard error stream to a file

The following will redirect program error message to a file called error.log:
$ program-name 2> error.log
$ command1 2> error.log

Redirecting the standard error (stderr) and stdout to file

Use the following syntax:
$ command-name &>file
OR
$ command > file-name 2>&1
Another useful example:
# find /usr/home -name .profile 2>&1 | more

Redirect stderr to stdout

Use the command as follows:
$ command-name 2>&1

Google Code REgEx Syntax

List of Google RegEx accepted & unaccepted syntax

http://code.google.com/p/re2/wiki/Syntax


This page lists the regular expression syntax accepted by RE2.
It also lists syntax accepted by PCRE, PERL, and VIM.
Grayed out expressions are not supported by RE2.
Single characters:


. any character, including newline (s=true)
[xyz] character class
[^xyz] negated character class
\d Perl character class
\D negated Perl character class
[:alpha:] ASCII character class
[:^alpha:] negated ASCII character class
\pN Unicode character class (one-letter name)
\p{Greek} Unicode character class
\PN negated Unicode character class (one-letter name)
\P{Greek} negated Unicode character class


Composites:
xy x followed by y
x|y x or y (prefer x)
Repetitions:
x* zero or more x, prefer more
x+ one or more x, prefer more
x? zero or one x, prefer one
x{n,m} n or n+1 or ... or m x, prefer more
x{n,} n or more x, prefer more
x{n} exactly n x
x*? zero or more x, prefer fewer
x+? one or more x, prefer fewer
x?? zero or one x, prefer zero
x{n,m}? n or n+1 or ... or m x, prefer fewer
x{n,}? n or more x, prefer fewer
x{n}? exactly n x
x{} (≡ x*) (NOT SUPPORTED) VIM
x{-} (≡ x*?) (NOT SUPPORTED) VIM
x{-n} (≡ x{n}?) (NOT SUPPORTED) VIM
x= (≡ x?) (NOT SUPPORTED) VIM


Possessive repetitions:
x*+ zero or more x, possessive (NOT SUPPORTED)
x++ one or more x, possessive (NOT SUPPORTED)
x?+ zero or one x, possessive (NOT SUPPORTED)
x{n,m}+ n or ... or m x, possessive (NOT SUPPORTED)
x{n,}+ n or more x, possessive (NOT SUPPORTED)
x{n}+ exactly n x, possessive (NOT SUPPORTED)


Grouping:
(re) numbered capturing group
(?P<name>re) named & numbered capturing group
(?<name>re) named & numbered capturing group (NOT SUPPORTED)
(?'name're) named & numbered capturing group (NOT SUPPORTED)
(?:re) non-capturing group
(?flags) set flags within current group; non-capturing
(?flags:re) set flags during re; non-capturing
(?#text) comment (NOT SUPPORTED)
(?|x|y|z) branch numbering reset (NOT SUPPORTED)
(?>re) possessive match of re (NOT SUPPORTED)
re@> possessive match of re (NOT SUPPORTED) VIM
%(re) non-capturing group (NOT SUPPORTED) VIM


Flags:
i case-insensitive (default false)
m multi-line mode: ^ and $ match begin/end line in addition to begin/end text (default false)
s let . match \n (default false)
U ungreedy: swap meaning of x* and x*?, x+ and x+?, etc (default false)
Flag syntax is xyz (set) or -xyz (clear) or xy-z (set xy, clear z).


Empty strings:
^ at beginning of text or line (m=true)
$ at end of text (like \z not \Z) or line (m=true)
\A at beginning of text
\b at word boundary (\w on one side and \W, \A, or \z on the other)
\B not a word boundary
\G at beginning of subtext being searched (NOT SUPPORTED) PCRE
\G at end of last match (NOT SUPPORTED) PERL
\Z at end of text, or before newline at end of text (NOT SUPPORTED)
\z at end of text
(?=re) before text matching re (NOT SUPPORTED)
(?!re) before text not matching re (NOT SUPPORTED)
(?<=re) after text matching re (NOT SUPPORTED)
(?<!re) after text not matching re (NOT SUPPORTED)
re& before text matching re (NOT SUPPORTED) VIM
re@= before text matching re (NOT SUPPORTED) VIM
re@! before text not matching re (NOT SUPPORTED) VIM
re@<= after text matching re (NOT SUPPORTED) VIM
re@<! after text not matching re (NOT SUPPORTED) VIM
\zs sets start of match (= \K) (NOT SUPPORTED) VIM
\ze sets end of match (NOT SUPPORTED) VIM
\%^ beginning of file (NOT SUPPORTED) VIM
\%$ end of file (NOT SUPPORTED) VIM
\%V on screen (NOT SUPPORTED) VIM
\%# cursor position (NOT SUPPORTED) VIM
\%'m mark m position (NOT SUPPORTED) VIM
\%23l in line 23 (NOT SUPPORTED) VIM
\%23c in column 23 (NOT SUPPORTED) VIM
\%23v in virtual column 23 (NOT SUPPORTED) VIM


Escape sequences:
\a bell (≡ \007)
\f form feed (≡ \014)
\t horizontal tab (≡ \011)
\n newline (≡ \012)
\r carriage return (≡ \015)
\v vertical tab character (≡ \013)
\* literal *, for any punctuation character *
\123 octal character code (up to three digits)
\x7F hex character code (exactly two digits)
\x{10FFFF} hex character code
\C match a single byte even in UTF-8 mode
\Q...\E literal text ... even if ... has punctuation
\1 backreference (NOT SUPPORTED)
\b backspace (NOT SUPPORTED) (use \010)
\cK control char ^K (NOT SUPPORTED) (use \001 etc)
\e escape (NOT SUPPORTED) (use \033)
\g1 backreference (NOT SUPPORTED)
\g{1} backreference (NOT SUPPORTED)
\g{+1} backreference (NOT SUPPORTED)
\g{-1} backreference (NOT SUPPORTED)
\g{name} named backreference (NOT SUPPORTED)
\g<name> subroutine call (NOT SUPPORTED)
\g'name' subroutine call (NOT SUPPORTED)
\k<name> named backreference (NOT SUPPORTED)
\k'name' named backreference (NOT SUPPORTED)
\lX lowercase X (NOT SUPPORTED)
\ux uppercase x (NOT SUPPORTED)
\L...\E lowercase text ... (NOT SUPPORTED)
\K reset beginning of $0 (NOT SUPPORTED)
\N{name} named Unicode character (NOT SUPPORTED)
\R line break (NOT SUPPORTED)
\U...\E upper case text ... (NOT SUPPORTED)
\X extended Unicode sequence (NOT SUPPORTED)
\%d123 decimal character 123 (NOT SUPPORTED) VIM
\%xFF hex character FF (NOT SUPPORTED) VIM
\%o123 octal character 123 (NOT SUPPORTED) VIM
\%u1234 Unicode character 0x1234 (NOT SUPPORTED) VIM
\%U12345678 Unicode character 0x12345678 (NOT SUPPORTED) VIM


Character class elements:
x single character
A-Z character range (inclusive)
\d Perl character class
[:foo:] ASCII character class foo
\p{Foo} Unicode character class Foo
\pF Unicode character class F (one-letter name)


Named character classes as character class elements:
[\d] digits (≡ \d)
[^\d] not digits (≡ \D)
[\D] not digits (≡ \D)
[^\D] not not digits (≡ \d)
[[:name:]] named ASCII class inside character class (≡ [:name:])
[^[:name:]] named ASCII class inside negated character class (≡ [:^name:])
[\p{Name}] named Unicode property inside character class (≡ \p{Name})
[^\p{Name}] named Unicode property inside negated character class (≡ \P{Name})


Perl character classes:
\d digits (≡ [0-9])
\D not digits (≡ [^0-9])
\s whitespace (≡ [\t\n\f\r ])
\S not whitespace (≡ [^\t\n\f\r ])
\w word characters (≡ [0-9A-Za-z_])
\W not word characters (≡ [^0-9A-Za-z_])
\h horizontal space (NOT SUPPORTED)
\H not horizontal space (NOT SUPPORTED)
\v vertical space (NOT SUPPORTED)
\V not vertical space (NOT SUPPORTED)


ASCII character classes:
[:alnum:] alphanumeric (≡ [0-9A-Za-z])
[:alpha:] alphabetic (≡ [A-Za-z])
[:ascii:] ASCII (≡ [\x00-\x7F])
[:blank:] blank (≡ [\t ])
[:cntrl:] control (≡ [\x00-\x1F\x7F])
[:digit:] digits (≡ [0-9])
[:graph:] graphical (≡ [!-~] == [A-Za-z0-9!"#$%&'()*+,\-./:;<=>?@[\\\]^_`{|}~])
[:lower:] lower case (≡ [a-z])
[:print:] printable (≡ [ -~] == [ [:graph:]])
[:punct:] punctuation (≡ [!-/:-@[-`{-~])
[:space:] whitespace (≡ [\t\n\v\f\r ])
[:upper:] upper case (≡ [A-Z])
[:word:] word characters (≡ [0-9A-Za-z_])
[:xdigit:] hex digit (≡ [0-9A-Fa-f])


Unicode character class names--general category:
C other
Cc control
Cf format
Cn unassigned code points (NOT SUPPORTED)
Co private use
Cs surrogate
L letter
LC cased letter (NOT SUPPORTED)
L& cased letter (NOT SUPPORTED)
Ll lowercase letter
Lm modifier letter
Lo other letter
Lt titlecase letter
Lu uppercase letter
M mark
Mc spacing mark
Me enclosing mark
Mn non-spacing mark
N number
Nd decimal number
Nl letter number
No other number
P punctuation
Pc connector punctuation
Pd dash punctuation
Pe close punctuation
Pf final punctuation
Pi initial punctuation
Po other punctuation
Ps open punctuation
S symbol
Sc currency symbol
Sk modifier symbol
Sm math symbol
So other symbol
Z separator
Zl line separator
Zp paragraph separator
Zs space separator


Unicode character class names--scripts:
Arabic Arabic
Armenian Armenian
Balinese Balinese
Bengali Bengali
Bopomofo Bopomofo
Braille Braille
Buginese Buginese
Buhid Buhid
Canadian_Aboriginal Canadian Aboriginal
Carian Carian
Cham Cham
Cherokee Cherokee
Common characters not specific to one script
Coptic Coptic
Cuneiform Cuneiform
Cypriot Cypriot
Cyrillic Cyrillic
Deseret Deseret
Devanagari Devanagari
Ethiopic Ethiopic
Georgian Georgian
Glagolitic Glagolitic
Gothic Gothic
Greek Greek
Gujarati Gujarati
Gurmukhi Gurmukhi
Han Han
Hangul Hangul
Hanunoo Hanunoo
Hebrew Hebrew
Hiragana Hiragana
Inherited inherit script from previous character
Kannada Kannada
Katakana Katakana
Kayah_Li Kayah Li
Kharoshthi Kharoshthi
Khmer Khmer
Lao Lao
Latin Latin
Lepcha Lepcha
Limbu Limbu
Linear_B Linear B
Lycian Lycian
Lydian Lydian
Malayalam Malayalam
Mongolian Mongolian
Myanmar Myanmar
New_Tai_Lue New Tai Lue (aka Simplified Tai Lue)
Nko Nko
Ogham Ogham
Ol_Chiki Ol Chiki
Old_Italic Old Italic
Old_Persian Old Persian
Oriya Oriya
Osmanya Osmanya
Phags_Pa 'Phags Pa
Phoenician Phoenician
Rejang Rejang
Runic Runic
Saurashtra Saurashtra
Shavian Shavian
Sinhala Sinhala
Sundanese Sundanese
Syloti_Nagri Syloti Nagri
Syriac Syriac
Tagalog Tagalog
Tagbanwa Tagbanwa
Tai_Le Tai Le
Tamil Tamil
Telugu Telugu
Thaana Thaana
Thai Thai
Tibetan Tibetan
Tifinagh Tifinagh
Ugaritic Ugaritic
Vai Vai
Yi Yi


Vim character classes:
\i identifier character (NOT SUPPORTED) VIM
\I \i except digits (NOT SUPPORTED) VIM
\k keyword character (NOT SUPPORTED) VIM
\K \k except digits (NOT SUPPORTED) VIM
\f file name character (NOT SUPPORTED) VIM
\F \f except digits (NOT SUPPORTED) VIM
\p printable character (NOT SUPPORTED) VIM
\P \p except digits (NOT SUPPORTED) VIM
\s whitespace character (≡ [ \t]) (NOT SUPPORTED) VIM
\S non-white space character (≡ [^ \t]) (NOT SUPPORTED) VIM
\d digits (≡ [0-9]) VIM
\D not \d VIM
\x hex digits (≡ [0-9A-Fa-f]) (NOT SUPPORTED) VIM
\X not \x (NOT SUPPORTED) VIM
\o octal digits (≡ [0-7]) (NOT SUPPORTED) VIM
\O not \o (NOT SUPPORTED) VIM
\w word character VIM
\W not \w VIM
\h head of word character (NOT SUPPORTED) VIM
\H not \h (NOT SUPPORTED) VIM
\a alphabetic (NOT SUPPORTED) VIM
\A not \a (NOT SUPPORTED) VIM
\l lowercase (NOT SUPPORTED) VIM
\L not lowercase (NOT SUPPORTED) VIM
\u uppercase (NOT SUPPORTED) VIM
\U not uppercase (NOT SUPPORTED) VIM
\_x \x plus newline, for any x (NOT SUPPORTED) VIM


Vim flags:
\c ignore case (NOT SUPPORTED) VIM
\C match case (NOT SUPPORTED) VIM
\m magic (NOT SUPPORTED) VIM
\M nomagic (NOT SUPPORTED) VIM
\v verymagic (NOT SUPPORTED) VIM
\V verynomagic (NOT SUPPORTED) VIM
\Z ignore differences in Unicode combining characters (NOT SUPPORTED) VIM


Magic:
(?{code}) arbitrary Perl code (NOT SUPPORTED) PERL
(??{code}) postponed arbitrary Perl code (NOT SUPPORTED) PERL
(?n) recursive call to regexp capturing group n (NOT SUPPORTED)
(?+n) recursive call to relative group +n (NOT SUPPORTED)
(?-n) recursive call to relative group -n (NOT SUPPORTED)
(?C) PCRE callout (NOT SUPPORTED) PCRE
(?R) recursive call to entire regexp (≡ (?0)) (NOT SUPPORTED)
(?&name) recursive call to named group (NOT SUPPORTED)
(?P=name) named backreference (NOT SUPPORTED)
(?P>name) recursive call to named group (NOT SUPPORTED)
(?(cond)true|false) conditional branch (NOT SUPPORTED)
(?(cond)true) conditional branch (NOT SUPPORTED)
(*ACCEPT) make regexps more like Prolog (NOT SUPPORTED)
(*COMMIT) (NOT SUPPORTED)
(*F) (NOT SUPPORTED)
(*FAIL) (NOT SUPPORTED)
(*MARK) (NOT SUPPORTED)
(*PRUNE) (NOT SUPPORTED)
(*SKIP) (NOT SUPPORTED)
(*THEN) (NOT SUPPORTED)
(*ANY) set newline convention (NOT SUPPORTED)
(*ANYCRLF) (NOT SUPPORTED)
(*CR) (NOT SUPPORTED)
(*CRLF) (NOT SUPPORTED)
(*LF) (NOT SUPPORTED)
(*BSR_ANYCRLF) set \R convention (NOT SUPPORTED) PCRE
(*BSR_UNICODE) (NOT SUPPORTED) PCRE

6/13/12

32Bit ODBC driver on Windows 2008 R2 64Bit OS Error

Problem: I received the following error message upon trying to create a system DSN using a 32Bit ODBC driver I had just installed on a Win2088 R2 64Bit Server (with SP1):

"You are logged on with non-Administrative privileges. System DSNs could not be created or modified"

Solution: Make sure to use the 32Bit ODBC console instead of the standard ODBC console located under Control Panel/Administrative Tools:

"C:\windows\sysWOW64\odbcad32.exe"

6/7/12

DNSChanger Check

Check to see if your computer is a victim of "DNS Changer" by visiting one of the following sites:



URL Language
http://www.dns-ok.us/ English
http://www.dns-ok.de/ German
http://www.dns-ok.fi/ Finish
http://www.dns-ok.ax/ Swedish
http://www.dns-ok.fr/ French
http://www.dns-ok.ca/ English/French
http://www.dns-ok.lu/ English
http://dns-ok.nl/ Dutch/English


Source: https://forms.fbi.gov/check-to-see-if-your-computer-is-using-rogue-DNS

More about DNSChanger on the FBI site:
http://www.fbi.gov/news/stories/2011/november/malware_110911

http://www.fbi.gov/news/stories/2011/november/malware_110911/DNS-changer-malware.pdf

Yum Error: Unable to read consumer identity

Problem:

Yum update throws the error: "Unable to read consumer identity"


Resolution:

Please note: This solution was applied to fix the above yum update error on a machine running RedHat Enterprise release 5.8 Tikanga.

The solution is to use RHN Classic and to disable subscription-manager by editing the katello plugin configuration file and set "enabled" value to '0'

Disable the plugin by editing the file /etc/yum/pluginconf.d/katello.conf  then change the value "enabled=1" to "enabled=0" and save file.

Once the change is performed and saved, execute following commands:

rm -rf /var/cache/yum/*
yum clean all

5/31/12

Delete stubborn Windows files

Found a nice (Freeware) tool called "Unlocker" for deleting/unlocking some stubborn files that a Windows 2008 machine just couldn't delete with its built-in tools.
It did the job without a hitch!



Scroll down about half way of the following page to get to the downloads section: http://www.emptyloop.com/unlocker/ 

This link goes directly to the portable package that contains both the x86 & the x64 versions of the tool
http://www.brothersoft.com/download-unlocker-portable-431245.html

Quick HTTP to HTTPS - Apache2

There are several methods for redirecting your Apache-based website visitors who might type your servers URL using the plain (non-secure) HT...