<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-20307088</id><updated>2024-10-24T18:10:52.420-04:00</updated><category term="php"/><category term="ubuntu"/><category term="Amazon"/><category term="javascript"/><category term="link"/><category term="linux"/><category term="mysql"/><category term="phpmyadmin"/><category term="url"/><category term="Explorer"/><category term="IE"/><category term="IE6"/><category term="LAMP"/><category term="VBA"/><category term="apache"/><category term="atan atan2"/><category term="blogger"/><category term="bookmarklet"/><category term="bookmarks"/><category term="boolean"/><category term="custom"/><category term="date"/><category term="domain"/><category term="email"/><category term="excel"/><category term="fawn"/><category term="feisty"/><category term="filter"/><category term="gate"/><category term="gmail"/><category term="jackal"/><category term="jaunty"/><category term="label"/><category term="logic"/><category term="max_allowed_packet"/><category term="navbar"/><category term="navigation"/><category term="open office"/><category term="server"/><category term="sharepoint"/><category term="spam"/><category term="spreadsheet"/><category term="template"/><category term="tremulous"/><category term="unreal"/><category term="ut2004"/><category term="xampp"/><title type='text'>Minor Point</title><subtitle type='html'>Notes and solutions to problems</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://minorpoint.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20307088/posts/default?alt=atom'/><link rel='alternate' type='text/html' href='http://minorpoint.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/20307088/posts/default?alt=atom&amp;start-index=26&amp;max-results=25'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>46</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-20307088.post-4534437454229056137</id><published>2024-02-27T15:34:00.000-05:00</published><updated>2024-02-27T15:34:03.270-05:00</updated><title type='text'>Percentages are Reversable</title><content type='html'>&lt;p&gt;6% of 50 = 50% of 6 = 3&lt;br /&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Because x% of y is same as y% of x. This stems from commutative property of multiplication.&lt;br /&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;So, 6/100x50 = 6x50/100&lt;br /&gt;&lt;br /&gt;Also X percent of Y is just multiplying the two together and dividing by 100:&lt;br /&gt;&lt;/p&gt;&lt;ul style=&quot;text-align: left;&quot;&gt;&lt;li&gt;7% of 11 = 77/100 = 0.77&lt;/li&gt;&lt;li&gt;4% of 20 = 0.80&lt;/li&gt;&lt;/ul&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20307088/posts/default/4534437454229056137'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20307088/posts/default/4534437454229056137'/><link rel='alternate' type='text/html' href='http://minorpoint.blogspot.com/2024/02/percentages-are-reversable.html' title='Percentages are Reversable'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-20307088.post-3351025574644483563</id><published>2023-04-17T14:50:00.000-04:00</published><updated>2023-04-17T14:50:45.966-04:00</updated><title type='text'>Get Rid of Unwanted Dotted Lines in LibreOffice Calc</title><content type='html'>&lt;p&gt;&amp;nbsp;Two methods:&lt;/p&gt;&lt;ol style=&quot;text-align: left;&quot;&gt;&lt;li&gt;File --&amp;gt; Reload (dotted lines could reappear later)&lt;/li&gt;&lt;li&gt;Tools --&amp;gt; Options --&amp;gt; LibreOffice Calc --&amp;gt; View --&amp;gt; Uncheck page breaks&lt;/li&gt;&lt;/ol&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;br /&gt;&lt;/p&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20307088/posts/default/3351025574644483563'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20307088/posts/default/3351025574644483563'/><link rel='alternate' type='text/html' href='http://minorpoint.blogspot.com/2023/04/get-rid-of-unwanted-dotted-lines-in.html' title='Get Rid of Unwanted Dotted Lines in LibreOffice Calc'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-20307088.post-6393208435761376244</id><published>2022-09-09T15:41:00.002-04:00</published><updated>2022-09-09T15:41:28.211-04:00</updated><title type='text'>Calculating percentages</title><content type='html'>&lt;p&gt;&amp;nbsp;&lt;span class=&quot;css-901oao css-16my406 r-poiln3 r-bcqeeo r-qvutc0&quot;&gt;X% of Y is the same as Y% of X.&amp;nbsp; For example, calculating 32% of 50 is the same as 50% of 32, which is 16.&lt;/span&gt;&lt;/p&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20307088/posts/default/6393208435761376244'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20307088/posts/default/6393208435761376244'/><link rel='alternate' type='text/html' href='http://minorpoint.blogspot.com/2022/09/calculating-percentages.html' title='Calculating percentages'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-20307088.post-3262071279580353190</id><published>2022-09-01T13:47:00.004-04:00</published><updated>2022-09-01T13:47:44.476-04:00</updated><title type='text'>Fixing default zoom in LibreOffice Calc</title><content type='html'>&lt;ol style=&quot;text-align: left;&quot;&gt;&lt;li&gt;Close all LibreOffice documents&lt;/li&gt;&lt;li&gt;Open a new document&lt;/li&gt;&lt;li&gt;Adjust the slider on the bottom right to your desired zoom level&lt;/li&gt;&lt;li&gt;Close the document (no need to save it first)&lt;/li&gt;&lt;li&gt;Open a new document - it should be at your desires zoom level&lt;/li&gt;&lt;/ol&gt;&lt;p&gt;NOTE! This does not work if you use the mouse scroll wheel!
&lt;/p&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20307088/posts/default/3262071279580353190'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20307088/posts/default/3262071279580353190'/><link rel='alternate' type='text/html' href='http://minorpoint.blogspot.com/2022/09/fixing-default-zoom-in-libreoffice-calc.html' title='Fixing default zoom in LibreOffice Calc'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-20307088.post-5977136300101691247</id><published>2020-10-10T12:41:00.010-04:00</published><updated>2020-10-10T12:58:29.779-04:00</updated><title type='text'>Using the Excel SumProduct Function with multiple AND and OR conditions</title><content type='html'>&lt;p&gt;Given NFL football data like the below, how many times does PHI go for it on 4th down? Here, &quot;go for it&quot; means attempt to gain enough yardage for another first down by passing or running the ball.&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;
&lt;/p&gt;&lt;table border=&quot;1&quot; cellspacing=&quot;0&quot; cellpadding = &quot;3&quot;&gt;
	&lt;tbody&gt;
    &lt;tr&gt;
      &lt;td&gt;&lt;/td&gt;
      &lt;td align=&quot;center&quot; height=&quot;20&quot;&gt;&lt;b&gt;A&lt;/b&gt;&lt;/td&gt;
		&lt;td align=&quot;center&quot;&gt;&lt;b&gt;B&lt;/b&gt;&lt;/td&gt;
		&lt;td align=&quot;center&quot;&gt;&lt;b&gt;C&lt;/b&gt;&lt;/td&gt;
	&lt;/tr&gt;
    &lt;tr&gt;
        &lt;td align=&quot;center&quot;&gt;1&lt;/td&gt;
		&lt;td align=&quot;center&quot; height=&quot;20&quot;&gt;&lt;b&gt;Team&lt;/b&gt;&lt;/td&gt;
		&lt;td align=&quot;center&quot;&gt;&lt;b&gt;Down&lt;/b&gt;&lt;/td&gt;
		&lt;td align=&quot;center&quot;&gt;&lt;b&gt;Play&lt;/b&gt;&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr&gt;
        &lt;td align=&quot;center&quot;&gt;2&lt;/td&gt;
		&lt;td align=&quot;center&quot; height=&quot;20&quot;&gt;ATL&lt;/td&gt;
		&lt;td align=&quot;center&quot; sdnum=&quot;1033;&quot; sdval=&quot;1&quot;&gt;1&lt;/td&gt;
		&lt;td align=&quot;center&quot;&gt;RUSH&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr&gt;
        &lt;td align=&quot;center&quot;&gt;3&lt;/td&gt;
		&lt;td align=&quot;center&quot; height=&quot;20&quot;&gt;ATL&lt;/td&gt;
		&lt;td align=&quot;center&quot; sdnum=&quot;1033;&quot; sdval=&quot;2&quot;&gt;2&lt;/td&gt;
		&lt;td align=&quot;center&quot;&gt;RUSH&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr&gt;
        &lt;td align=&quot;center&quot;&gt;4&lt;/td&gt;
		&lt;td align=&quot;center&quot; height=&quot;20&quot;&gt;ATL&lt;/td&gt;
		&lt;td align=&quot;center&quot; sdnum=&quot;1033;&quot; sdval=&quot;3&quot;&gt;3&lt;/td&gt;
		&lt;td align=&quot;center&quot;&gt;PASS&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr&gt;
        &lt;td align=&quot;center&quot;&gt;5&lt;/td&gt;
		&lt;td align=&quot;center&quot; height=&quot;20&quot;&gt;ATL&lt;/td&gt;
		&lt;td align=&quot;center&quot; sdnum=&quot;1033;&quot; sdval=&quot;4&quot;&gt;4&lt;/td&gt;
		&lt;td align=&quot;center&quot;&gt;PUNT&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr&gt;
        &lt;td align=&quot;center&quot;&gt;6&lt;/td&gt;
		&lt;td align=&quot;center&quot; height=&quot;20&quot;&gt;PHI&lt;/td&gt;
		&lt;td align=&quot;center&quot; sdnum=&quot;1033;&quot; sdval=&quot;1&quot;&gt;1&lt;/td&gt;
		&lt;td align=&quot;center&quot;&gt;RUSH&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr&gt;
        &lt;td align=&quot;center&quot;&gt;7&lt;/td&gt;
		&lt;td align=&quot;center&quot; height=&quot;20&quot;&gt;PHI&lt;/td&gt;
		&lt;td align=&quot;center&quot; sdnum=&quot;1033;&quot; sdval=&quot;2&quot;&gt;2&lt;/td&gt;
		&lt;td align=&quot;center&quot;&gt;RUSH&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr&gt;
        &lt;td align=&quot;center&quot;&gt;8&lt;/td&gt;
		&lt;td align=&quot;center&quot; height=&quot;20&quot;&gt;PHI&lt;/td&gt;
		&lt;td align=&quot;center&quot; sdnum=&quot;1033;&quot; sdval=&quot;3&quot;&gt;3&lt;/td&gt;
		&lt;td align=&quot;center&quot;&gt;PASS&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr&gt;
        &lt;td align=&quot;center&quot;&gt;9&lt;/td&gt;
		&lt;td align=&quot;center&quot; height=&quot;20&quot;&gt;PHI&lt;/td&gt;
		&lt;td align=&quot;center&quot; sdnum=&quot;1033;&quot; sdval=&quot;4&quot;&gt;4&lt;/td&gt;
		&lt;td align=&quot;center&quot; bgcolor=&quot;#FFFF00&quot;&gt;PASS&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr&gt;
        &lt;td align=&quot;center&quot;&gt;10&lt;/td&gt;
		&lt;td align=&quot;center&quot; height=&quot;20&quot;&gt;ATL&lt;/td&gt;
		&lt;td align=&quot;center&quot; sdnum=&quot;1033;&quot; sdval=&quot;1&quot;&gt;1&lt;/td&gt;
		&lt;td align=&quot;center&quot;&gt;RUSH&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr&gt;
        &lt;td align=&quot;center&quot;&gt;11&lt;/td&gt;
		&lt;td align=&quot;center&quot; height=&quot;20&quot;&gt;ATL&lt;/td&gt;
		&lt;td align=&quot;center&quot; sdnum=&quot;1033;&quot; sdval=&quot;2&quot;&gt;2&lt;/td&gt;
		&lt;td align=&quot;center&quot;&gt;RUSH&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr&gt;
        &lt;td align=&quot;center&quot;&gt;12&lt;/td&gt;
		&lt;td align=&quot;center&quot; height=&quot;20&quot;&gt;ATL&lt;/td&gt;
		&lt;td align=&quot;center&quot; sdnum=&quot;1033;&quot; sdval=&quot;3&quot;&gt;3&lt;/td&gt;
		&lt;td align=&quot;center&quot;&gt;PASS&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr&gt;
        &lt;td align=&quot;center&quot;&gt;13&lt;/td&gt;
		&lt;td align=&quot;center&quot; height=&quot;20&quot;&gt;ATL&lt;/td&gt;
		&lt;td align=&quot;center&quot; sdnum=&quot;1033;&quot; sdval=&quot;4&quot;&gt;4&lt;/td&gt;
		&lt;td align=&quot;center&quot;&gt;PUNT&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr&gt;
        &lt;td&gt;14&lt;/td&gt;
		&lt;td align=&quot;center&quot; height=&quot;20&quot;&gt;PHI&lt;/td&gt;
		&lt;td align=&quot;center&quot; sdnum=&quot;1033;&quot; sdval=&quot;1&quot;&gt;1&lt;/td&gt;
		&lt;td align=&quot;center&quot;&gt;RUSH&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr&gt;
        &lt;td align=&quot;center&quot;&gt;15&lt;/td&gt;
		&lt;td align=&quot;center&quot; height=&quot;20&quot;&gt;PHI&lt;/td&gt;
		&lt;td align=&quot;center&quot; sdnum=&quot;1033;&quot; sdval=&quot;2&quot;&gt;2&lt;/td&gt;
		&lt;td align=&quot;center&quot;&gt;RUSH&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr&gt;
        &lt;td align=&quot;center&quot;&gt;16&lt;/td&gt;
		&lt;td align=&quot;center&quot; height=&quot;20&quot;&gt;PHI&lt;/td&gt;
		&lt;td align=&quot;center&quot; sdnum=&quot;1033;&quot; sdval=&quot;3&quot;&gt;3&lt;/td&gt;
		&lt;td align=&quot;center&quot;&gt;PASS&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr&gt;
        &lt;td align=&quot;center&quot;&gt;17&lt;/td&gt;
		&lt;td align=&quot;center&quot; height=&quot;20&quot;&gt;PHI&lt;/td&gt;
		&lt;td align=&quot;center&quot; sdnum=&quot;1033;&quot; sdval=&quot;4&quot;&gt;4&lt;/td&gt;
		&lt;td align=&quot;center&quot; bgcolor=&quot;#FFFF00&quot;&gt;RUSH&lt;/td&gt;
	&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;p&gt;&lt;/p&gt;

