<?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/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>programming &#8211; Giovanni F. Mazzeo De Santolo</title>
	<atom:link href="https://desantolo.com/tag/programming/feed/" rel="self" type="application/rss+xml" />
	<link>https://desantolo.com</link>
	<description>That italian IT guy</description>
	<lastBuildDate>Sun, 27 Dec 2020 05:38:52 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.8.2</generator>
<site xmlns="com-wordpress:feed-additions:1">123042357</site>	<item>
		<title>Why certain programs launch fine on Start &gt; Run on Windows but not from the command line</title>
		<link>https://desantolo.com/2017/02/why-certain-programs-launch-fine-on-start-run-on-windows-but-not-from-the-command-line/</link>
		
		<dc:creator><![CDATA[Giovanni]]></dc:creator>
		<pubDate>Tue, 07 Feb 2017 02:17:45 +0000</pubDate>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[cmd]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[windows registry]]></category>
		<guid isPermaLink="false">https://desantolo.com/?p=500</guid>

					<description><![CDATA[On windows, if you run a program such as Chrome.exe (Google Chrome Web Browser) via control + R (run) it will launch without a hitch as long as the browser is installed. However, if you open the command line and &#8230; <a href="https://desantolo.com/2017/02/why-certain-programs-launch-fine-on-start-run-on-windows-but-not-from-the-command-line/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
										<content:encoded><![CDATA[<p>On windows, if you run a program such as Chrome.exe (Google Chrome Web Browser) via control + R (run) it will launch without a hitch as long as the browser is installed.</p>
<p>However, if you open the command line and you attempt to run &#8220;chrome.exe&#8221; it will complain that the executable is not found in the %PATH%</p>
<p>This is because Control+R also looks up the registry values within HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\</p>
<p>Which include all apps ever installed such as Chrome.exe, Firefox.exe, Excel.exe, Illustrator.exe, etc.</p>
<p>So if you are ever writing a program in your programming language of choice, using a Windows Registry check of the location (HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths) for whatever.exe will be the perfect solution when that program is not in the System Environment variable %PATH%</p>
]]></content:encoded>
					
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">500</post-id>	</item>
		<item>
		<title>Useful software development tools</title>
		<link>https://desantolo.com/2017/01/useful-software-development-tools/</link>
					<comments>https://desantolo.com/2017/01/useful-software-development-tools/#respond</comments>
		
		<dc:creator><![CDATA[Giovanni]]></dc:creator>
		<pubDate>Mon, 09 Jan 2017 00:34:53 +0000</pubDate>
				<category><![CDATA[Guides]]></category>
		<category><![CDATA[golang]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[webstorm]]></category>
		<guid isPermaLink="false">https://desantolo.com/?p=481</guid>

					<description><![CDATA[This post is meant to be updated with useful tools for software development. I will only classify the tool and post a link to it, this post will be helpful for someone just starting out in devOps API Postman: allows &#8230; <a href="https://desantolo.com/2017/01/useful-software-development-tools/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
										<content:encoded><![CDATA[<p>This post is meant to be updated with useful tools for software development. I will only classify the tool and post a link to it, this post will be helpful for someone just starting out in devOps</p>
<p><strong>API</strong></p>
<ul>
<li><a href="https://www.getpostman.com/">Postman</a>: allows to share, test, document &amp; monitor APIs.</li>
</ul>
<p><strong>IDE</strong></p>
<ul>
<li><a href="https://www.visualstudio.com/">Visual Studio</a>: Windows software development IDE (C#/WPF)</li>
<li>Jetbrains Webstorm: Javascript IDE that becomes powerful with plugins (I use it for writing Go code)</li>
</ul>
<p><strong>Text editors</strong></p>
<ul>
<li><a href="https://www.sublimetext.com/">Sublime Text </a>(commercial) but lightweight and powerful</li>
<li><a href="https://atom.io/">Atom </a></li>
<li><a href="http://brackets.io/">Brackets</a></li>
</ul>
<p><strong>Must have tools</strong></p>
<ul>
<li>Git (or <a href="https://desktop.github.com/">Github Desktop</a> or <a href="https://git-for-windows.github.io/">Git for Windows</a>)</li>
<li>Linux terminal/bash (available on any Mac/Linux machine, for Windows download Git for Windows linked above)</li>
</ul>
]]></content:encoded>
					
					<wfw:commentRss>https://desantolo.com/2017/01/useful-software-development-tools/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">481</post-id>	</item>
		<item>
		<title>Quick C# Programming Notes on String Formatting</title>
		<link>https://desantolo.com/2011/03/quick-c-programming-notes-on-string-formatting/</link>
					<comments>https://desantolo.com/2011/03/quick-c-programming-notes-on-string-formatting/#respond</comments>
		
		<dc:creator><![CDATA[Giovanni]]></dc:creator>
		<pubDate>Mon, 28 Mar 2011 16:30:56 +0000</pubDate>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[C#]]></category>
		<category><![CDATA[programming]]></category>
		<guid isPermaLink="false">http://desantolo.com/?p=164</guid>

					<description><![CDATA[Here is a few examples on the different ways to format strings when outputting data to the user. Computers usually store numbers without formatting. Some of these notes will tell you the exact code you would need to make a &#8230; <a href="https://desantolo.com/2011/03/quick-c-programming-notes-on-string-formatting/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
										<content:encoded><![CDATA[<p>Here is a few examples on the different ways to format strings when outputting data to the user. Computers usually store numbers without formatting.</p>
<p>Some of these notes will tell you the exact code you would need to make a computer&#8217;s &#8220;224&#8221; to be outputted as &#8220;$224&#8221; or &#8220;224 %&#8221;.</p>
<p><span id="more-164"></span></p>
<blockquote><p>using System;</p>
<p>class FormattingNumbers<br />
{<br />
static void Main()<br />
{<br />
decimal theDecNumber = 12345.678m; //the &#8220;m&#8221; creates a literal of type decimal from a double<br />
//Using the ToString Method<br />
//the number in the format string is the precision specifier<br />
Console.WriteLine(&#8220;No formatting: &#8221; + theDecNumber.ToString());<br />
Console.WriteLine(&#8220;Currency formatting: &#8221; + theDecNumber.ToString(&#8220;C&#8221;));<br />
Console.WriteLine(&#8220;Exponential formatting: &#8221; + theDecNumber.ToString(&#8220;E&#8221;));<br />
Console.WriteLine(&#8220;Fixed-point formatting: &#8221; + theDecNumber.ToString(&#8220;F2&#8221;));<br />
Console.WriteLine(&#8220;General formatting: &#8221; + theDecNumber.ToString(&#8220;G&#8221;));<br />
Console.WriteLine(&#8220;Number formatting to 2 decimal places: &#8221; + theDecNumber.ToString(&#8220;N2&#8221;));<br />
Console.WriteLine(&#8220;Number formatting to 3 decimal places: &#8221; + theDecNumber.ToString(&#8220;N3&#8221;));<br />
Console.WriteLine(&#8220;Number formatting to 4 decimal places: &#8221; + theDecNumber.ToString(&#8220;N4&#8221;));<br />
Console.WriteLine(&#8220;Percent formatting: &#8221; + theDecNumber.ToString(&#8220;P0&#8221;));</p>
<p>int theIntNumber = 123456;<br />
Console.WriteLine(&#8220;Hexidecimal formatting (for integers): {0} = {1}&#8221;, theIntNumber, theIntNumber.ToString(&#8220;X&#8221;));</p>
<p>double theDblNumber = 1234567890;<br />
Console.WriteLine(&#8220;Custom formatting: {0} to US telephone {1}&#8221;, theDblNumber, theDblNumber.ToString( &#8220;(###) ### &#8211; ####&#8221; ));</p>
<p>//Keep console open if not run through command prompt<br />
Console.Write(&#8220;\nPress Enter to Continue&#8221;);<br />
Console.ReadLine();<br />
}<br />
}</p></blockquote>
<p>John Sheehan has some very good tips and information on <a href="http://john-sheehan.com/blog/net-cheat-sheets/" target="_blank">his blog</a>. For archive purposes I have mirrored his .NET cheatsheet (<a href="http://desantolo.com/wp-content/uploads/2011/03/msnet-formatting-strings.pdf" target="_blank">download link here</a>). Hope this helps you.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://desantolo.com/2011/03/quick-c-programming-notes-on-string-formatting/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">164</post-id>	</item>
	</channel>
</rss>
