This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Hyperlinks e.g. http://www.server.com/folder/file.aspx | |
| Regex rxURL = new Regex(@"(\b(?:http|https|ftp|file)://[^\s]+)", RegexOptions.IgnoreCase); | |
| rxURL.Match(strClipboardText); | |
| foreach (Match rm in rxURL.Matches(strClipboardText)) | |
| { | |
| if(!_hyperlink.Contains(rm.ToString())) | |
| { | |
| _hyperlink.Enqueue(rm.ToString()); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| " Turn on syntax highlighting | |
| syntax on | |
| " No need for compatible mode | |
| set nocompatible | |
| colorscheme colorful256 | |
| set showmatch | |
| set ignorecase | |
| set showmode |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| "--------------------------------------------------------------------------- | |
| " Shougo's .vimrc | |
| "--------------------------------------------------------------------------- | |
| " Initialize:"{{{ | |
| " | |
| " Enable no Vi compatible commands. | |
| set nocompatible | |
| let s:is_windows = has('win16') || has('win32') || has('win64') |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/sh | |
| cat $1 | awk '{ $2="";print}' >> $2 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| paste <(awk '{print $1;}' gtemp) <(cut -f1 gfields) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| grep HOGE * | awk '{print $1}' | awk -F : '{print $1}' | uniq |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| awk '/^>/{s=++d".fasta"} {print > s}' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| awk -F\" '{print NF-1}' <fileName> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| awk FNR-1 *.txt > target.txt |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| awk '{ if( NR > 2 ) { print } }' file > outputfile |
NewerOlder