&lt;p&gt;The goal is to count the rows when:&lt;/p&gt;&lt;ul style=&quot;text-align: left;&quot;&gt;&lt;li&gt;team = &#39;PHI&#39;&lt;/li&gt;&lt;li&gt;AND down = 4&lt;/li&gt;&lt;li&gt;AND (play = &quot;rush&quot; OR play = &quot;pass&quot;)&lt;/li&gt;&lt;/ul&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;br /&gt;Here is the SUMPRODUCT forumla for this calculation, formatted for easier reading.&lt;br /&gt;&lt;/p&gt;&lt;p style=&quot;margin-left: 40px; text-align: left;&quot;&gt;&lt;span style=&quot;font-family: courier;&quot;&gt;=SUMPRODUCT(&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: courier;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; --(&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: courier;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (A2:A17=&quot;PHI&quot;)&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: courier;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; * (B2:B17=4)&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: courier;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; * ( (C2:C17=&quot;RUSH&quot;) + (C2:C17=&quot;PASS&quot;) )&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: courier;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; )&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: courier;&quot;&gt;)&lt;/span&gt;&lt;br /&gt;&lt;/p&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;br /&gt;You can see that multiplication is used for the AND, while addition is used for the OR.&lt;/p&gt;&lt;p style=&quot;text-align: left;&quot;&gt;The double negative has the effect of coercing the boolean true/false that is returned into an integer, where true = 1 and false = 0.&amp;nbsp; The inner negative coerces to int, but leaves a negative value.&amp;nbsp; The outer negative flips the sign back to positive.&amp;nbsp; You can get the same effect just by multiplying by 1.&lt;br /&gt;&amp;nbsp;&lt;/p&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20307088/posts/default/5977136300101691247'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20307088/posts/default/5977136300101691247'/><link rel='alternate' type='text/html' href='http://minorpoint.blogspot.com/2020/10/using-excel-sumproduct-function-with.html' title='Using the Excel SumProduct Function with multiple AND and OR conditions'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-20307088.post-7930057379726263811</id><published>2020-04-25T10:54:00.000-04:00</published><updated>2020-04-25T10:54:48.567-04:00</updated><title type='text'>Calculating original sale price from total and tax rate</title><content type='html'>Problem: Given a total price and a tax rate, calculate the original sale price.&lt;br /&gt;
&lt;br /&gt;
Example: Total Price = 27.03 and Tax Rate = 0.08125, or 8.125%&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;Sale price = Total Price / (1 + Tax Rate)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = 27.03 / 1.08125&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = 25.00&lt;br /&gt;&lt;br /&gt;Tax Amount = Total Price - Sale Price&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = 27.03 - 25.00&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = 2.03&lt;/span&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20307088/posts/default/7930057379726263811'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20307088/posts/default/7930057379726263811'/><link rel='alternate' type='text/html' href='http://minorpoint.blogspot.com/2020/04/calculating-original-sale-price-from.html' title='Calculating original sale price from total and tax rate'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-20307088.post-486582999428740894</id><published>2019-08-31T12:56:00.005-04:00</published><updated>2019-08-31T12:59:03.667-04:00</updated><title type='text'>How to scp and ssh from Ubuntu to a Raspberry Pi without a password</title><content type='html'>&lt;ol&gt;
&lt;/ol&gt;
From your local machine, be able to log in or rcp or rsync files to the rpi without having to enter a password.&amp;nbsp; This enables automated scripts to push code to the rpi as a server, or to automate backups.&lt;br /&gt;&lt;ol&gt;
&lt;li&gt;Create a local .ssh directory with &lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;cd ~; mkdir .ssh&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;Create a public/private key pair with &lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;ssh-keygen -t rsa&lt;/span&gt; (take all the defaults when prompted)&lt;/li&gt;
&lt;ul&gt;
&lt;li&gt;The private key is ~/.ssh/id_rsa&lt;/li&gt;
&lt;li&gt;The public key is ~/.ssh/id_rsa.pub&lt;/li&gt;
&lt;/ul&gt;
&lt;li&gt;Copy the public key to the remote rpi with &lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;scp id_rsa.pub pi@192.168.1.100:./&lt;/span&gt; (your ip address may be different)&lt;/li&gt;
&lt;li&gt;ssh to the rpi with &lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;ssh pi@192.168.1.100&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;Create a .ssh directory with &lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;mkdir .ssh&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;Move id_rsa.pub to the .ssh directory and rename it with &lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;mv id_rsa.pub .ssh/authorized_keys&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;Test with &lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;ssh pi@192.168.1.100&lt;/span&gt; - you should be logged in without entering a password.&lt;/li&gt;
&lt;/ol&gt;
</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20307088/posts/default/486582999428740894'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20307088/posts/default/486582999428740894'/><link rel='alternate' type='text/html' href='http://minorpoint.blogspot.com/2019/08/scp-and-ssh-from-ubuntu-to-raspberry-pi.html' title='How to scp and ssh from Ubuntu to a Raspberry Pi without a password'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-20307088.post-5737811264791734010</id><published>2019-08-29T20:40:00.003-04:00</published><updated>2019-08-31T13:48:02.777-04:00</updated><title type='text'>Opening the gnome terminal maximized in Ubuntu 16.04</title><content type='html'>Using the Ctrl-Alt-T keyboard shortcut:&lt;br /&gt;
&lt;ol&gt;
&lt;li&gt;Search for &quot;Keyboard&quot; in the Unity launcher&lt;/li&gt;
&lt;li&gt;Click the shortcuts tab&lt;/li&gt;
&lt;li&gt;Click &quot;Custom Shortcuts&quot;&lt;/li&gt;
&lt;li&gt;Click the &quot;+&quot; at the bottom of the window&lt;/li&gt;
&lt;li&gt;Enter a name, e.g., &quot;Terminal&quot;&lt;/li&gt;
&lt;li&gt;Enter the command: gnome-terminal --maximize&lt;/li&gt;
&lt;li&gt;Click &quot;Apply&quot;&lt;/li&gt;
&lt;li&gt;Set the keyboard shortcut by highlighting the row and typing the Ctrl-Alt-T key combination&lt;/li&gt;
&lt;/ol&gt;
&lt;br /&gt;
Using the Unity Launcher&lt;br /&gt;
&lt;ol&gt;
&lt;li&gt;Edit the file ~/.local/share/applications/gnome-terminal.desktop&lt;/li&gt;
&lt;li&gt;Paste these lines into the file:&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;[Desktop Entry]&lt;br /&gt;
Type=Application&lt;br /&gt;
Name=Terminal&lt;br /&gt;
Icon=utilities-terminal&lt;br /&gt;
Exec=gnome-terminal --maximize  &lt;/span&gt;&lt;br /&gt;
&lt;/li&gt;
&lt;li&gt;Save the file&lt;/li&gt;
&lt;li&gt;Log out and back in again&lt;/li&gt;
&lt;/ol&gt;
The gnome terminal should launch maximized from either the Unity launcher or the Ctrl-Alt-T keyboard shortcut.&amp;nbsp; This does not solve the problem opening the terminal from Nautilus maximized.&lt;br /&gt;
&lt;br /&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20307088/posts/default/5737811264791734010'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20307088/posts/default/5737811264791734010'/><link rel='alternate' type='text/html' href='http://minorpoint.blogspot.com/2019/08/opening-gnome-terminal-maximized-in.html' title='Opening the gnome terminal maximized in Ubuntu 16.04'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-20307088.post-2638895205276711040</id><published>2018-06-16T14:36:00.004-04:00</published><updated>2020-04-25T10:57:28.467-04:00</updated><title type='text'>Restore the Default Wallpaper on an Android Device</title><content type='html'>&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;Works on Android 4.4.2&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;&lt;/span&gt;

