<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" >

<channel><title><![CDATA[Useful Tips and Tricks - Other]]></title><link><![CDATA[http://www.anwarsayed.com/other]]></link><description><![CDATA[Other]]></description><pubDate>Mon, 21 Oct 2024 04:15:48 -0700</pubDate><generator>Weebly</generator><item><title><![CDATA[Programming Languages - study of this week]]></title><link><![CDATA[http://www.anwarsayed.com/other/programming-languages-study-of-this-week]]></link><comments><![CDATA[http://www.anwarsayed.com/other/programming-languages-study-of-this-week#comments]]></comments><pubDate>Wed, 15 Apr 2015 02:18:49 GMT</pubDate><category><![CDATA[Uncategorized]]></category><guid isPermaLink="false">http://www.anwarsayed.com/other/programming-languages-study-of-this-week</guid><description><![CDATA[Comparing Programming Languages There are several ways to compare computer Languages but for simplicity we'll compare then by Compilation Method and Abstraction Level.  Compiling to Machine Code Some languages require programs to be transformed directly into &#65279;Machine Code-&#65279; the instructions that a CPU understands directly. This transformation process is called compilation. Assembly Language, C, C++ and Pascal are compiled languages.  Interpreted Languages Other languages are either [...] ]]></description><content:encoded><![CDATA[<div class="paragraph" style="text-align:left;"><span style='text-decoration:none; font-style:normal; font-weight:400; color:rgb(62, 38, 22); '><span style="color: rgb(62, 38, 22); font-style: normal; font-weight: 400; text-decoration: none;">Comparing Programming Languages There are several ways to compare computer Languages but for simplicity we'll compare then by Compilation Method and Abstraction Level. <br /><span></span><br /><span></span> Compiling to Machine Code Some languages require programs to be transformed directly into <span class="rangySelectionBoundary" id="selectionBoundary_1429063522363_29538252583362967" style="line-height: 0; display: none;">&#65279;</span><a href="http://cplus.about.com/od/introductiontoprogramming/g/machinecodedefn.htm"><u><font color="#0066cc">Machine Code</font></u></a>-<span class="rangySelectionBoundary" id="selectionBoundary_1429063522363_2019497414177494" style="line-height: 0; display: none;">&#65279;</span> the instructions that a CPU understands directly. This transformation process is called <a href="http://cplus.about.com/od/glossary/g/gloscompiled.htm"><u><font color="#0066cc">compilation</font></u></a>. <a href="http://cplus.about.com/od/introductiontoprogramming/g/assemblydefn.htm"><u><font color="#0066cc">Assembly Language</font></u></a>, <a href="http://cplus.about.com/od/glossary/g/Cdefn.htm"><u><font color="#0066cc">C</font></u></a>, <a href="http://cplus.about.com/od/glossary/g/Cppdefn.htm"><u><font color="#0066cc">C++</font></u></a> and <a href="http://cplus.about.com/od/glossary/g/pascaldefn.htm"><u><font color="#0066cc">Pascal</font></u></a> are compiled languages. <br /><span></span><br /><span></span> Interpreted Languages Other languages are either <a href="http://cplus.about.com/od/introductiontoprogramming/g/interpreterdefn.htm"><u><font color="#0066cc">Interpreted</font></u></a> such as Basic, Actionscript and Javascript, or a mixture of both being compiled to an intermediate language - this includes Java and C#. <br /><span></span><br /><span></span> An Interpreted language is processed at runtime. Every line is read, analysed, and executed. Having to reprocess a line every time in a loop is what makes interpreted languages so slow. This overhead means that interpreted code runs between 5 - 10 times slower than compiled code. The interpreted languages like Basic or JavaScript are the slowest. Their advantage is not needing to be recompiled after changes and that is handy when you're learning to program.<br />.Because compiled programs almost always run faster than interpreted, languages such as C and C++ tend to be the most popular for writing games. Java and C# both compile to an interpreted language which is very efficient. Because the Virual Machine that interprets Java and the .NET framework that runs C# are heavily optimized, it's claimed that applications in those languages are as fast if not faster as compiled C++.</span><br /><span></span><br /><span></span><span style="color: rgb(62, 38, 22); font-style: normal; font-weight: 400; text-decoration: none;">Level of Abstraction<br />The other way to compare languages is level of abstraction. This indicates how close a particular language is to the hardware. Machine Code is the lowest level with Assembly Language just above it. C++ is higher than C because C++ offers greater abstraction. Java and C# are higher than C++ because they compile to an intermediate language called bytecode.<br />How Languages Compare<br />&bull;Fast Compiled Languages</span><br /><span></span><br /><span></span><span style="color: rgb(62, 38, 22); font-style: normal; font-weight: 400; text-decoration: none;">&bull;Assembly Language <br />&bull;C <br />&bull;C++ <br />&bull;Pascal <br />&bull;C# <br />&bull;Java <br />&bull;Reasonably Fast Interpreted</span><br /><span></span><br /><span></span><span style="color: rgb(62, 38, 22); font-style: normal; font-weight: 400; text-decoration: none;">&bull;Perl <br />&bull;PHP <br />&bull;Slow Interpreted</span><br /><span></span><br /><span></span><span style="color: rgb(62, 38, 22); font-style: normal; font-weight: 400; text-decoration: none;">&bull;JavaScript <br />&bull;ActionScript <br />&bull;Basic </span><br /><span></span><br /><span></span><span style="color: rgb(62, 38, 22); font-style: normal; font-weight: 400; text-decoration: none;"><br />Machine Code is the instructions that a CPU executes. It's the only thing that a CPU can understand and execute. Interpreted languages need an application called an Interpreter that reads each line of the program source code and then 'runs' it.<br /><span></span><br /><span></span>Interpreting is Easier<br />It's very easy to stop, change and re-run applications written in an interpreted language and that is why they're popular for learning programming. There is no compilation stage needed. Compiling can be quite a slow process.A large Visual C++ minutes to hours to compile, depending on how much code has to be rebuilt and the speed of memory and the CPU.<br />When Computers first appeared<br />When computers first became popular in the 1950s, programs were written in machine code as there was no other way. Programmers had to physically flip switches to enter values. This is such a tedious and slow way of creating an application that higher level computer languages had to be created.<br />Assembler- Fast to Run- Slow to Write!<br />Assembly language is the readable version of Machine Code and looks like this <br /><span></span><br /><span></span>Mov A,$45<br />Because it is tied to a particular CPU or family of related CPUs, Assembly Language is not very portable and is time consuming to learn and write. Languages like C have reduced the need for Assembly Language programming except where RAM is limited or time critical code is needed. This is typically in the kernel code at the heart of an Operating System or in a video card driver.<br /><span></span><br /><span></span>Assembly Language is the Lowest Level of Code<br /><span></span><br /><span></span>Assembly Language is very low level- most of the code just moves values between the CPU registers and memory. If you are writing a payroll package you want to think in terms of salaries and tax deductions, not Register A to Memory location xyz. This is why higher level languages like C++, C# or Java are more productive. The programmer can think in terms of the problem domain (salaries,deductions, and accruals) not the hardware domain (registers, memory and instructions).<br /><span></span><br /><span></span>Systems Programming with C<br /><span></span><br /><span></span>C was devised in the early 1970s by Dennis Ritchie. It can be thought of as a general purpose tool- very useful and powerful but very easy to let bugs through that can make systems insecure. C is a low level language and has been described as portable Assembly language. The syntax of many Scripting languages is based on C, for example JavaScript, PHP and ActionScript.<br /><span></span><br /><span></span>Perl- Websites and Utilities<br /><span></span><br /><span></span>Very popular in the Linux world, Perl was one of the first web languages and remains very popular today. For doing "quick and dirty" programming on the web it remains unrivalled and drives many websites. It has though been somewhat eclipsed by PHP as a web scripting language.<br /><span></span><br /><span></span>Coding Websites with PHP<br /><span></span><br /><span></span>PHP was designed as a language for Web Servers and is very popular in conjunction with Linux, Apache, MySql and PHP or LAMP for short. It is interpreted, but pre-compiled so code executes reasonably quickly. It can be run on desktop computers but is not as widely used for developing desktop applications. Based on C syntax, it also includes Objects and Classes.<br /><span></span><br /><span></span>Pascal was devised as a teaching language a few years before C but was very limited with poor string and file handling. Several Manufacturers extended the language but there was no overall leader until Borland's Turbo Pascal (for Dos) and Delphi (for Windows) appeared. These were powerful implementations that added enough functionality to make them suitable for commercial development. <br /><span></span><br /><span></span>C++ - A Classy Language!<br /><span></span><br /><span></span>C++ or C plus classes as it was originally known came about ten years after C and successfully introduced Object Oriented Programming to C, as well as features like exceptions and templates. Learning all of C++ is a big task- it is by far the most complicated of the programming languages here but once you have mastered it, you'll have no difficulty with any other language.<br /><span></span><br /><span></span>C# - Microsoft's Big Bet<br /><span></span><br /><span></span>C# was created by Delphi's architect Anders Hejlsberg after he moved to Microsoft and Delphi developers will feel at home with features such as Windows forms.C# syntax is very similar to Java, which is not surprising as Hejlsberg also worked on J++ after he moved to Microsoft. Learn C# and you are well on the way to knowing Java.Both languages are semi-compiled, so that instead of compiling to machine code, they compile to bytecode ( C# compiles to CIL but it and Bytecode are similar) and are then interpreted.<br /><span></span><br /><span></span>Javascript - Programs in your Browser<br /><span></span><br /><span></span>Javascript is nothing like Java, instead its a scripting language based on C syntax but with the addition of Objects and is used mainly in browsers. JavaScript is interpreted and a lot slower than compiled code but works well within a browser.Invented by Netscape it has proved very successful and after several years in the doldrums is enjoying a new lease of life because of AJAX; Asynchronous Javascript and Xml. This allows parts of web pages to update from the server without redrawing the entire page.<br /><span></span><br /><span></span><br />ActionScript - A Flashy languasge!<br /><span></span><br /><span></span>ActionScript is an implementation of JavaScript, but exists solely within Macromedia Flash applications. Using vector based graphics, it is used mainly for games, playing videos and other visual effects and for developing sophisticated user interfaces, all running in the browser.<br /><span></span><br /><span></span>Basic for Beginners<br /><span></span><br /><span></span>Basic is an acronym for Beginners All purpose Symbolic Instruction Code and was created to teach programming in the 1960s. Microsoft have made the language their own with many different versions including VbScript for websites and the very successful Visual Basic. The latest version of that is VB.NET and this runs on the same platform .NET as C# and produces the same CIL bytecode.[h3Lua A free scripting language written in C that includes garbage collection and coroutines. It interfaces well with C/C++ and is used in the games industry (and non games as well) to script game logic, event triggers and game control.<br /><span></span><br /><span></span>Conclusion<br /><span></span><br /><span></span>While everyone has their favourite language and has invested time and resources in learning how to program it, there are some problems that are best solved with the right language.E.G you wouldn't use C for writing web apps and you wouldn't write an Operating System in Javascript. But whichever language you choose, if it's C, C++ or C#, at least you know you're in the right place to learn it.<br /><span></span><br /><span></span>Links to Other Programming Language Resources<br />&bull;C <br />&bull;C++ <br />&bull;C# <br />&bull;Delphi <br />&bull;Flash <br />&bull;Java <br />&bull;JavaScript <br />&bull;Perl <br />&bull;PHP <br /><span></span><br /><span></span><br /><span></span><br /><br /><span></span><br /><span></span></span><span style="color: rgb(62, 38, 22); font-style: normal; font-weight: 400; text-decoration: none;"><span></span></span></span></div>]]></content:encoded></item><item><title><![CDATA[How to VLOOKUP with Multiple Criteria Using INDEX and MATCH]]></title><link><![CDATA[http://www.anwarsayed.com/other/how-to-vlookup-with-multiple-criteria-using-index-and-match]]></link><comments><![CDATA[http://www.anwarsayed.com/other/how-to-vlookup-with-multiple-criteria-using-index-and-match#comments]]></comments><pubDate>Wed, 25 Mar 2015 23:57:21 GMT</pubDate><category><![CDATA[Uncategorized]]></category><guid isPermaLink="false">http://www.anwarsayed.com/other/how-to-vlookup-with-multiple-criteria-using-index-and-match</guid><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; VLOOKUP is a great tool for pulling data from tables, but it has a handicap: it can only work with one criteria for matching information. If there are multiple rows in your sheet with the same information, you&rsquo;ll only get the first one. If you need to use two or more conditions to match a specific piece of data, you&rsquo;re out of luck. Fortunately, Excel has a pair of functions called INDEX and MAT [...] ]]></description><content:encoded><![CDATA[<div class="paragraph" style="text-align:left;"><span style='text-decoration:none; font-style:normal; font-weight:400; color:rgb(62, 38, 22); '>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <strong>VLOOKUP</strong> is a great tool for pulling data from tables, but it has a handicap: it can only work with one criteria for matching information. If there are multiple rows in your sheet with the same information, you&rsquo;ll only get the first one. If you need to use two or more conditions to match a specific piece of data, you&rsquo;re out of luck. Fortunately, Excel has a pair of functions called <strong>INDEX</strong> and <strong>MATCH</strong> that can help produce the same results as <strong>VLOOKUP</strong> with multiple criteria. Here&rsquo;s a quick tutorial to help you learn how&hellip;<span></span><br /><span></span><br /><span></span><br /><br /><span></span><br /><span></span><span>Example Data</span><br /><span></span><br /><span></span>Let&rsquo;s say, for example, that we want to be able to search through a list of fuel economy data for cars to find the mileage&hellip;<br /><span></span><br /><span></span><br /><span></span><br /><span></span>Normally, we would want to be able to enter the model of a car and get it&rsquo;s fuel economy as a result. Unfortunately, Many cars, like the Acura ILX, have multiple engine configurations with different mileage ratings. Fortunately, in this case, the car&rsquo;s displacement can serve to separate them.<br /><span></span><br /><span></span><br /><span></span><br /><span></span>This means, however, that we will need to look up the car by both its <strong>Model</strong> and its <strong>Displacement</strong> at the same time to find the appropriate <strong>Combined Fuel Economy</strong> in column <strong>H</strong>.<br /><span></span><br /><span></span><span>Trying to Use VLOOKUP</span>In a normal <strong>VLOOKUP</strong>, the syntax is as follows:<br /><span></span><br /><span></span>=<strong>VLOOKUP</strong>(<em>lookup_value</em>, <em>table_array</em>, <em>col_index_num</em>, <em>[range_lookup]</em>)<br /><span></span><br /><span></span>The <em>lookup_value</em> is the data you are searching with.<br /><span></span><br /><span></span>The <em>table_array</em> defines the table that you want to look through. The first column must be the column that has the lookup_value in it.<br /><span></span><br /><span></span>The <em>col_index_num</em> is the number of the column in the <em>table_array</em> that has the data you want to find.<br /><span></span><br /><span></span>The optional <em>range_lookup</em> specifies whether the list is sorted or not. (<strong>TRUE</strong> means that <strong>VLOOKUP</strong> stops looking when it finds something that comes later in the alphabet than the <em>lookup_value</em>. <strong>FALSE</strong> means it searches the entire list.)<br /><span></span><br /><span></span>If we were looking for just the Model of car using <strong>VLOOKUP</strong> in our example data, it would look like this:<br /><span></span><br /><span></span><br /><span></span><br /><span></span>=<strong>VLOOKUP</strong>(<span style="color: rgb(0, 0, 255);"><strong>A2</strong></span>,<span style="color: rgb(0, 128, 0);"><strong>C4:H1159</strong></span>,<strong>6</strong>,<strong>FALSE</strong>)<br /><span></span><br /><span></span><strong>A2</strong> holds the Model of car we want to find.<br /><span></span><br /><span></span><strong>C4:H1159</strong> is the table we want to search through. Column C is the column with the <strong>Model</strong> information.<br /><span></span><br /><span></span>Column <strong>6</strong> is the column that holds the <strong>Combined Fuel Economy</strong> figure that we want to find.<br /><span></span><br /><span></span>The result of the <strong>VLOOKUP</strong> is this:<br /><span></span><br /><span></span><br /><span></span><br /><span></span>It finds the first entry that matches &ndash; the 1.5 liter engine with 38 MPG. This is a problem if, for example, you want to find the fuel economy of the 2.4 liter sport version. To do that, we need to use <strong>INDEX</strong> and <strong>MATCH</strong>.<br /><span></span><br /><span></span><span>Using INDEX and MATCH to Replace VLOOKUP</span>What we really need is to be able to look up the Model and the Displacement at the same time. MATCH is a function that gives you the location of an item in an array. The syntax for MATCH is as follows:<br /><span></span><br /><span></span>=<strong>MATCH</strong>(<em>lookup_value</em>, <em>lookup_array</em>, <em>[match_type]</em>)<br /><span></span><br /><span></span>The <em>lookup_value</em> is what you are searching for.<br /><span></span><br /><span></span>The <em>lookup_array</em> is the array of values you are trying to find the lookup_value in.<br /><span></span><br /><span></span>The optional <em>match_type</em> determines whether <strong>MATCH</strong> must find the <em>lookup_value</em> exactly (with a <strong>0</strong>), or return the closest match that comes before it (with a <strong>1</strong>) or after it (with a <strong>-1</strong>) alphanumerically.<br /><span></span><br /><span></span>The <strong>INDEX</strong> function takes a location and returns the value that is in the cell. The syntax for <strong>INDEX</strong> is as follows:<br /><span></span><br /><span></span>=<strong>INDEX</strong>(<em>array</em>, <em>row_num</em>, <em>[col_num]</em>)<br /><span></span><br /><span></span>The <em>array</em> is the table of data that contains the cell value you want.<br /><span></span><br /><span></span>The <em>row_num</em> is the relative row number of the cell you want.<br /><span></span><br /><span></span>The <em>col_num</em> is the relative column number of the cell you want.<br /><span></span><br /><span></span>By combining <strong>INDEX</strong> and <strong>MATCH</strong> we can produce the same result as <strong>VLOOKUP</strong>. Using the same search we did for <strong>VLOOKUP</strong>, the <strong>INDEX</strong>/<strong>MATCH</strong> pair looks like this:<br /><span></span><br /><span></span><br /><span></span><br /><span></span>=<strong>INDEX</strong>(<span style="color: rgb(0, 0, 255);"><strong>C4:H1159</strong></span>,<strong>MATCH</strong>(<span style="color: rgb(0, 128, 0);"><strong>A2</strong></span>,<span style="color: rgb(128, 0, 128);"><strong>C4:C1159</strong></span>,<strong>0</strong>),<strong>6</strong>)<br /><span></span><br /><span></span><strong>C4:H1159</strong> is the <em>array</em> that <strong>INDEX</strong> uses to find the value.<br /><span></span><br /><span></span><strong>A2</strong> is the cell that the value we want <strong>MATCH</strong> to find.<br /><span></span><br /><span></span><strong>C4:C1159</strong> is the <em>lookup_array</em> that <strong>MATCH</strong> looks through to find the value in <strong>A2</strong>.<br /><span></span><br /><span></span>The <strong>0</strong> means that <strong>MATCH</strong> will look for the exact value instead of an approximate one.<br /><span></span><br /><span></span>Column <strong>6</strong> is the column in the <strong>C4:H1159</strong> <em>array</em> that holds the <strong>Combined Fuel Economy</strong> values.<br /><span></span><br /><span></span>The result is identical to the <strong>VLOOKUP</strong> result. <strong>MATCH</strong> finds the first <strong>Combined Fuel Economy</strong> value for the Acura ILX, which means it will give 38 MPG for the 1.5 instead of one of the other engine options. To find a specific <strong>Model</strong> and engine <strong>Displacement</strong> combination, we need to modify our <strong>INDEX</strong>/<strong>MATCH </strong>formula into an <strong>array formula</strong>.<br /><span></span><br /><span></span><span>Using INDEX and MATCH with Two Criteria</span>To allow MATCH to search for multiple criteria, we are going to change the way it looks for its result by making it an array formula.An array formula takes an array of values instead of a single one and checks each cell in the array until it finds a result.<br /><span></span><br /><span></span>Our old <strong>MATCH</strong> formula looked like this:<br /><span></span><br /><span></span>=<strong>MATCH</strong>(<strong>A2</strong>,<strong>C4:C1159</strong>,0)<br /><span></span><br /><span></span>It looked for the value of <strong>A2</strong> in the table <strong>C4:C1159</strong>, and when it found it, it returned the location.<br /><span></span><br /><span></span>Now we are going to ask it to be creative:<br /><span></span><br /><span></span>=<strong>MATCH</strong>(1,(<strong>C4:C1159</strong>=<strong>A2</strong>)*(<strong>D4:D1159</strong>=<strong>B2</strong>),0)<br /><span></span><br /><span></span>We have asked <strong>MATCH</strong> to look for a value of 1. Instead of giving it an existing array to look through, we are asking it to build one from scratch. The new array checks all the values in <strong>C4:C1159</strong> for one that matches <strong>A2</strong> and all the values in <strong>D4:D1159</strong> for one that matches <strong>B2</strong>. Where they both match, the array will have a 1 (a <strong>TRUE</strong> boolean result). Where they don&rsquo;t both match, the array will have a 0 (a <strong>FALSE</strong> boolean result). Therefore, <strong>MATCH</strong> will return the location where the array matches 1 (when both of our criteria are true).<br /><span></span><br /><span></span>If this process doesn&rsquo;t make sense to you, that&rsquo;s okay. Just plug the new <strong>MATCH</strong> function into your <strong>INDEX</strong>/<strong>MATCH</strong> formula:<br /><span></span><br /><span></span>=<strong>INDEX</strong>(<span style="color: rgb(0, 0, 255);"><strong>C4:H1159</strong></span>,<strong>MATCH</strong>(1,(<span style="color: rgb(0, 128, 0);"><strong>C4:C1159</strong></span>=<span style="color: rgb(128, 0, 128);"><strong>A2</strong></span>)*(<span style="color: rgb(153, 51, 102);"><strong>D4:D1159</strong></span>=<span style="color: rgb(0, 255, 0);"><strong>B2</strong></span>),0),6)<br /><span></span><br /><span></span>When you enter the formula, don&rsquo;t just press <strong>ENTER</strong>. Press <strong>CTRL+SHIFT+ENTER</strong> to tell Excel that it is an array formula. You can tell you&rsquo;ve done it right because the entered formula will be surrounded in curly braces {}.<br /><span></span><br /><span></span><br /><span></span><br /><span></span>With that, your formula will be able to find the Combined Fuel Economy based on both the Model and the Displacement. You can use this technique for any number of criteria with <strong>INDEX</strong> and <strong>MATCH</strong>. Just add additional terms to the multiplication equati<span class="rangySelectionBoundary" id="selectionBoundary_1427327604702_904069292021188" style="line-height: 0; display: none;">&#65279;</span>on.<br /><span></span><br /><span></span><br /><br /><br /><span>Source : By <a href="http://exceltactics.com/about/"><u><font color="#0066cc" size="1"><em>Andrew Roberts</em></font></u></a></span><em> </em></span></div>]]></content:encoded></item><item><title><![CDATA[Compstat useful for Control-M ]]></title><link><![CDATA[http://www.anwarsayed.com/other/compstat-useful-for-control-m]]></link><comments><![CDATA[http://www.anwarsayed.com/other/compstat-useful-for-control-m#comments]]></comments><pubDate>Sat, 10 Jan 2015 04:01:27 GMT</pubDate><category><![CDATA[Uncategorized]]></category><guid isPermaLink="false">http://www.anwarsayed.com/other/compstat-useful-for-control-m</guid><description><![CDATA[            oscompstat__control.docxFile Size:  71 kbFile Type:   docxDownload File    [...] ]]></description><content:encoded><![CDATA[<div class="wsite-scribd">     <div id="doc_252199527" style="padding:20px 0"></div>   </div>  <div><div style="margin: 10px 0 0 -10px"> <a href="http://www.anwarsayed.com/uploads/1/8/3/9/1839021/oscompstat__control.docx"><img src="//www.weebly.com/weebly/images/file_icons/rtf.png" width="36" height="36" style="float: left; position: relative; left: 0px; top: 0px; margin: 0 15px 15px 0; border: 0;" /></a><div style="float: left; text-align: left; position: relative;"><table style="font-size: 12px; font-family: tahoma; line-height: .9;"><tr><td colspan="2"><b> oscompstat__control.docx</b></td></tr><tr style="display: none;"><td>File Size:  </td><td>71 kb</td></tr><tr style="display: none;"><td>File Type:  </td><td> docx</td></tr></table><a href="http://www.anwarsayed.com/uploads/1/8/3/9/1839021/oscompstat__control.docx" style="font-weight: bold;">Download File</a></div> </div>  <hr style="clear: both; width: 100%; visibility: hidden"></hr></div>]]></content:encoded></item><item><title><![CDATA[Check what Web Sites Your Computer is Secretly Connecting To]]></title><link><![CDATA[http://www.anwarsayed.com/other/check-what-web-sites-your-computer-is-secretly-connecting-to]]></link><comments><![CDATA[http://www.anwarsayed.com/other/check-what-web-sites-your-computer-is-secretly-connecting-to#comments]]></comments><pubDate>Sat, 09 Aug 2014 02:01:57 GMT</pubDate><category><![CDATA[Uncategorized]]></category><guid isPermaLink="false">http://www.anwarsayed.com/other/check-what-web-sites-your-computer-is-secretly-connecting-to</guid><description><![CDATA[Has your Internet connection become slower than it should be? There may be a chance that you have some malware, spyware, or adware that is using your Internet connection in the background without your knowledge. Here&#8217;s how to see what&#8217;s going on under the hood.How to Check What Your Computer is Connecting To:open the Start menu and enter &#8220;cmd.exe&#8221; in the Search box. When the results display, right-click on cmd.exe and select Run as administrator from the popup menu.At the [...] ]]></description><content:encoded><![CDATA[<div class="paragraph">Has your Internet connection become slower than it should be? There may be a chance that you have some malware, spyware, or adware that is using your Internet connection in the background without your knowledge. Here&#8217;s how to see what&#8217;s going on under the hood.<br /><br /><br />How to Check What Your Computer is Connecting To:<br /><br />open the Start menu and enter &#8220;cmd.exe&#8221; in the Search box. When the results display, right-click on cmd.exe and select Run as administrator from the popup menu.<br /><br /><br />At the command prompt, type the following command and press Enter.<br /><br />netstat -abf 5 &gt; activity.txt<br /><br />The &#8211;a option shows all connections and listening ports, the &#8211;b option shows you what application is making the connection, and the &#8211;f option displays the full DNS name for each connection option for easier understanding of where the connections are being made to. You can also use the &#8211;n option if you wish to only display the IP address. The 5 option will poll every 5 seconds for connections to make it more easy to track what is going on, and the results are then piped into the activity.txt file.<br /><br />Wait about two minutes and then press Ctrl + C to stop the recording of data.<br /><br /><br />The resulting file will list all processes on your computer (browsers, IM clients, email programs, etc.) that have made an internet connection in the last two minutes, or however long you waited before pressing Ctrl + C. It also lists which processes connected to which websites.<br /><br />If you see process names or website addresses with which you are not familiar, you can search for &#8220;what is (name of unknown process)&#8221; in Google and see what it is. It may be a system function you don&#8217;t know about or a function of one of your running programs. However, if it seems like a bad site, you can use Google again to find out how to get rid of it.<br /><br /><br /></div>  <div class="paragraph">Using TCPView to Check What Your PC is Connecting To<br />The excellent TCPView utility that comes in the SysInternals toolkit will let you quickly see exactly what processes are connecting to what resources on the Internet, and even let you end the process, close the connection, or do a quick Whois lookup to give you more information. <br /><br /> If all of the connections are in the TIME_WAIT state, that means that the connection is being closed, and there isn&#8217;t a process to assign the connection to, so they should up as assigned to PID 0 since there&#8217;s no PID to assign it to.<br /></div>  <div class="paragraph">Using CurrPorts to Check What Your PC is Connecting To:<br /><br /><br />You can also use a free tool, called CurrPorts, to display a list of all currently opened TCP/IP and UDP ports on your local computer. It is a portable program and doesn&#8217;t need to be installed. To use it, extract the .zip file you downloaded and run cports.exe.</div>]]></content:encoded></item><item><title><![CDATA[POP3, IMAP & SMTP?]]></title><link><![CDATA[http://www.anwarsayed.com/other/pop3-imap-smtp]]></link><comments><![CDATA[http://www.anwarsayed.com/other/pop3-imap-smtp#comments]]></comments><pubDate>Fri, 06 Jul 2012 11:34:23 GMT</pubDate><category><![CDATA[Uncategorized]]></category><guid isPermaLink="false">http://www.anwarsayed.com/other/pop3-imap-smtp</guid><description><![CDATA[The terms of POP3, IMAP &amp; SMTP are often heard when setting up mail client configuration in computer or SmartPhone.But do you know what are they meant by POP3, IMAP &amp; SMTP? In this article I will try to describe what the three terms above. POP3 (Post Office Protocol version 3) is a protocol used to retrieve electronic mail (email) from the email server. POP3 protocol was created because of the design of the electronic mail system that requires the server to accommodate email for a while  [...] ]]></description><content:encoded><![CDATA[<div class="paragraph">The terms of POP3, IMAP &amp; SMTP are often heard when setting up mail client configuration in computer or SmartPhone.<br /><span></span><br /><span></span>But do you know what are they meant by POP3, IMAP &amp; SMTP? In this article I will try to describe what the three terms above. <STRONG>POP3 (Post Office Protocol version 3)</STRONG> is a protocol used to retrieve electronic mail (email) from the email server. POP3 protocol was created because of the design of the electronic mail system that requires the server to accommodate email for a while until it&rsquo;s taken by an eligible recipient.<br /><span></span><br /><span></span><STRONG>IMAP (Internet Message Access Protocol)</STRONG> is a standard protocol for accessing / retrieving e-mail from the server. IMAP allows users to choose e-mail message that he will take, make a folder on the server, search for specific e-mail messages, even deleted e-mail messages on server. This ability is much better than POP (Post Office Protocol) which only allows to retrieve/ download all the messages without exception.<br /><span></span><br /><span></span><STRONG>SMTP (Simple Mail Transfer Protocol)</STRONG> is a commonly used protocol for sending electronic mail on the Internet. This protocol is used to transmit data from computer sending email to the recipient mail server.<br /><span></span><br /><span></span>Look at table below for the comparison between POP3 and IMAP <br /><span></span><br /><span></span><br /><span></span></div>  <div>  <!--BLOG_SUMMARY_END--></div>  <div><div class="wsite-image wsite-image-border-thin " style="padding-top:10px;padding-bottom:10px;margin-left:0;margin-right:0;text-align:center"> <a> <img src="http://www.anwarsayed.com/uploads/1/8/3/9/1839021/6523701.png?463" alt="Picture" style="width:auto;max-width:100%" /> </a> <div style="display:block;font-size:90%"></div> </div></div>  <div><div class="wsite-multicol"><div class='wsite-multicol-table-wrap' style='margin:0 -15px'> <table class='wsite-multicol-table'> <tbody class='wsite-multicol-tbody'> <tr class='wsite-multicol-tr'> <td class='wsite-multicol-col' style='width:42.168674698795%;padding:0 15px'>  <h2><U>Descriptions</U></h2>  <div class="paragraph">Email can be left on the Server<br /><span></span><br /><span></span><br /><span></span><br /><span></span>Email with its attachments directly downloaded to local PC<br /><span></span><br /><span></span><br /><span></span>Folder created in Outlook automatically appear in Webmail and the opposite<br /><br /><span></span><br /><span></span>Read new message<br /><span></span><br /><span></span><br /><span></span>Rule/ Filter made in Outlook/ client automatically apply in Webmail<br /><span></span><br /><span></span><br /><span></span>Email Backup<br /><span></span><br /><span></span><br /><span></span><br /><span></span><br /><span></span><br /><span></span><br />Delete email<br /><span></span><br /><span></span><br /><span></span></div>  </td> <td class='wsite-multicol-col' style='width:26.286966046002%;padding:0 15px'>  <h2><U>POP 3</U></h2>  <div class="paragraph">--&ldquo;leave message&rdquo; setting have to be enabled<br /><span></span><br />--Automatic<br /><span></span><br /><span></span><br /><span></span><br /><br /><span></span>--No<br /><span></span><br /><span></span><br /><span></span><br /><span></span><br />--Fast<br /><span></span><br /><span></span><br /><span></span>--No<br /><span></span><br /><span></span><br /><span></span><br /><span></span><br />--Email backup done manually unless &ldquo;leave message on server&rdquo; setting enable.<br /><span></span><br /><SPAN>--Deleted email go straight into &ldquo;Deleted Folder&rdquo;.</SPAN></div>  </td> <td class='wsite-multicol-col' style='width:31.544359255203%;padding:0 15px'>  <h2><U>IMAP</U></h2>  <div class="paragraph">--Automatic<br /><span></span><br /><span></span><br /><span></span><br /><span></span><br /><span></span>--&ldquo;Download all header and attachment&rdquo; setting have to be enabled.<br />--Yes<br /><span></span><br /><span></span><br /><span></span><br /><br /><span></span>--Delay about 1-5 seconds.<br /><span></span><br /><span></span>--Only rule from Webmail applicable for Outlook.<br /><span></span><br /><span></span><br />--Automatically email backup.<br /><span></span><br /><span></span><br /><span></span><br /><span></span><br /><span></span><br />--Deleted email will be marked streak on its header. To remove it permanently done &ldquo;Purge Deleted Messages&rdquo;.</div>  </td> </tr> </tbody> </table> </div></div></div>]]></content:encoded></item><item><title><![CDATA[PHP,.NET, Ruby on Rails or Python and Django ?]]></title><link><![CDATA[http://www.anwarsayed.com/other/phpnet-ruby-on-rails-or-python-and-django]]></link><comments><![CDATA[http://www.anwarsayed.com/other/phpnet-ruby-on-rails-or-python-and-django#comments]]></comments><pubDate>Fri, 06 Jul 2012 11:13:24 GMT</pubDate><category><![CDATA[all]]></category><guid isPermaLink="false">http://www.anwarsayed.com/other/phpnet-ruby-on-rails-or-python-and-django</guid><description><![CDATA[This post is a result of reading http://coding.smashingmagazine.com/2012/07/02/dive-net-web-development/ [...] ]]></description><content:encoded><![CDATA[<div class="paragraph">This post is a result of reading <A href="http://coding.smashingmagazine.com/2012/07/02/dive-net-web-development/">http://coding.smashingmagazine.com/2012/07/02/dive-net-web-development/</A></div>]]></content:encoded></item><item><title><![CDATA[Mastering Wget]]></title><link><![CDATA[http://www.anwarsayed.com/other/mastering-wget]]></link><comments><![CDATA[http://www.anwarsayed.com/other/mastering-wget#comments]]></comments><pubDate>Tue, 13 Sep 2011 07:54:35 GMT</pubDate><category><![CDATA[all]]></category><guid isPermaLink="false">http://www.anwarsayed.com/other/mastering-wget</guid><description><![CDATA[Your browser does a good job of fetching web documents and displaying them, but there are times when you need an extra strength download manager to get those tougher HTTP jobs done.A versatile, old school Unix program called Wget is a highly hackable, handy little tool that can take care of all your downloading needs. Whether you want to mirror an entire web site, automatically download music or movies from a set of favorite weblogs, or transfer huge files painlessly on a slow or intermittent ne [...] ]]></description><content:encoded><![CDATA[<div  class="paragraph editable-text" style=" text-align: left; ">Your browser does a good job of fetching web documents and displaying them, but there are times when you need an extra strength download manager to get those tougher HTTP jobs done.<br /><span></span><br /><span></span>A versatile, old school Unix program called Wget is a highly hackable, handy little tool that can take care of all your downloading needs. Whether you want to mirror an entire web site, automatically download music or movies from a set of favorite weblogs, or transfer huge files painlessly on a slow or intermittent network connection, Wget's for you.<br /><span></span><br /><span></span>Wget, the "non-interactive network retriever," is called at the command line. The format of a Wget command is:<br /><span></span><br /><span></span>wget [option]... [URL]...<br /><span></span><br /><span></span>The URL is the address of the file(s) you want Wget to download. The magic in this little tool is the long menu of options available that make some really neat downloading tasks possible. Here are some examples of what you can do with Wget and a few dashes and letters in the [option] part of the command.<br /><span></span><br /><span></span>Mirror an entire web site Say you want to backup your blog or create a local copy of an entire directory of a web site for archiving or reading later. The command:<br /><span></span><br /><span></span>wget -m http://ginatrapani.googlepages.com<br /><span></span><br /><span></span>Will save the two pages that exist on the ginatrapani.googlepages.com site in a folder named just that on your computer. The -m in the command stands for "mirror this site."<br /><span></span><br /><span></span>Say you want to retrieve all the pages in a site PLUS the pages that site links to. You'd go with:<br /><span></span><br /><span></span>wget -H -r --level=1 -k -p http://ginatrapani.googlepages.com<br /><span></span><br /><span></span>This command says, "Download all the pages (-r, recursive) on http://ginatrapani.googlepages.com plus one level (&mdash;level=1) into any other sites it links to (-H, span hosts), and convert the links in the downloaded version to point to the other sites' downloaded version (-k). Oh yeah, and get all the components like images that make up each page (-p)."<br />Resume large file downloads on a flaky connection Say you're piggybacking the neighbor's wifi and every time someone microwaves popcorn you lose the connection, and your video download (naughty you!) keeps crapping out halfway through. Direct Wget to resume partial downloads for big files on intermittent connections.<br /><span></span><br /><span></span>To set Wget to resume an interrupted download of this 16MB "<A href="http://video.google.com/videoplay?docid=6059494448346363884&amp;q=type%3Agpick">Mavericks Surf Highlights 2006: Wipeouts</A>" short from Google Video, use:<br /><span></span><br /><span></span>wget -c --output-document=mavericks.avi "http://vp.video.google.com/videodownload?version=0&amp;secureurl=qgAAAJCWpcRd5eI2k3sm3LWJZMjLyLFiTxk_KqUrRYbrzLTEw8hwMV30m3MRz6rYMTxGqWIfWMQjNJsP0fNXUMc34jzoPcy6z-qHde5UVD29Po6_9b_-d3J5AQpVROUPRqzkJriangEl2IMkKBJd08Q7TTJIAC_r6XID-fNYPLKHm1KRvx0smOslivNLGmyZsCsZmVNVN0jaw5-dloWtzPlI86zIubh1XvJsTg2u_YaHcaAB&amp;sigh=-BbV2h_bIFVuVg4D-h6MUTxuErM&amp;begin=0&amp;len=139433&amp;docid=6059494448346363884"<br /><span></span><br /><span></span>(Apologies for the humungous, non-wrapping URL.)<br /><span></span><br /><span></span>The -c ("continue") option sets Wget to resume a partial download if the transfer is interrupted. You'll also notice the URL is in quotes, necessary for any address with &amp;'s in it. Also, since that URL is so long, you can specify the name of the output file explicitly - in this case, mavericks.avi.<br /><span></span><br /><span></span>Schedule hourly downloads of a file The nice thing about any command line script is that it's very easy to automate. For instance, if there was a constantly-changing file that you wanted to download every hour, say, you could use cron or Windows Task Scheduler and Wget to do just that, or if there was a very large file you wanted your computer to fetch in the middle of the night while you slept instead of right this moment when you need all your bandwidth to get other work done. You could easily schedule the Wget command to run at a later time.<br /><span></span><br /><span></span>As proof of concept, yesterday I scheduled an hourly download of Lifehacker's daily traffic chart to run automatically. The command looked like this:<br /><span></span><br /><span></span>wget --output-document=traffic_$(date +\%Y\%m\%d\%H).gif "http://sm3.sitemeter.com/rpc/v6/server.asp?a=GetChart&amp;n=9&amp;p1=sm3lifehacker&amp;p2=&amp;p3=3&amp;p4=0&amp;p5=64\%2E249\%2E116\%2E138&amp;p6=HTML&amp;p7=1&amp;p8=\%2E\%3Fa\%3Dstatistics&amp;p9=&amp;rnd=7209"<br /><span></span><br /><span></span>Notice the use of %Y and %m datetime parameters which result in unique filenames, so each hour the command wouldn't overwrite the file with the same name generated the hour before. Note also that the %'s have to be escaped with a backslash.<br /><span></span><br /><span></span>Just for fun I threw together a little animated gif of the hourly chart image, that displays the movement of Lifehacker's traffic yesterday from 2PM to midnight:<br /><span></span><br /><span></span>Automatically download music This last technique, suggested by <A href="http://www.veen.com/jeff/archives/000573.html">Jeff Veen</A>, is by far my favorite use of Wget. These days there are tons of directories, aggregators, filters and weblogs that point off to interesting types of media. Using Wget, you can create a text file list of your favorite sites that say, link to MP3 files, and schedule it to automatically download any newly-added MP3's from those sites each day or week.<br /><span></span><br /><span></span>First, create a text file called mp3_sites.txt, and list URLs of your favorite sources of music online one per line (like <A href="http://del.icio.us/tag/system:filetype:mp3">http://del.icio.us/tag/system:filetype:mp3</A> or <A href="http://stereogum.com/">stereogum.com</A>).<br /><span></span><br /><span></span>Then use the following Wget command to go out and fetch those MP3's:<br /><span></span><br /><span></span>wget -r -l1 -H -t1 -nd -N -np -A.mp3 -erobots=off -i mp3_sites.txt<br /><span></span><br /><span></span>That Wget recipe recursively downloads only MP3 files linked from the sites listed in mp3_sites.txt that are newer than any you've already downloaded. There are a few other specifications in there - like to not create a new directory for every music file, to ignore robots.txt and to not crawl up to the parent directory of a link. Jeff breaks it all down in his <A href="http://www.veen.com/jeff/archives/000573.html">original post</A>.<br /><span></span><br /><span></span>The great thing about this technique is that once this command is scheduled, you get an ever-rotating jukebox of new music Wget fetches for you while you sleep. With a good set of trusted sources, you'll never have to go looking for new music again - Wget will do all the work for you.<br /><span></span><br /><span></span>Install Wget Wanna give all this a try? Windows users, you can <A href="http://xoomer.virgilio.it/hherold/">download Wget here</A>; Mac users, <A href="http://www.statusq.org/archives/2005/02/22/610/">go here</A>. An alternative for Windows users interested in more Linuxy goodness is to download and install the Unix emulator <A href="http://cygwin.com/">Cygwin</A> which includes Wget and a whole slew of other 'nixy utilities, too.<br /><span></span><br /><span></span>For the full take on all of Wget's secret options sauce, type wget --help or check out the full-on <A href="http://www.gnu.org/software/Wget/manual/Wget.html">Wget manual online</A>. No matter what your downloading task may be, some combination of Wget's extensive options will get the job done just right.<br /><span></span><br /><span></span><br /><span></span>| via <A href="http://ginatrapani.org/"><STRONG><EM>Gina Trapani</EM></STRONG></A>&nbsp;(<EM>Lifehacker</EM>)<br /></div>  ]]></content:encoded></item><item><title><![CDATA[How does Regifting Robin work? ]]></title><link><![CDATA[http://www.anwarsayed.com/other/how-does-regifting-robin-work]]></link><comments><![CDATA[http://www.anwarsayed.com/other/how-does-regifting-robin-work#comments]]></comments><pubDate>Wed, 17 Aug 2011 21:07:27 GMT</pubDate><category><![CDATA[all]]></category><guid isPermaLink="false">http://www.anwarsayed.com/other/how-does-regifting-robin-work</guid><description><![CDATA[How does Regifting Robin work? Answer:&nbsp;&nbsp;Every time you subtract the first and second digits of the 2-digit number you chose, it comes up with a multiple of 9. For example, 25-2-5=18. 18 is a multiple of 9. So is: 75-5-7=63. 63 is a multiple of 9. On the Regifting Robin gift list, all of the numbers that are a multiple of 9 have the same gift. For example, let's say you did: 99-9-9=81. The number you got will always be a multiple of 9, so all the multiples of 9 get the same gift: So, 18 [...] ]]></description><content:encoded><![CDATA[<div  class="paragraph editable-text" style=" text-align: justify; ">How does Regifting Robin work? <br /><span></span><br /><span></span>Answer:&nbsp;&nbsp;Every time you subtract the first and second digits of the 2-digit number you chose, it comes up with a multiple of 9. <br /><span></span>For example, 25-2-5=18. 18 is a multiple of 9. So is: 75-5-7=63. 63 is a multiple of 9. <br /><span></span>On the Regifting Robin gift list, all of the numbers that are a multiple of 9 have the same gift. For example, let's say you did: 99-9-9=81. <br /><span></span>The number you got will always be a multiple of 9, <br /><span></span>so all the multiples of 9 get the same gift: <br /><span></span>So, <br /><span></span>18=labelmaker <br /><span></span>27=labelmaker <br /><span></span>36=labelmaker <br /><span></span>45=labelmaker <br /><span></span>and so on and so forth. <br /><span></span>The gift changes every time to make it more convincing. Labelmaker is an example of a gift. It won't be labelmaker every time. <br /><span></span>So the question should be why is it that we always end up with multiples of 9? <br /><span></span><br /><span></span>Let the number N = Ones+ 10x + 100y + 1000z + ... (example : 574 = 4 + 7*10 + 5*100 ) Its digits are w, x, y, z, ... So the sum of the digits is w + x + y + z + ... = S. So, N - S = D = (ones-ones) + (10x-x) + (100y-y) + (1000z -z) + ... = 9x + 99y + 999z + ... = 9 (x + 11y + 111z + ...) So, N - S is a multiple of 9. <br /><span></span>But, there is more: Once again let N = ones + 10x + 100y + 1000z + ... We want to prove that, if the sum of its digits, S is divisible by 9, then so is the number, N, and conversely. If S is divisible by 9, then S = 9p. Now add the number D to this, calculated above. S + D = 9p + D. <br /><span></span>But we saw previously that D itself is a multiple of 9, so D = 9q. Hence, S + D = 9p + 9q = 9(p+q) = 9r, say. But then, S + D is nothing but N. So N = 9r, which is what we wnted to show? <br /><span></span>The converse is proved by starting with N = 9r and subtracting D to yield S = 9(r-q) = 9p,say. See the Related Link for more info on the workings of Regifting Robin.<br /><br />Readmore: <A href="http://wiki.answers.com/Q/How_does_Regifting_Robin_work#ixzz1VK2gBZPa"><U>http://wiki.answers.com/Q/How_does_Regifting_Robin_work#ixzz1VK2gBZPa</U></A></div>  ]]></content:encoded></item><item><title><![CDATA[VBS script - Login to website automatically..]]></title><link><![CDATA[http://www.anwarsayed.com/other/vbs-script-login-to-website-automatically]]></link><comments><![CDATA[http://www.anwarsayed.com/other/vbs-script-login-to-website-automatically#comments]]></comments><pubDate>Fri, 15 Jul 2011 22:54:03 GMT</pubDate><category><![CDATA[scripts]]></category><guid isPermaLink="false">http://www.anwarsayed.com/other/vbs-script-login-to-website-automatically</guid><description><![CDATA[&gt;&gt;&gt;A&nbsp;script that will :1) open a https://xyz.com/login page2) provide user name and password information3) check whether the authentication was successful or not or the web page is opening up4) store the results got in step 3) in a log file'----------------------script starts-----------------------------------------------------'1)DIM oIESet oIE = CreateObject("InternetExplorer.Application")oIE.navigate "https://xyz.com/login"oIE.Visible = Truen = 0Do while oIE.Busy or n = 101&nbsp; [...] ]]></description><content:encoded><![CDATA[<div  class="paragraph editable-text" style=" text-align: justify; ">&gt;&gt;&gt;A&nbsp;script that will :<br /><span></span><br /><span></span>1) open a https://xyz.com/login page<br /><span></span><br /><span></span>2) provide user name and password information<br /><span></span><br /><span></span>3) check whether the authentication was successful or not or the web page is opening up<br /><span></span><br /><span></span>4) store the results got in step 3) in a log file<br /><span></span>'----------------------script starts-----------------------------------------------------<br />'1)<br /><span></span><br /><span></span>DIM oIE<br /><span></span><br /><span></span>Set oIE = CreateObject("InternetExplorer.Application")<br />oIE.navigate "<FONT color=#ff0000>https://xyz.com/login</FONT>"<br />oIE.Visible = True<br /><span></span><br /><span></span>n = 0<br />Do while oIE.Busy or n = 101<br />&nbsp; n = n + 1<br />&nbsp; WSH.Sleep 50<br />Loop<br />if n = 101 then wsh.echo "ERROR" : wsh.quit 1<br /><span></span><br /><span></span>'2)<br /><span></span><br /><span></span>Set UID = oIE.document.all.<FONT color=#ff0000>IDToken1<br /></FONT>UID.value = "theUserID"<br /><span></span><br /><span></span>Set PWD = oIE.document.all.<FONT color=#ff0000>IDToken2<br /></FONT>PWD.value = "thePassword"<br /><span></span><br /><span></span>oIE.document.all.<FONT color=#ff0000>btnSubmit</FONT>.click<br /><span></span><br /><span></span>'3)<br />sLocation = "*ERROR*"<br />n = 0<br />Do until oIE.document.ReadyState = "complete" or n=100<br />&nbsp; n=n+1<br />&nbsp; WSH.Sleep 50<br />Loop<br /><span></span><br /><span></span>sLocation = lcase(unescape(oIE.document.location))<br /><span></span><br /><span></span>set oLogfile = CreateObject("scripting.filesystemobject").opentextfile("<FONT color=#ff0000>d:\someplace\logfile.txt</FONT>", 8, true)<br />if not sLocation = "<FONT color=#ff0000>https://xyz.com/the/expected/destination_page.ext</FONT>" then<br />&nbsp; oLogfile.writeline "Login failed"<br />else<br /><span></span><br /><span></span>'4)<br />&nbsp;&nbsp; oLogfile.writeline "You made it to " &amp; sLocation<br /><span></span><br /><span></span>end if<br /><span></span><br /><span></span>'----------------------script ends-------------------------------------------------------<br /><span></span>&gt;&gt;&gt;Save the&nbsp;above script in a txt file and save as "xxxx.vbs" (double click to execute the file).<br /><br /><span></span>You need to&nbsp;change the url and designations for the elements IDToken1 (the user ID control), IDToken2 (password control) and the submit button (btnSubmit).&nbsp; I am certain they will be different than those I used in my example.&nbsp; Open the source (right click and click 'View Source') for the target login page and search for the correct controls.<br /><span></span><br />Now you can include this script file to startup menu or scheduler to login to your website as needed.<br /><span></span><br /><span></span></div>  ]]></content:encoded></item><item><title><![CDATA[Adsense and SEO Optimization Tips:Earn High Income From Sites ]]></title><link><![CDATA[http://www.anwarsayed.com/other/adsense-and-seo-optimization-tipsearn-high-income-from-sites]]></link><comments><![CDATA[http://www.anwarsayed.com/other/adsense-and-seo-optimization-tipsearn-high-income-from-sites#comments]]></comments><pubDate>Sun, 26 Jun 2011 17:50:38 GMT</pubDate><category><![CDATA[seo]]></category><guid isPermaLink="false">http://www.anwarsayed.com/other/adsense-and-seo-optimization-tipsearn-high-income-from-sites</guid><description><![CDATA[1.Choose a high paying niche without too much competition.Target a specific audience.You can search traffic for particular keywords and include such keywords in your post.use keyword tool for it&hellip;https://adwords.google.com/select/KeywordToolExternal2.Put your targeted-keyword on Page Title and posts.3.AdSense Earning = Impression-count x Click-though-rate x Cost-per-click x smart-pricing-factor.Impression count is basically referring to your traffic. It means the number of times AdSense bl [...] ]]></description><content:encoded><![CDATA[<div  class="paragraph editable-text" style=" text-align: left; "><br /><span></span>1.Choose a high paying niche without too much competition.<br />Target a specific audience.You can search traffic for particular keywords and include such keywords in your post.<br /><span></span><br /><span></span>use keyword tool for it&hellip;<br /><span></span><br /><span></span>https://adwords.google.com/select/KeywordToolExternal<br /><span></span><br /><span></span>2.Put your targeted-keyword on Page Title and posts.<br /><span></span><br /><span></span>3.AdSense Earning = Impression-count x Click-though-rate x Cost-per-click x smart-pricing-factor.<br /><span></span><br /><span></span>Impression count is basically referring to your traffic. It means the number of times AdSense block is displayed.<br />[ad]<br />Click-through-rate (CTR) is ratio of clicks per impressions. It can range from 0.1% to 30%, but most commonly around 1% to 10%.<br /><span></span><br /><span></span>Cost-per-click (CPC) is the earning you get per click. While traditionally it refers to the amount advertisers pay for each click, it can also mean the amount publishers get for each click.<br /><span></span><br /><span></span>Smart-pricing is AdSense method to determine how valuable clicks from your site is worth. If clicks on your site doesn&rsquo;t provide good value to advertisers, e.g. from visitors&rsquo; geo-location that seldom translate to sales, you will only get a fraction of the supposed CPC.<br /><span></span><br /><span></span>4.Submit your website to directories for inclusion, e.g. dmoz.org, yahoo directories and other plog directories.Submit your URL to search engines for crawling.Create and submit your sitemaps to Google Sitemap (sitemap.xml) and Yahoo (urllist.txt). Optimize for different engines as well. You are very likely to face less competition than in Google.<br /><span></span><br /><span></span>5.Forum generally have high impressions count, but very low CTR.<br /><span></span><br /><span></span>6.Try to focus more on what visitors want from your site.New visitors have higher chance to click on the ads than regular visitors, thus higher CTR (click-through rate).Regular visitors have higher chance to recommend your site to others.<br /><span></span><br /><span></span>7.Get domain name that contains your targeted keyword.Try to update your site regularly and add more posts each day so that crawling will be done by search engine immediately.<br /><span></span><br /><span></span></div>  ]]></content:encoded></item></channel></rss>