<?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>windows &#8211; Accidents Happen</title>
	<atom:link href="https://ah.thameera.com/tag/windows/feed/" rel="self" type="application/rss+xml" />
	<link>https://ah.thameera.com</link>
	<description>In the dark</description>
	<lastBuildDate>Tue, 15 Oct 2013 06:12:05 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	
<site xmlns="com-wordpress:feed-additions:1">56521109</site>	<item>
		<title>pkill script for cygwin</title>
		<link>https://ah.thameera.com/pkill-script-for-cygwin/</link>
					<comments>https://ah.thameera.com/pkill-script-for-cygwin/#comments</comments>
		
		<dc:creator><![CDATA[thameera]]></dc:creator>
		<pubDate>Tue, 15 Oct 2013 06:12:05 +0000</pubDate>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[cygwin]]></category>
		<category><![CDATA[pkill]]></category>
		<category><![CDATA[script]]></category>
		<category><![CDATA[shell]]></category>
		<category><![CDATA[windows]]></category>
		<guid isPermaLink="false">http://ah.thameera.com/?p=427</guid>

					<description><![CDATA[pkill is a basic necessity of life. For cygwin, this comes in the package procps which is not available for x64. You can of course ps and grep then awk but who has the time. This small script from cygwin mailing list archives to the rescue: tskill is actually a kill equivalent in the Windows [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>pkill is a basic necessity of life. For cygwin, this comes in the package procps which is not available for x64. You can of course ps and grep then awk but who has the time.</p>
<p>This small script from <a href="http://cygwin.com/ml/cygwin/2008-05/msg00084.html">cygwin mailing list archives</a> to the rescue:</p>
<style>.gist table { margin-bottom: 0; }</style><div style="tab-size: 8" id="gist6987212" class="gist">
    <div class="gist-file" translate="no" data-color-mode="light" data-light-theme="light">
      <div class="gist-data">
        
<div class="js-gist-file-update-container js-task-list-container">
      <div id="file-pkill" class="file my-2">
    
    <div itemprop="text"
      class="Box-body p-0 blob-wrapper data type-shell  "
      style="overflow: auto" tabindex="0" role="region"
      aria-label="pkill content, created by thameera on 06:08AM on October 15, 2013."
    >

        
<div class="js-check-hidden-unicode js-blob-code-container blob-code-content">

  <template class="js-file-alert-template">
  <div data-view-component="true" class="flash flash-warn flash-full d-flex flex-items-center">
  <svg aria-hidden="true" data-component="Octicon" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-alert">
    <path d="M6.457 1.047c.659-1.234 2.427-1.234 3.086 0l6.082 11.378A1.75 1.75 0 0 1 14.082 15H1.918a1.75 1.75 0 0 1-1.543-2.575Zm1.763.707a.25.25 0 0 0-.44 0L1.698 13.132a.25.25 0 0 0 .22.368h12.164a.25.25 0 0 0 .22-.368Zm.53 3.996v2.5a.75.75 0 0 1-1.5 0v-2.5a.75.75 0 0 1 1.5 0ZM9 11a1 1 0 1 1-2 0 1 1 0 0 1 2 0Z"></path>
</svg>
    <span>
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      <a class="Link--inTextBlock" href="https://github.co/hiddenchars" target="_blank">Learn more about bidirectional Unicode characters</a>
    </span>


  <div data-view-component="true" class="flash-action">        <a href="{{ revealButtonHref }}" data-view-component="true" class="btn-sm btn">    Show hidden characters
</a>
</div>
</div></template>
<template class="js-line-alert-template">
  <span aria-label="This line has hidden Unicode characters" data-view-component="true" class="line-alert tooltipped tooltipped-e">
    <svg aria-hidden="true" data-component="Octicon" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-alert">
    <path d="M6.457 1.047c.659-1.234 2.427-1.234 3.086 0l6.082 11.378A1.75 1.75 0 0 1 14.082 15H1.918a1.75 1.75 0 0 1-1.543-2.575Zm1.763.707a.25.25 0 0 0-.44 0L1.698 13.132a.25.25 0 0 0 .22.368h12.164a.25.25 0 0 0 .22-.368Zm.53 3.996v2.5a.75.75 0 0 1-1.5 0v-2.5a.75.75 0 0 1 1.5 0ZM9 11a1 1 0 1 1-2 0 1 1 0 0 1 2 0Z"></path>
</svg>
</span></template>

  <table data-hpc class="highlight tab-size js-file-line-container" data-tab-size="4" data-paste-markdown-skip data-tagsearch-path="pkill">
        <tr>
          <td id="file-pkill-L1" class="blob-num js-line-number js-blob-rnum" data-line-number="1"></td>
          <td id="file-pkill-LC1" class="blob-code blob-code-inner js-file-line">#!/bin/sh</td>
        </tr>
        <tr>
          <td id="file-pkill-L2" class="blob-num js-line-number js-blob-rnum" data-line-number="2"></td>
          <td id="file-pkill-LC2" class="blob-code blob-code-inner js-file-line">
</td>
        </tr>
        <tr>
          <td id="file-pkill-L3" class="blob-num js-line-number js-blob-rnum" data-line-number="3"></td>
          <td id="file-pkill-LC3" class="blob-code blob-code-inner js-file-line"># pkill</td>
        </tr>
        <tr>
          <td id="file-pkill-L4" class="blob-num js-line-number js-blob-rnum" data-line-number="4"></td>
          <td id="file-pkill-LC4" class="blob-code blob-code-inner js-file-line"># be VERY careful with parameter $1</td>
        </tr>
        <tr>
          <td id="file-pkill-L5" class="blob-num js-line-number js-blob-rnum" data-line-number="5"></td>
          <td id="file-pkill-LC5" class="blob-code blob-code-inner js-file-line">case $1 in</td>
        </tr>
        <tr>
          <td id="file-pkill-L6" class="blob-num js-line-number js-blob-rnum" data-line-number="6"></td>
          <td id="file-pkill-LC6" class="blob-code blob-code-inner js-file-line">&#39;&#39; )</td>
        </tr>
        <tr>
          <td id="file-pkill-L7" class="blob-num js-line-number js-blob-rnum" data-line-number="7"></td>
          <td id="file-pkill-LC7" class="blob-code blob-code-inner js-file-line">  cat &quot;$0&quot;</td>
        </tr>
        <tr>
          <td id="file-pkill-L8" class="blob-num js-line-number js-blob-rnum" data-line-number="8"></td>
          <td id="file-pkill-LC8" class="blob-code blob-code-inner js-file-line">  ;;</td>
        </tr>
        <tr>
          <td id="file-pkill-L9" class="blob-num js-line-number js-blob-rnum" data-line-number="9"></td>
          <td id="file-pkill-LC9" class="blob-code blob-code-inner js-file-line">* )</td>
        </tr>
        <tr>
          <td id="file-pkill-L10" class="blob-num js-line-number js-blob-rnum" data-line-number="10"></td>
          <td id="file-pkill-LC10" class="blob-code blob-code-inner js-file-line">  for pid in $( ps -aW | grep -i $1 | awk &#39;{ print $4 }&#39; );</td>
        </tr>
        <tr>
          <td id="file-pkill-L11" class="blob-num js-line-number js-blob-rnum" data-line-number="11"></td>
          <td id="file-pkill-LC11" class="blob-code blob-code-inner js-file-line">    do tskill $pid /V;</td>
        </tr>
        <tr>
          <td id="file-pkill-L12" class="blob-num js-line-number js-blob-rnum" data-line-number="12"></td>
          <td id="file-pkill-LC12" class="blob-code blob-code-inner js-file-line">  done</td>
        </tr>
        <tr>
          <td id="file-pkill-L13" class="blob-num js-line-number js-blob-rnum" data-line-number="13"></td>
          <td id="file-pkill-LC13" class="blob-code blob-code-inner js-file-line">  ;;</td>
        </tr>
        <tr>
          <td id="file-pkill-L14" class="blob-num js-line-number js-blob-rnum" data-line-number="14"></td>
          <td id="file-pkill-LC14" class="blob-code blob-code-inner js-file-line">esac</td>
        </tr>
  </table>
</div>


    </div>

  </div>

</div>

      </div>
      <div class="gist-meta">
        <a href="https://gist.github.com/thameera/6987212/raw/b94eb33be191f747afd0416224b21b788dea16c1/pkill" style="float:right" class="Link--inTextBlock">view raw</a>
        <a href="https://gist.github.com/thameera/6987212#file-pkill" class="Link--inTextBlock">
          pkill
        </a>
        hosted with &#10084; by <a class="Link--inTextBlock" href="https://github.com">GitHub</a>
      </div>
    </div>
</div>

<p><code>tskill</code> is actually a <code>kill</code> equivalent in the Windows world.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://ah.thameera.com/pkill-script-for-cygwin/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">427</post-id>	</item>
		<item>
		<title>Fixing bad sectors</title>
		<link>https://ah.thameera.com/fixing-bad-sectors/</link>
					<comments>https://ah.thameera.com/fixing-bad-sectors/#respond</comments>
		
		<dc:creator><![CDATA[thameera]]></dc:creator>
		<pubDate>Sat, 10 Nov 2012 13:34:50 +0000</pubDate>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[chkdsk]]></category>
		<category><![CDATA[hard disk]]></category>
		<category><![CDATA[windows]]></category>
		<guid isPermaLink="false">http://noisythameera.wordpress.com/?p=231</guid>

					<description><![CDATA[Something went wrong and my work laptop running Windows 7 turned off without suspending when the lid was closed. Turned it back on to find that everything&#8217;s darn slow and the hard disk light is lit all the time. Shut it down and restarted a several times with the same result. Booting with a CD [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>Something went wrong and my work laptop running Windows 7 turned off without suspending when the lid was closed. Turned it back on to find that everything&#8217;s darn slow and the hard disk light is lit all the time. Shut it down and restarted a several times with the same result. Booting with a CD or a USB wasn&#8217;t an option since this is a locked machine. Some googling suggested that <a href="http://en.wikipedia.org/wiki/CHKDSK" target="_blank">chkdsk</a> would be a good idea. </p>
<p>So I typed in <em>cmd</em> at the start menu, right clicked and chose Run As Administrator. Even though I don&#8217;t have admin access, it&#8217;s possible to run an app &#8216;as administrator&#8217;. Then typed in <em>chkdsk /r</em> to the prompt and pressed Enter. The /r flag would let chkdsk locate bad sectors and try to recover readable information. It wasn&#8217;t able to run the scan then and there coz I&#8217;d booted the OS with the same hard disk, but offered to schedule the check for the next time the system restarts. Restart the machine and chkdsk would run for several hours depending on the hard disk size/speed. It took nearly 4 hours in my case and several bad sectors were recovered. After this Windows would boot without a hitch. </p>
]]></content:encoded>
					
					<wfw:commentRss>https://ah.thameera.com/fixing-bad-sectors/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">231</post-id>	</item>
		<item>
		<title>Skitch for Windows is here</title>
		<link>https://ah.thameera.com/skitch-for-windows-is-here/</link>
					<comments>https://ah.thameera.com/skitch-for-windows-is-here/#comments</comments>
		
		<dc:creator><![CDATA[thameera]]></dc:creator>
		<pubDate>Sat, 27 Oct 2012 06:20:06 +0000</pubDate>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[evernote]]></category>
		<category><![CDATA[skitch]]></category>
		<category><![CDATA[windows]]></category>
		<guid isPermaLink="false">http://noisythameera.wordpress.com/?p=181</guid>

					<description><![CDATA[Evernote has finally released Skitch for Windows. It comes in two flavors: Skitch for Windows Desktop and Skitch for Windows 8. I tried out the former and it&#8217;s just amazing. Ability to pixelate and highlight the captures comes really handy if you&#8217;re into software development or design (or whatever you do with the computer). And [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>Evernote has <a href="http://blog.evernote.com/2012/10/25/skitch-for-windows-desktop-and-skitch-for-windows-8-are-here/" target="_blank">finally released</a> Skitch for Windows. It comes in two flavors: <em>Skitch for Windows Desktop</em> and <em>Skitch for Windows 8</em>. I tried out the former and it&#8217;s just amazing. Ability to pixelate and highlight the captures comes really handy if you&#8217;re into software development or design (or whatever you do with the computer). And the best thing is that it integrates with Evernote, so you can have all the captures and annotations in one place. <a href="http://evernote.com/skitch/" target="_blank">Skitch</a> was available for Mac and iOS for a long time and the Android version came some time back. Features and some cool uses of the new Windows client can be found in their <a href="http://blog.evernote.com/2012/10/25/skitch-for-windows-desktop-and-skitch-for-windows-8-are-here/" target="_blank">blog post</a>. </p>
<p>The official Windows client has also been <a href="http://blog.evernote.com/2012/10/25/evernote-for-windows-desktop-updated-with-skitch-integration-and-improved-sharing/" target="_blank">updated</a> with Skitch integration. </p>
]]></content:encoded>
					
					<wfw:commentRss>https://ah.thameera.com/skitch-for-windows-is-here/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">181</post-id>	</item>
		<item>
		<title>Chocolatey brings package management to Windows</title>
		<link>https://ah.thameera.com/chocolatey-brings-package-management-to-windows/</link>
					<comments>https://ah.thameera.com/chocolatey-brings-package-management-to-windows/#respond</comments>
		
		<dc:creator><![CDATA[thameera]]></dc:creator>
		<pubDate>Thu, 13 Sep 2012 16:15:59 +0000</pubDate>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[chocolatey]]></category>
		<category><![CDATA[terminal]]></category>
		<category><![CDATA[windows]]></category>
		<guid isPermaLink="false">http://noisythameera.wordpress.com/?p=90</guid>

					<description><![CDATA[Chocolatey is the topic in the town these days. When it comes to installing software, Windows is far behind most Linux distributions. Chocolatey is a package manager like apt-get on Debian and Ubuntu. Install it by entering the command @powershell -NoProfile -ExecutionPolicy unrestricted -Command &#8220;iex ((new-object net.webclient).DownloadString(&#8216;http://bit.ly/psChocInstall&#8217;))&#8221; &#38;&#38; SET PATH=%PATH%;%systemdrive%chocolateybin (yes, in a Windows command [&#8230;]]]></description>
										<content:encoded><![CDATA[<p><a href="http://chocolatey.org/" target="_blank">Chocolatey</a> is the topic in the town these days. When it comes to installing software, Windows is far behind most Linux distributions. Chocolatey is a package manager like <em>apt-get</em> on Debian and Ubuntu. Install it by entering the command</p>
<blockquote><p>@powershell -NoProfile -ExecutionPolicy unrestricted -Command &#8220;iex ((new-object net.webclient).DownloadString(&#8216;http://bit.ly/psChocInstall&#8217;))&#8221; &amp;&amp; SET PATH=%PATH%;%systemdrive%chocolateybin </p></blockquote>
<p>(yes, in a Windows command prompt) and you&#8217;re good to go. The list of available packages can be found <a href="http://chocolatey.org/packages" target="_blank">here</a>. There&#8217;s no huge list of apps like in <em>apt-get</em> as yet though. If you want to install, say, <a href="http://www.ultrapico.com/Expresso.htm" target="_blank">expresso</a>, just type </p>
<pre>cinst expresso</pre>
<p>in the command prompt. It&#8217;s said Chocolatey works in Cygwin as well, but I&#8217;m yet to try that out.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://ah.thameera.com/chocolatey-brings-package-management-to-windows/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">90</post-id>	</item>
		<item>
		<title>Chrome like tabs for Windows Explorer</title>
		<link>https://ah.thameera.com/chrome-like-tabs-for-windows-explorer/</link>
					<comments>https://ah.thameera.com/chrome-like-tabs-for-windows-explorer/#respond</comments>
		
		<dc:creator><![CDATA[thameera]]></dc:creator>
		<pubDate>Tue, 28 Aug 2012 16:53:21 +0000</pubDate>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[windows]]></category>
		<category><![CDATA[windows explorer]]></category>
		<guid isPermaLink="false">http://noisythameera.wordpress.com/?p=31</guid>

					<description><![CDATA[In case you didn&#8217;t know, Windows Explorer sucks. There are about a dozen alternatives available, but most aren&#8217;t free. I&#8217;ve used Cubic Explorer and Nomad.NET in the past, both of which are free and open source, but didn&#8217;t stay with any. Lifehacker reported today about Clover, which is in fact an extension to Windows Explorer [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>In case you didn&#8217;t know, Windows Explorer sucks. There are about a dozen alternatives available, but most aren&#8217;t free. I&#8217;ve used <a href="http://www.cubicreality.com/" target="_blank">Cubic Explorer</a> and <a href="http://www.nomad-net.info/" target="_blank">Nomad.NET</a> in the past, both of which are free and open source, but didn&#8217;t stay with any. Lifehacker <a href="http://lifehacker.com/5938342/clover-brings-chrome+style-tabs-to-windows-explorer?post=52233233" target="_blank">reported today</a> about <a href="http://ejie.me/clover-wings-for-explorer" target="_blank">Clover</a>, which is in fact an extension to Windows Explorer which brings a Chrome-style tabbed interface. Click on a tab and you get a menu just like the one you get in Chrome.</p>
<p>No more half-a-dozen Windows Explorers cluttering the task bar.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://ah.thameera.com/chrome-like-tabs-for-windows-explorer/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">31</post-id>	</item>
	</channel>
</rss>
