package BloggerPublisher ;
#Purpose: Publish codes so that they should be visible in browser
#TODO: replace any possible symbols with html entities
#hint create a Textpad Command with BloggerPublisher.pl $FileName and
#select Capture output
use strict ;
my $fileToPublish = $ARGV[0] ;
my @file_array = ();
open (INPUT, "<$fileToPublish") || print "could not open the $fileToPublish!\n";
@file_array= <INPUT>;
foreach (@file_array) #foreach line of the file
{
s/</<\;/g; #replace < with <
s/>/>\;/g; #replace > with >
s/&/&\;/g , #replace & with &
print $_
}
close INPUT;
1;
__END__
Getting the Current TabItem when the Tab is not selected in WPF
-
[image: Banner]
This is a quick reminder to self on how to retrieve a TabItem from a WPF
TabControl *when the tab is not currently selected* because I ru...
1 month ago
No comments:
Post a Comment
- the first minus - Comments have to be moderated because of the spammers
- the second minus - I am very lazy at moderating comments ... hardly find time ...
- the third minus - Short links are no good for security ...
- The REAL PLUS : Any critic and positive feedback is better than none, so your comments will be published sooner or later !!!!