&lt;br /&gt;
&lt;ol&gt;
&lt;li&gt;Settings&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;→&lt;/span&gt;Display&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;→&lt;/span&gt;Wallpaper&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;→&lt;/span&gt;Home Screen&lt;/li&gt;
&lt;li&gt;Choose a Live Wallpaper&lt;/li&gt;
&lt;li&gt;Check the home screen to confirm the Live Wallpaper is working&lt;/li&gt;
&lt;/ol&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;Then:&lt;/span&gt;&lt;br /&gt;
&lt;ol&gt;
&lt;li&gt;Settings&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;→&lt;/span&gt;Application Manager&lt;/li&gt;
&lt;li&gt;Force stop the live wallpaper&lt;/li&gt;
&lt;li&gt;Return to the home screen: your device is set to the default wallpaper&lt;/li&gt;
&lt;/ol&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20307088/posts/default/2638895205276711040'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20307088/posts/default/2638895205276711040'/><link rel='alternate' type='text/html' href='http://minorpoint.blogspot.com/2018/06/restore-default-wallpaper-on-android.html' title='Restore the Default Wallpaper on an Android Device'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-20307088.post-5175775001217434135</id><published>2018-05-26T06:27:00.001-04:00</published><updated>2018-05-26T06:27:36.730-04:00</updated><title type='text'>Calculating percentages</title><content type='html'>&lt;span style=&quot;background-color: white; color: #222222; font-family: arial, sans-serif; font-size: 17.6px;&quot;&gt;26 is 3/4 (75%) of what number?&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #222222; font-family: arial, sans-serif; font-size: 17.6px;&quot;&gt;Two ways to calculate:&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;ol&gt;
&lt;li&gt;=26/(3/4)&lt;/li&gt;
&lt;li&gt;=4*26/3&lt;/li&gt;
&lt;/ol&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #222222; font-family: arial, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: white; font-size: 17.6px;&quot;&gt;&lt;/span&gt;&lt;/span&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20307088/posts/default/5175775001217434135'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20307088/posts/default/5175775001217434135'/><link rel='alternate' type='text/html' href='http://minorpoint.blogspot.com/2018/05/calculating-percentages.html' title='Calculating percentages'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-20307088.post-955807696976318161</id><published>2018-01-21T14:43:00.002-05:00</published><updated>2020-10-10T12:59:59.363-04:00</updated><title type='text'>Programming the KLIK1U to work with a Genie garage door opener</title><content type='html'>&lt;style type=&quot;text/css&quot;&gt;
  body,div,table,thead,tbody,tfoot,tr,th,td,p { font-family:&quot;Liberation Sans&quot;; font-size:x-small }
  a.comment-indicator:hover + comment { background:#ffd; position:absolute; display:block; border:1px solid black; padding:0.5em;  } 
  a.comment-indicator { background:red; display:inline-block; border:1px solid black; width:0.5em; height:0.5em;  } 
  comment { display:none;  } 
 &lt;/style&gt;      &lt;br /&gt;
&lt;table border=&quot;1&quot; cellspacing=&quot;0&quot;&gt; &lt;colgroup span=&quot;2&quot; width=&quot;288&quot;&gt;&lt;/colgroup&gt;  &lt;tbody&gt;
&lt;tr&gt;   &lt;td align=&quot;left&quot; height=&quot;17&quot;&gt;&lt;b&gt;Step&lt;/b&gt;&lt;/td&gt;   &lt;td align=&quot;left&quot;&gt;&lt;b&gt;Result&lt;/b&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr&gt;   &lt;td align=&quot;left&quot; height=&quot;33&quot; valign=&quot;middle&quot;&gt;Slide open the battery compartment&lt;/td&gt;   &lt;td align=&quot;left&quot; valign=&quot;middle&quot;&gt;Battery compartment is open and “program” button is exposed&lt;/td&gt;  &lt;/tr&gt;
&lt;tr&gt;   &lt;td align=&quot;left&quot; height=&quot;33&quot; valign=&quot;middle&quot;&gt;Press and hold the “program” button until the led on the remote lights up&lt;/td&gt;   &lt;td align=&quot;left&quot; valign=&quot;middle&quot;&gt;LED on remote is lit&lt;/td&gt;  &lt;/tr&gt;
&lt;tr&gt;   &lt;td align=&quot;left&quot; height=&quot;33&quot; valign=&quot;middle&quot;&gt;Press the Code/Learn button on the garage door opener&lt;/td&gt;   &lt;td align=&quot;left&quot; valign=&quot;middle&quot;&gt;LED on garage door opener begins flashing&lt;/td&gt;  &lt;/tr&gt;
&lt;tr&gt;   &lt;td align=&quot;left&quot; height=&quot;33&quot; valign=&quot;middle&quot;&gt;Press the “I” button 6 times, ensuring the LED on the remote stops flashing after each press&lt;/td&gt;   &lt;td align=&quot;left&quot; valign=&quot;middle&quot;&gt;LED on garage door opener will be on steady after the 6th press&lt;/td&gt;  &lt;/tr&gt;
&lt;tr&gt;   &lt;td align=&quot;left&quot; height=&quot;32&quot;&gt;Press and hold the program button on the remote&lt;/td&gt;   &lt;td align=&quot;left&quot; valign=&quot;middle&quot;&gt;LED on garage door opener turns off&lt;/td&gt;  &lt;/tr&gt;
&lt;tr&gt;   &lt;td align=&quot;left&quot; height=&quot;33&quot;&gt;Press the “I” button on the remote to test&lt;/td&gt;   &lt;td align=&quot;left&quot;&gt;Garage door opens and closes with the remote&lt;/td&gt;  &lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;br /&gt;
https://www.chamberlain.com/CatalogResourcesV3/en-us/shared/files/tucmanuals/114A3485.pdf&lt;br /&gt;
&lt;br /&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20307088/posts/default/955807696976318161'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20307088/posts/default/955807696976318161'/><link rel='alternate' type='text/html' href='http://minorpoint.blogspot.com/2018/01/programming-klik1u-to-work-with-genie.html' title='Programming the KLIK1U to work with a Genie garage door opener'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-20307088.post-1245330540132840956</id><published>2018-01-21T14:30:00.002-05:00</published><updated>2020-04-25T10:56:44.672-04:00</updated><title type='text'>Getting rid of a deleted email in iPhone</title><content type='html'>An email that was deleted from Microsoft Exchange server would not disappear from iPhone.&lt;br /&gt;
&lt;br /&gt;
Steps to remove:&lt;br /&gt;
&lt;ol&gt;
&lt;li&gt;Settings→Accounts &amp;amp; Passwords→Exchange (Mail, Contacts, Reminders, Notes)&lt;/li&gt;
&lt;li&gt;Turn off Mail for a few seconds, then back on.&lt;/li&gt;
&lt;li&gt;The account will re-sync everything and the email should disappear.&lt;/li&gt;
&lt;/ol&gt;
&lt;br /&gt;
&lt;br /&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20307088/posts/default/1245330540132840956'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20307088/posts/default/1245330540132840956'/><link rel='alternate' type='text/html' href='http://minorpoint.blogspot.com/2018/01/getting-rid-of-deleted-email-in-iphone.html' title='Getting rid of a deleted email in iPhone'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-20307088.post-4060041873519533360</id><published>2018-01-21T14:27:00.004-05:00</published><updated>2020-10-10T13:01:48.227-04:00</updated><title type='text'>Downgrade Libreoffice to the current Ubuntu version</title><content type='html'>Upgraded to the latest LibreOffice and had performance problems.&lt;br /&gt;
Here are the terminal commands to revert to the current Ubuntu version:&lt;br /&gt;
&lt;ol&gt;
&lt;li&gt;sudo apt-get remove --purge libreoffice*&lt;/li&gt;
&lt;li&gt;software-properties-gtk to open Software Sources&lt;/li&gt;
&lt;ul&gt;
&lt;li&gt;Click &quot;Other Sources&quot; tab and remove the libreoffice PPA&lt;/li&gt;
&lt;/ul&gt;
&lt;li&gt;sudo apt-get update&lt;/li&gt;
&lt;li&gt;sudo apt-get clean &amp;amp;&amp;amp; sudo apt-get autoremove&lt;/li&gt;
&lt;li&gt;sudo apt-get install libreoffice&lt;/li&gt;
&lt;/ol&gt;
&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20307088/posts/default/4060041873519533360'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20307088/posts/default/4060041873519533360'/><link rel='alternate' type='text/html' href='http://minorpoint.blogspot.com/2018/01/downgrade-libreoffice-to-current-ubuntu.html' title='Downgrade Libreoffice to the current Ubuntu version'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-20307088.post-4642790452332214348</id><published>2017-08-25T05:03:00.003-04:00</published><updated>2020-10-10T13:03:10.485-04:00</updated><title type='text'>Calculating Percent Change</title><content type='html'>&lt;ul&gt;
&lt;li&gt;Method 1: (new - old) / old&lt;/li&gt;
&lt;li&gt;Method 2: (new / old) - 1&lt;/li&gt;
&lt;/ul&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;table border=&quot;1&quot; cellspacing=&quot;0&quot; cols=&quot;3&quot;&gt;
 &lt;colgroup&gt;&lt;col width=&quot;86&quot;&gt;&lt;/col&gt;&lt;col width=&quot;86&quot;&gt;&lt;/col&gt;&lt;col width=&quot;86&quot;&gt;&lt;/col&gt;&lt;/colgroup&gt;
 &lt;tbody&gt;
&lt;tr&gt;
   &lt;td align=&quot;LEFT&quot; height=&quot;17&quot; width=&quot;86&quot;&gt;Old value&lt;/td&gt;
   &lt;td align=&quot;RIGHT&quot; sdnum=&quot;1033;&quot; sdval=&quot;100&quot; width=&quot;86&quot;&gt;100&lt;/td&gt;
   &lt;td align=&quot;LEFT&quot; width=&quot;86&quot;&gt;&lt;br /&gt;&lt;/td&gt;
  &lt;/tr&gt;
&lt;tr&gt;
   &lt;td align=&quot;LEFT&quot; height=&quot;17&quot;&gt;New value&lt;/td&gt;
   &lt;td align=&quot;RIGHT&quot; sdnum=&quot;1033;&quot; sdval=&quot;50&quot;&gt;50&lt;/td&gt;
   &lt;td align=&quot;LEFT&quot;&gt;&lt;br /&gt;&lt;/td&gt;
  &lt;/tr&gt;
&lt;tr&gt;
   &lt;td align=&quot;LEFT&quot; height=&quot;17&quot;&gt;Method 1&lt;/td&gt;
   &lt;td align=&quot;RIGHT&quot; sdnum=&quot;1033;0;0.00%&quot; sdval=&quot;-0.5&quot;&gt;=(B2-B1)/B1&lt;/td&gt;
   &lt;td align=&quot;RIGHT&quot; sdnum=&quot;1033;0;0.00%&quot; sdval=&quot;-0.5&quot;&gt;-50.00%&lt;/td&gt;
  &lt;/tr&gt;
&lt;tr&gt;
   &lt;td align=&quot;LEFT&quot; height=&quot;17&quot;&gt;Method 2&lt;/td&gt;
   &lt;td align=&quot;RIGHT&quot; sdnum=&quot;1033;0;0.00%&quot; sdval=&quot;-0.5&quot;&gt;B2/B1-1&lt;/td&gt;
   &lt;td align=&quot;RIGHT&quot; sdnum=&quot;1033;0;0.00%&quot; sdval=&quot;-0.5&quot;&gt;-50.00%&lt;/td&gt;
  &lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;/div&gt;
&lt;br /&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20307088/posts/default/4642790452332214348'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20307088/posts/default/4642790452332214348'/><link rel='alternate' type='text/html' href='http://minorpoint.blogspot.com/2013/03/calculating-percentage-change.html' title='Calculating Percent Change'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-20307088.post-3494557580284393423</id><published>2017-07-29T12:18:00.001-04:00</published><updated>2017-07-29T12:18:40.417-04:00</updated><title type='text'>Density = weight / volume</title><content type='html'></content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20307088/posts/default/3494557580284393423'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20307088/posts/default/3494557580284393423'/><link rel='alternate' type='text/html' href='http://minorpoint.blogspot.com/2017/07/density-weight-volume.html' title='Density = weight / volume'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-20307088.post-2699191965484332301</id><published>2017-07-01T10:56:00.003-04:00</published><updated>2017-07-01T10:56:28.155-04:00</updated><title type='text'>Calculating Inflation in Excel</title><content type='html'>Future value of 100 dollars at 3% inflation in 10 years = $74.41:&lt;br /&gt;
&lt;br /&gt;
=100/(1+.03)^10&lt;br /&gt;
&lt;br /&gt;
Formula to copy in cells to calculate inflated value:&lt;br /&gt;
Col A&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Col B&lt;br /&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;b&gt;Year&amp;nbsp;&amp;nbsp; &amp;nbsp; Inflated Value&lt;/b&gt;&lt;br /&gt;0&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; =100*(1+.03)^A1&lt;br /&gt;=A1+1&amp;nbsp;&amp;nbsp; &amp;nbsp;=100*(1+.03)^A2&lt;br /&gt;=A2+1&amp;nbsp;&amp;nbsp; &amp;nbsp;=100*(1+.03)^A3&lt;br /&gt;=A3+1&amp;nbsp;&amp;nbsp; &amp;nbsp;=100*(1+.03)^A4&lt;br /&gt;=A4+1&amp;nbsp;&amp;nbsp; &amp;nbsp;=100*(1+.03)^A5&lt;br /&gt;=A5+1&amp;nbsp;&amp;nbsp; &amp;nbsp;=100*(1+.03)^A6&lt;br /&gt;=A6+1&amp;nbsp;&amp;nbsp; &amp;nbsp;=100*(1+.03)^A7&lt;br /&gt;=A7+1&amp;nbsp;&amp;nbsp; &amp;nbsp;=100*(1+.03)^A8&lt;br /&gt;=A8+1&amp;nbsp;&amp;nbsp; &amp;nbsp;=100*(1+.03)^A9&lt;br /&gt;=A9+1&amp;nbsp;&amp;nbsp; &amp;nbsp;=100*(1+.03)^A10&lt;br /&gt;=A10+1&amp;nbsp;&amp;nbsp; =100*(1+.03)^A11&lt;/span&gt; </content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20307088/posts/default/2699191965484332301'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20307088/posts/default/2699191965484332301'/><link rel='alternate' type='text/html' href='http://minorpoint.blogspot.com/2017/07/calculating-inflation-in-excel.html' title='Calculating Inflation in Excel'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-20307088.post-75306253185897970</id><published>2017-03-26T11:48:00.000-04:00</published><updated>2017-03-26T11:50:52.266-04:00</updated><title type='text'>Microsoft VBA Get Existing Outlook Instance</title><content type='html'>&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;Sub Get_Existing_Outlook_Instance()&lt;br /&gt;
&amp;nbsp; Dim objOutlook As Outlook.Application &lt;br /&gt;
&amp;nbsp; &#39; Gets the existing instance (if Outlook is already open) regardless of early or late binding &lt;br /&gt;
&amp;nbsp; On Error Resume Next&lt;br /&gt;
&amp;nbsp; Set objOutlook = GetObject(, &quot;Outlook.Application&quot;) &lt;br /&gt;
&amp;nbsp; If objOutlook Is Nothing Then &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Debug.Print &quot;Outlook is not open, getting a new instance&quot; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Set objOutlook = New Outlook.Application &lt;br /&gt;
&amp;nbsp; End If&lt;br /&gt;
&amp;nbsp; Set objOutlook = Nothing&lt;br /&gt;
End Sub&lt;/span&gt;&lt;/span&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20307088/posts/default/75306253185897970'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20307088/posts/default/75306253185897970'/><link rel='alternate' type='text/html' href='http://minorpoint.blogspot.com/2017/03/microsoft-vba-get-existing-outlook.html' title='Microsoft VBA Get Existing Outlook Instance'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-20307088.post-1668626896644995306</id><published>2017-03-26T11:37:00.004-04:00</published><updated>2017-03-26T11:38:40.411-04:00</updated><title type='text'>Microsift VBA Early vs. Late Binding Example</title><content type='html'>&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace; font-size: x-small;&quot;&gt;&lt;br /&gt;Private Sub Early_vs_Late_Binding_Example() &lt;br /&gt;
#Const LATEBINDING = False &lt;br /&gt;
&lt;br /&gt;
#If LATEBINDING Then &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; Dim objOutlook As Object &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; Set objOutlook = CreateObject(&quot;Outlook.Application&quot;) &lt;br /&gt;
#Else &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &#39; NOTE! Early binding requires a typelib reference.&amp;nbsp; In the VBE click Tools -&amp;gt; References &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &#39; and make sure that &quot;Microsoft Outlook xx.x Object Library&quot; is selected &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; Dim objOutlook As Outlook.Application &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; Set objOutlook = New Outlook.Application &lt;br /&gt;
#End If &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; Set objOutlook = Nothing &lt;br /&gt;
End Sub&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20307088/posts/default/1668626896644995306'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20307088/posts/default/1668626896644995306'/><link rel='alternate' type='text/html' href='http://minorpoint.blogspot.com/2017/03/microsift-vba-early-vs-late-binding.html' title='Microsift VBA Early vs. Late Binding Example'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-20307088.post-1191519626239936138</id><published>2017-03-18T04:01:00.000-04:00</published><updated>2017-03-26T11:52:07.991-04:00</updated><title type='text'>Move Ubuntu Unity Launcher to the Bottom of the Screen</title><content type='html'>&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace; font-size: xx-small;&quot;&gt;gsettings set com.canonical.Unity.Launcher launcher-position Bottom&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: xx-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-size: xx-small;&quot;&gt;To reset to the left side:&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;gsettings set com.canonical.Unity.Launcher launcher-position Left&lt;/span&gt;&lt;/span&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20307088/posts/default/1191519626239936138'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20307088/posts/default/1191519626239936138'/><link rel='alternate' type='text/html' href='http://minorpoint.blogspot.com/2017/03/move-ubuntu-unity-launcher-to-bottom-of.html' title='Move Ubuntu Unity Launcher to the Bottom of the Screen'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-20307088.post-3102518863739196405</id><published>2017-03-18T03:53:00.001-04:00</published><updated>2017-03-26T11:56:47.759-04:00</updated><title type='text'>Changing the window placement in Ubuntu</title><content type='html'>&lt;span style=&quot;font-size: x-small;&quot;&gt;To see the current setting:&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;dconf read /org/compiz/profiles/unity/plugins/place/mode&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
To update the setting:&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;dconf write /org/compiz/profiles/unity/plugins/place/mode 1&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
(Try different values to understand the behavior.)&lt;/span&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20307088/posts/default/3102518863739196405'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20307088/posts/default/3102518863739196405'/><link rel='alternate' type='text/html' href='http://minorpoint.blogspot.com/2017/03/changing-window-placement-in-ubuntu.html' title='Changing the window placement in Ubuntu'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-20307088.post-7629429194614045437</id><published>2017-02-03T06:02:00.000-05:00</published><updated>2017-02-03T06:03:35.327-05:00</updated><title type='text'>Restoring the default login screen background in Ubuntu Xenial</title><content type='html'>Changing the desktop wallpaper also changed the login screen. Follow these steps to override that behavior and reset the login screen back to the default.&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;cd /usr/share/glib-2.0/schemas/&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;sudo vi com.canonical.unity-greeter.gschema.xml&lt;/span&gt;&lt;/blockquote&gt;
Look for this key node:&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&amp;lt;key name=&quot;draw-user-backgrounds&quot; type=&quot;b&quot;&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;    &amp;lt;default&amp;gt;true&amp;lt;/default&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&amp;lt;summary&amp;gt;Whether to draw user backgrounds&amp;lt;/summary&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&amp;lt;/key&amp;gt;&lt;/span&gt;&lt;/blockquote&gt;
Change the value true to false.&lt;br /&gt;
&lt;br /&gt;
You can also remove the white dots by changing this key node:&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&amp;lt;key name=&quot;draw-grid&quot; type=&quot;b&quot;&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&amp;lt;default&amp;gt;true&amp;lt;/default&amp;gt;&lt;br /&gt;
&amp;lt;summary&amp;gt;Whether to draw an overlay grid&amp;lt;/summary&amp;gt;&lt;br /&gt;
&amp;lt;/key&amp;gt;&lt;/span&gt;&lt;/blockquote&gt;
Now recompile the schema with this command:&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;sudo glib-compile-schemas /usr/share/glib-2.0/schemas/&lt;/span&gt;&lt;/blockquote&gt;
Log out and back in to see the change.&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20307088/posts/default/7629429194614045437'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20307088/posts/default/7629429194614045437'/><link rel='alternate' type='text/html' href='http://minorpoint.blogspot.com/2017/02/restoring-default-login-screen.html' title='Restoring the default login screen background in Ubuntu Xenial'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-20307088.post-7564462512630109650</id><published>2017-01-28T12:12:00.001-05:00</published><updated>2017-01-28T12:12:02.766-05:00</updated><title type='text'>Biweekly vs. semi-weekly</title><content type='html'>&lt;ul&gt;
&lt;li&gt;Biweekly means once every two weeks.&lt;/li&gt;
&lt;li&gt;Semi-weekly means twice per week.&lt;/li&gt;
&lt;/ul&gt;
</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20307088/posts/default/7564462512630109650'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20307088/posts/default/7564462512630109650'/><link rel='alternate' type='text/html' href='http://minorpoint.blogspot.com/2017/01/biweekly-vs-semi-weekly.html' title='Biweekly vs. semi-weekly'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-20307088.post-6907362275925383493</id><published>2017-01-28T11:19:00.000-05:00</published><updated>2017-03-26T20:12:33.149-04:00</updated><title type='text'>Ubuntu Unity Configurations</title><content type='html'>To position the launcher at the bottom of the screen:&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;gsettings set com.canonical.Unity.Launcher launcher-position Bottom&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
To return to the default position on the left:&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;gsettings set com.canonical.Unity.Launcher launcher-position Left&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
To open new windows centered on the screen without installing compiz-conf:&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;dconf write /org/compiz/profiles/unity/plugins/place/mode 1&lt;/span&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20307088/posts/default/6907362275925383493'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20307088/posts/default/6907362275925383493'/><link rel='alternate' type='text/html' href='http://minorpoint.blogspot.com/2017/01/ubuntu-unity-configurations.html' title='Ubuntu Unity Configurations'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-20307088.post-6511321459787284591</id><published>2012-12-28T08:22:00.004-05:00</published><updated>2020-02-22T12:06:41.881-05:00</updated><title type='text'>Getting a list of stock symbols with Python</title><content type='html'>Lists of stock symbols can be found at either of these links:&lt;br /&gt;
&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;http://www.nasdaq.com/screening/company-list.aspx&quot;&gt;http://www.nasdaq.com/screening/company-list.aspx&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;ftp://ftp.nasdaqtrader.com/SymbolDirectory/&quot;&gt;ftp://ftp.nasdaqtrader.com/SymbolDirectory/&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;br /&gt;
You can download a list of symbols from the nasdaq.com site for the Nasdaq, NYSE, and AMEX exchanges.&lt;br /&gt;
&lt;br /&gt;
The FTP directory at ftp.nasdaqtrader.com gets updated every night at 3:00AM (symbols can change).&amp;nbsp;Here is a quick Python script to download the nasdaqlisted.txt and otherlisted.txt files from the ftp site:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;#!/usr/bin/python&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;# typical use: python get_symbols.py &amp;gt; symbols.txt&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;import urllib&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;def get_data( url ):&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; data = urllib.urlopen( url )&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; lines = []&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; for line in data:&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; lines.append( line.rstrip().split(&#39;|&#39;) )&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; return lines&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;url = &#39;ftp://ftp.nasdaqtrader.com/SymbolDirectory/&#39;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;files = [&#39;nasdaqlisted.txt&#39;, &#39;otherlisted.txt&#39;]&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;for f in files:&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; print get_data( url + f )&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20307088/posts/default/6511321459787284591'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20307088/posts/default/6511321459787284591'/><link rel='alternate' type='text/html' href='http://minorpoint.blogspot.com/2012/12/getting-list-of-stock-symbols.html' title='Getting a list of stock symbols with Python'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-20307088.post-2727240840228512085</id><published>2012-12-23T20:23:00.003-05:00</published><updated>2012-12-23T20:23:53.180-05:00</updated><title type='text'>List Comprehensions in Python</title><content type='html'>&lt;code&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;
# create a new list&lt;/span&gt;&lt;/code&gt;&lt;br /&gt;
&lt;code&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&amp;gt;&amp;gt;&amp;gt; a = [1,2,3,4,5]&lt;/span&gt;&lt;/code&gt;&lt;br /&gt;
&lt;code&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&amp;gt;&amp;gt;&amp;gt; a
[1, 2, 3, 4, 5]&lt;/span&gt;&lt;/code&gt;&lt;br /&gt;
&lt;code&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/code&gt;
&lt;code&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;# sample list comprehension expression; equivalent to b = a&lt;/span&gt;&lt;/code&gt;&lt;br /&gt;
&lt;code&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&amp;gt;&amp;gt;&amp;gt; b = [a[i] for i in range(len(a))]&lt;/span&gt;&lt;/code&gt;&lt;br /&gt;
&lt;code&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&amp;gt;&amp;gt;&amp;gt; b
[1, 2, 3, 4, 5]&lt;/span&gt;&lt;/code&gt;&lt;br /&gt;
&lt;code&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/code&gt;
&lt;code&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;# only even indices&lt;/span&gt;&lt;/code&gt;&lt;br /&gt;
&lt;code&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&amp;gt;&amp;gt;&amp;gt; b = [a[i] for i in range(len(a)) if i % 2 == 0]&lt;/span&gt;&lt;/code&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&amp;gt;&amp;gt;&amp;gt; b
[1, 3, 5]&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;# only even indices and conditionally modifies the value of a[i]&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&amp;gt;&amp;gt;&amp;gt; b = [a[i]*2 if i &amp;gt; 1 else a[i] for i in range(len(a)) if i % 2 == 0]&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&amp;gt;&amp;gt;&amp;gt; b
[1, 6, 10]&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20307088/posts/default/2727240840228512085'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20307088/posts/default/2727240840228512085'/><link rel='alternate' type='text/html' href='http://minorpoint.blogspot.com/2012/12/list-comprehensions-in-python.html' title='List Comprehensions in Python'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry></feed>