tag:blogger.com,1999:blog-3167957797832888242024-03-13T16:33:27.231-07:00Merrick Chaffer's BlogMerrick Chaffer's personal blog site.Merrick Chafferhttp://www.blogger.com/profile/03930108672164777783noreply@blogger.comBlogger255125tag:blogger.com,1999:blog-316795779783288824.post-39180059975339580942022-04-22T11:30:00.007-07:002022-04-25T09:35:56.360-07:00How to find the last interactive logons in Windows using PowerShell<p>Use the following powershell script to find the last users to login to a box since a given date, in this case the 21st April 2022 at 12pm until midnight on the 22nd April 2022 :-</p><p><span style="font-family: courier;"> </span><span style="font-family: courier;"> Get-WinEvent -FilterHashtable @{logname='Security'; id=4624; StartTime="2022-04-21 12:00"; EndTime="2022-04-22 00:00"} -MaxEvents 5000 | Where-Object {($_.Message -like '*Logon Type:<span style="white-space: pre;"> </span>10*')} | select -Property @{Name = 'Info'; Expression = {$_.Message.SubString($_.Message.LastIndexOf("Network Account Name:") -195,300)}},Id, TimeCreated, Message -First 10 | fl Id, TimeCreated, Info</span></p><p><br /></p><p><span style="font-family: inherit;">Further to this, to find all the times a particular user has logged on to a machine, use the following query</span></p><p><span style="font-family: courier;"><br /></span></p><p><span style="font-family: courier;">Get-WinEvent -LogName 'Security' -FilterXPath 'Event[System[EventID=4624] and EventData[Data[@Name="TargetUserName"]="justusernamenodomain"]]' -MaxEvents 10 | fl id, timecreated</span></p><p><span style="font-family: courier;"><br /></span></p><p><span style="font-family: inherit;">Alternatively you can edit the custom filter in the event log to look like this</span></p><p><span style="font-family: courier;"><br /></span></p><p><span style="font-family: courier;"><QueryList></span></p><p><span style="font-family: courier;"> <Query Id="0" Path="Security"></span></p><p><span style="font-family: courier;"> <Select Path="Security">*[System[(EventID=4624) and TimeCreated[@SystemTime&gt;='2022-04-25T15:30:20.000Z' and @SystemTime&lt;='2022-04-25T16:30:20.999Z']]]</span></p><p><span style="font-family: courier;">and *[EventData[Data[@Name="LogonType"]=10]]</span></p><p><span style="font-family: courier;"></Select></span></p><p><span style="font-family: courier;"> </Query></span></p><p><span style="font-family: courier;"></QueryList></span></p><p><br /></p><div><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjTTXHn_Lr7hKII0k_bUg6pADFEeytFmNi62r4SITlm6loE37iswl1FLpOgaIojRZLagDifT_OjN8NmiJ63ojLA6ZjKpq_O0G3xpzQio3GU_C6r967G3pxSlCEIgFiHuVAlstLIHLRMynaPf3jqd_A9BKNwF3_UhlPr_eAU92oEAOXZd3yFsinmVcRy/s1602/eventlog.jpg" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" data-original-height="782" data-original-width="1602" height="271" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjTTXHn_Lr7hKII0k_bUg6pADFEeytFmNi62r4SITlm6loE37iswl1FLpOgaIojRZLagDifT_OjN8NmiJ63ojLA6ZjKpq_O0G3xpzQio3GU_C6r967G3pxSlCEIgFiHuVAlstLIHLRMynaPf3jqd_A9BKNwF3_UhlPr_eAU92oEAOXZd3yFsinmVcRy/w556-h271/eventlog.jpg" width="556" /></a></div><br /><span style="font-family: courier;"><br /></span></div>Merrick Chafferhttp://www.blogger.com/profile/03930108672164777783noreply@blogger.com0tag:blogger.com,1999:blog-316795779783288824.post-36238727116343116352021-09-02T07:05:00.007-07:002021-09-02T07:17:33.034-07:00How to clear Windows run auto complete / auto suggest history in Windows 10<p></p><div class="separator" style="clear: both; text-align: center;"><a href="https://1.bp.blogspot.com/-of5XSSiUSQo/YTDcu3di3YI/AAAAAAAAGsQ/49QOX44dSOMjdPxpN2ra4BZfOJhHIBBlgCLcBGAsYHQ/s399/clear.png" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em; text-align: left;"><img border="0" data-original-height="206" data-original-width="399" height="165" src="https://1.bp.blogspot.com/-of5XSSiUSQo/YTDcu3di3YI/AAAAAAAAGsQ/49QOX44dSOMjdPxpN2ra4BZfOJhHIBBlgCLcBGAsYHQ/s320/clear.png" width="320" /></a></div><br /><span style="font-family: inherit;"><br /></span><p></p><p><span style="font-family: inherit;"> </span></p><p><span style="font-family: inherit;"><span face="-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"" style="font-size: 19.2px;"><br /></span></span></p><p><span style="font-family: inherit;"><span face="-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"" style="font-size: 19.2px;"><br /></span></span></p><p><span face="-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"" style="font-family: inherit; font-size: 19.2px;"><br /></span></p><p><span face="-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"" style="font-family: inherit; font-size: 19.2px;"><br /></span></p><p><span face="-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"" style="font-family: inherit; font-size: 19.2px;">Clear the entries in</span><span face="-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"" style="font-family: inherit; font-size: 19.2px;"> </span><code style="border-radius: var(--nb-code-border-radius); box-sizing: border-box; color: var(--nb-color-emphasis-900); font-family: var(--nb-font-family-monospace); font-size: var(--nb-code-font-size) !important; padding: var(--nb-code-padding-vertical) var(--nb-code-padding-horizontal);">HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\RunMRU</code></p><p style="box-sizing: border-box; font-size: 19.2px;"><span style="font-family: inherit;">Edit: AutoComplete in the Run box is set in (of course) Internet Explorer's settings (Content Tab / AutoComplete): there's a button to Delete Autocomplete History. If that doesn't work, you could try turning AutoComplete off, rebooting, and turning it on again.</span></p><p style="box-sizing: border-box; font-size: 19.2px;"><br /></p><div class="separator" style="clear: both; text-align: center;"><a href="https://1.bp.blogspot.com/-G4lmzs3eh3s/YTDbREaMK0I/AAAAAAAAGsI/xIhTM4BGrnsGd8X0cJvSQChu4P9bxRxrwCLcBGAsYHQ/s1107/settings.png" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" data-original-height="532" data-original-width="1107" height="193" src="https://1.bp.blogspot.com/-G4lmzs3eh3s/YTDbREaMK0I/AAAAAAAAGsI/xIhTM4BGrnsGd8X0cJvSQChu4P9bxRxrwCLcBGAsYHQ/w400-h193/settings.png" width="400" /></a></div><br /><p style="box-sizing: border-box; font-size: 19.2px;"><br /></p><p style="box-sizing: border-box; font-size: 19.2px;"><span style="font-family: inherit;">Thanks to this link for the tip...</span></p><p style="box-sizing: border-box; color: #1c1e21; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; font-size: 19.2px;"><a href="https://newbedev.com/clear-windows-run-box-cache">Clear Windows "Run" box cache | Newbedev</a></p><p style="box-sizing: border-box; color: #1c1e21; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; font-size: 19.2px;"><br /></p><div><br /></div>Merrick Chafferhttp://www.blogger.com/profile/03930108672164777783noreply@blogger.com0tag:blogger.com,1999:blog-316795779783288824.post-4680569967576368702020-09-10T06:51:00.006-07:002020-09-10T06:51:29.058-07:00Ctrl+Shift+WinKey+B in Windows 10<p>Ctrl+Shift+WinKey+B in Windows 10</p><p> This resets the graphics display on your laptop and can sort out lagging issues as well</p><p>"Since yesterday, I've had applications only partially drawing at random times. No window chrome showing up on most of them. For browsers, going full screen and back helped. Found this gem of a shortcut, though, which seems to have fixed my issue: <a href="https://superuser.com/questions/1127463/what-does-ctrlwinshiftb-do-in-windows" target="_blank">https://superuser.com/questions/1127463/what-does-ctrlwinshiftb-do-in-windows</a>"</p>Merrick Chafferhttp://www.blogger.com/profile/03930108672164777783noreply@blogger.com0tag:blogger.com,1999:blog-316795779783288824.post-82879346833947336802019-11-19T08:37:00.001-08:002019-11-19T08:37:03.870-08:00How to Fix a Humax HDR FOX T2 PVR that will not stay powered on<div dir="ltr" style="text-align: left;" trbidi="on">
<b>Issue</b><br />
When you attempt to power on your Humax the standby orange light goes blue for a moment, and then powers off automatically again.<br />
<br />
<b>Cause</b><br />
The reason for this could be a bad boot sector on the hard disk.<br />
<br />
<b>Resolution</b><br />
To fix this, remove the hard disk cable that connects to the mother board, power the machine on, then whilst it is showing your channel on the display, connect the hard disk cable back onto the motherboard. Then ftp to the machine using humaxftp / 0000 as the default username and password, and change directory (cd) to "my videos" and then list the contents of the directory using a dir command. After doing this you should be able to put the machine back into standby, and wait until you hear the hard disk spin down and stop, and then switch off at the wall and the back on again.<br />
<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://1.bp.blogspot.com/-qQ9hlNLCoEo/XdQaIGZ7ZFI/AAAAAAAAGXo/mKY1oIhMMO4L2_mGwjcySCj-LwieWog9gCLcBGAsYHQ/s1600/humax.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="576" data-original-width="1024" height="180" src="https://1.bp.blogspot.com/-qQ9hlNLCoEo/XdQaIGZ7ZFI/AAAAAAAAGXo/mKY1oIhMMO4L2_mGwjcySCj-LwieWog9gCLcBGAsYHQ/s320/humax.png" width="320" /></a></div>
<br />
<br />
<br />
Note: There also appears to be a telnet command line interface to run disk repairs on the Humax but I wasn't able to get this working myself, and in the end did not need to do this.</div>
Merrick Chafferhttp://www.blogger.com/profile/03930108672164777783noreply@blogger.com0tag:blogger.com,1999:blog-316795779783288824.post-72509152683235214322019-01-22T02:19:00.001-08:002019-01-22T02:19:36.521-08:00How to retrieve a list of programs installed on Windows using PowerShell<p>Use the following powershell command </p><p><font face="Courier New">Get-ItemProperty HKLM:\Software\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\* | Select-Object DisplayName, DisplayVersion, Publisher, InstallDate | Sort-object -Property DisplayName | Format-Table –AutoSize | Out-File \temp\myinstalls.txt</font></p>Merrick Chafferhttp://www.blogger.com/profile/03930108672164777783noreply@blogger.com0tag:blogger.com,1999:blog-316795779783288824.post-31289731346017453612018-10-15T04:28:00.001-07:002019-07-15T02:33:38.887-07:00Thames water collapsed drain cover<div dir="ltr" style="text-align: left;" trbidi="on">
15/10/2018<br />
After fixing our sewage drain cover, there appears to be a mini sinkhole occurring around our Thames Water meter cover. We’re wondering if this is being caused by a leak underground perhaps<br />
Some images are like this, and the exact location is here <a href="https://goo.gl/maps/N9rACAM6qdQ2" title="https://goo.gl/maps/N9rACAM6qdQ2">https://goo.gl/maps/N9rACAM6qdQ2</a><br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://1.bp.blogspot.com/-KTBa2q-_Olg/W8R7staviwI/AAAAAAAAGN4/C-RNLs30pAYHSJm9EqNWIKoCOc3iw78RACLcBGAs/s1600/drain%2Bcover%2B2.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="1600" data-original-width="900" height="320" src="https://1.bp.blogspot.com/-KTBa2q-_Olg/W8R7staviwI/AAAAAAAAGN4/C-RNLs30pAYHSJm9EqNWIKoCOc3iw78RACLcBGAs/s320/drain%2Bcover%2B2.jpg" width="179" /></a><a href="https://3.bp.blogspot.com/-RBUnKfsUMk0/W8R52InrYcI/AAAAAAAAGNs/EQkAYs3_fG0YyWB7C7C2yNmYZh7n3fl-ACLcBGAs/s1600/drain%2Bcover.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="1600" data-original-width="900" height="320" src="https://3.bp.blogspot.com/-RBUnKfsUMk0/W8R52InrYcI/AAAAAAAAGNs/EQkAYs3_fG0YyWB7C7C2yNmYZh7n3fl-ACLcBGAs/s320/drain%2Bcover.jpg" width="179" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
16/10/20185<br />
Team 1 have been out to dig up the road today. Apparently this will take 3 teams, 1 to dig, 1 to replace and 1 to fill in and make good.<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://4.bp.blogspot.com/-JXrFVV_4SFk/W8Xlvh1m8iI/AAAAAAAAGOE/CaUEgl_bbtUhtCuLVdUNHBhfpaD2Q2RRQCLcBGAs/s1600/drain%2Bcover%2B3.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="480" data-original-width="640" height="240" src="https://4.bp.blogspot.com/-JXrFVV_4SFk/W8Xlvh1m8iI/AAAAAAAAGOE/CaUEgl_bbtUhtCuLVdUNHBhfpaD2Q2RRQCLcBGAs/s320/drain%2Bcover%2B3.jpg" width="320" /></a></div>
<div class="MsoNormal">
<br />
<div class="MsoNormal">
<div class="MsoNormal">
<span style="font-family: "arial" , sans-serif; font-size: 10pt;">19/11/2018 12:45: Spoke to Alison, customer assurance team, 08000093960 (opt 1 wait 3 mins). Told them about collapsing again. Reinstatement team will need to be contacted and she'll call me back when she knows more. Original job reference was 31172996 for this work.<o:p></o:p></span></div>
<div class="MsoNormal">
<br /></div>
22/11/2018 13:45: Spoke to Eyvonne, checking Alison's emails to see if anything back from the reinstatement team yet. Said they've had a message back and are sending someone out today or tomorrow.<o:p></o:p></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<span lang="EN-US"><b>Subject:</b> RE: Problem Report: Collapsed drain cover (Reference: 635395)<o:p></o:p></span></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
10/07/2019 11:27: Spoke to Declan , <span style="font-family: "arial" , sans-serif; font-size: 10.0pt;">08000093960 (opt 1 wait 3 mins) </span>about <span style="font-family: "arial" , sans-serif; font-size: 10.0pt;">31172996 needing doing
again. 15<sup>th</sup> Oct 2018. <o:p></o:p></span><br />
<span style="font-family: "arial" , sans-serif; font-size: 10.0pt;">Top two pictures below are from Jan 2019, when we started to notice it collapse again, and bottom pic is from June 2019 when as you can see the surrounding tiles are collapsing too </span></div>
<div class="MsoNormal">
<div class="separator" style="clear: both; text-align: center;">
<a href="https://1.bp.blogspot.com/-cBqBvgr3sK8/XSXBvJ1dJZI/AAAAAAAAGUM/TtL0ktMHx0ktNAgxfwna4oapem3lRTysgCLcBGAs/s1600/image.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="742" data-original-width="673" height="640" src="https://1.bp.blogspot.com/-cBqBvgr3sK8/XSXBvJ1dJZI/AAAAAAAAGUM/TtL0ktMHx0ktNAgxfwna4oapem3lRTysgCLcBGAs/s640/image.jpg" width="579" /></a></div>
Latest image taken 10 July 2019<br />
<o:p></o:p></div>
<div class="MsoNormal">
<div class="separator" style="clear: both; text-align: center;">
<a href="https://1.bp.blogspot.com/-YJ_pQcwsIIw/XSXGGHKg-kI/AAAAAAAAGUY/GHBvlZRMggE_La0mZTmrd41oX1yb6X8QwCLcBGAs/s1600/image1.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="1600" data-original-width="900" height="640" src="https://1.bp.blogspot.com/-YJ_pQcwsIIw/XSXGGHKg-kI/AAAAAAAAGUY/GHBvlZRMggE_La0mZTmrd41oX1yb6X8QwCLcBGAs/s640/image1.jpg" width="358" /></a></div>
<br />
10/07/2019 12:05: Job Ref raised for this afternoon : <b>101 770 3623</b> - Emergency damage safety. Spoke to Tony 0800 316 9800.<br />
<br />
10/07/2019 12:08: Spoke to Chris Wright, he's raised job ref 31315539<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://1.bp.blogspot.com/-IzWG7N9tgUM/XSX_AknnDmI/AAAAAAAAGUk/wDl1MPgK4v0XjOg2fQRSic-UVTCCATGSQCLcBGAs/s1600/chriswright.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="1020" data-original-width="732" height="320" src="https://1.bp.blogspot.com/-IzWG7N9tgUM/XSX_AknnDmI/AAAAAAAAGUk/wDl1MPgK4v0XjOg2fQRSic-UVTCCATGSQCLcBGAs/s320/chriswright.jpg" width="229" /></a></div>
<br />
<br />
10/07/2019 15:58: Spoke to Leo, 08003169800, job ref 31315539, he's going to escalate it to priority as they've missed the SLA to come out and look at it in the 2 hours<br />
<br />
<div class="MsoNormal">
13/07/2019 10:31:53: Thames water seen coming to collect non-existent
barriers that should have been left to protect the wet cement.<o:p></o:p></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://1.bp.blogspot.com/-whKJIoO8Cws/XSxIYrbUkDI/AAAAAAAAGUw/JGIfjqmfh6A_X1qjfAsVaTE0Iof_vz1awCLcBGAs/s1600/20190713_095250.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="1600" data-original-width="900" height="640" src="https://1.bp.blogspot.com/-whKJIoO8Cws/XSxIYrbUkDI/AAAAAAAAGUw/JGIfjqmfh6A_X1qjfAsVaTE0Iof_vz1awCLcBGAs/s640/20190713_095250.jpg" width="360" /></a></div>
<div class="MsoNormal">
<br /></div>
<br />
<br /></div>
<br /></div>
Merrick Chafferhttp://www.blogger.com/profile/03930108672164777783noreply@blogger.com5tag:blogger.com,1999:blog-316795779783288824.post-48864406065830400912018-02-09T01:32:00.001-08:002018-02-09T01:33:11.172-08:00How to replace the watch battery in Logitech K750 solar power keyboard<p><br></p><ol><li>Buy this battery <a title="http://www.watchbattery.co.uk/shop/products/BB-ML2032.shtml" href="http://www.watchbattery.co.uk/shop/products/BB-ML2032.shtml">http://www.watchbattery.co.uk/shop/products/BB-ML2032.shtml</a></li><li>Open the battery cover on the back of the keyboard, you’ll need a small screw driver to get the cover out</li><li>Take out the old one and fit the new one</li><li>Leave the keyboard in the light somewhere to fully charge up the new battery</li></ol><p>Watch this video if you want to see this done…</p><p><a title="https://www.youtube.com/watch?v=sKZXyUjytmE" href="https://www.youtube.com/watch?v=sKZXyUjytmE">https://www.youtube.com/watch?v=sKZXyUjytmE</a></p><p><a href="https://www.youtube.com/watch?v=sKZXyUjytmE"><img width="244" height="139" title="image" style="display: inline; background-image: none;" alt="image" src="https://lh3.googleusercontent.com/-t83_666xmxI/Wn1q1p4GipI/AAAAAAAAGHI/EkjThXNZoyI8Y1w6B6BqtYFhDWiwOoJEwCHMYCw/image%255B3%255D?imgmax=800" border="0"></a></p>Merrick Chafferhttp://www.blogger.com/profile/03930108672164777783noreply@blogger.com3tag:blogger.com,1999:blog-316795779783288824.post-66284446047993746922018-01-05T08:39:00.001-08:002018-03-26T03:35:53.438-07:00How to fix blurry images in Google Chrome<div dir="ltr" style="text-align: left;" trbidi="on">
<strong>Problem</strong><br />
When browsing sites with thumbnail images, those images appear blurred in Chrome, but not in other browsers such as Internet Explorer<br />
<strong>Resolution</strong><br />
Uncheck the use hardware acceleration option in chrome settings.<br />
<ol>
<li>Open Chrome</li>
<li>Navigate to <a href="chrome://settings/">chrome://settings</a></li>
<li>Scroll to the bottom, and expand the Advanced options</li>
<li>Near the bottom, uncheck the <strong>Use hardware acceleration when available </strong>option, and then click the RELAUNCH link that appears after you change this option.</li>
</ol>
<a href="https://lh3.googleusercontent.com/-_WhjjNEN7Ig/Wk-qTXJkT8I/AAAAAAAAGGA/HEMw6D4agAU2BEFrhksfbZU3mUQxUjVWgCHMYCw/s1600-h/image%255B2%255D"><img alt="image" border="0" height="98" src="https://lh3.googleusercontent.com/-nabg20rttSc/Wk-qUCRe1zI/AAAAAAAAGGE/UUlzqq-pttgL1jQ8xnNXBCnQ1r_wqiMvgCHMYCw/image_thumb?imgmax=800" style="background-image: none; display: inline; margin: 0px;" title="image" width="244" /></a><br />
<br />
<strong>Problem 2</strong><br />
When browsing google maps, image and text appears blurred in Chrome, but not in other browsers such as Internet Explorer<br />
<strong>Resolution</strong><br />
<ol>
<li>Open Chrome</li>
<li>Navigate to http://maps.google.co.uk/maps </li>
<li>Press F12 to open Developer tools </li>
<li>Click on the Application Tab, and then select Clear Storage</li>
<li>Check Local and session storage, Cookies, Cache Storage and Application Cache</li>
<li>Click <b>Clear site data</b></li>
<li>Relaunch Google Chrome</li>
</ol>
<div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://4.bp.blogspot.com/-4Jfk1PDNyJo/WrjM_esTEZI/AAAAAAAAGJk/NoojQYI_PW0kgviz1b0cO_oa0LJC6yjNACLcBGAs/s1600/blurry2.jpg" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" data-original-height="739" data-original-width="945" height="250" src="https://4.bp.blogspot.com/-4Jfk1PDNyJo/WrjM_esTEZI/AAAAAAAAGJk/NoojQYI_PW0kgviz1b0cO_oa0LJC6yjNACLcBGAs/s320/blurry2.jpg" width="320" /></a></div>
<br /></div>
</div>
Merrick Chafferhttp://www.blogger.com/profile/03930108672164777783noreply@blogger.com0tag:blogger.com,1999:blog-316795779783288824.post-78927767622213839992017-10-14T08:55:00.002-07:002017-10-14T08:55:52.304-07:00How to by pass the Jaguary X-Type enter security pin screen after changing battery<div dir="ltr" style="text-align: left;" trbidi="on">
<span style="background-color: white; color: #111111; font-family: Roboto, Arial, sans-serif; font-size: 14px; white-space: pre-wrap;">How to bypass security code on Jaguar X-Type touchscreen Satellite Navigational units.
</span><br />
<div>
<span style="background-color: white; color: #111111; font-family: Roboto, Arial, sans-serif; font-size: 14px; white-space: pre-wrap;"><br /></span></div>
<div>
<span style="background-color: white; color: #111111; font-family: Roboto, Arial, sans-serif; font-size: 14px; white-space: pre-wrap;"><br /></span></div>
Just hold the skip track, AMEM and PTY buttons together...<br />
<br />
<br />
<div class="separator" style="clear: both; text-align: left;">
<a href="https://1.bp.blogspot.com/-YyTKfWbmDVg/WeIzUuxNV6I/AAAAAAAAGBw/erWCjjwO50E43PSnwyzeYy1T6r_4-VCBwCLcBGAs/s1600/pic.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="484" data-original-width="856" height="180" src="https://1.bp.blogspot.com/-YyTKfWbmDVg/WeIzUuxNV6I/AAAAAAAAGBw/erWCjjwO50E43PSnwyzeYy1T6r_4-VCBwCLcBGAs/s320/pic.jpg" width="320" /></a></div>
<br />
<a href="https://www.youtube.com/watch?v=MD2nxscRitw">https://www.youtube.com/watch?v=MD2nxscRitw</a></div>
Merrick Chafferhttp://www.blogger.com/profile/03930108672164777783noreply@blogger.com0tag:blogger.com,1999:blog-316795779783288824.post-6820026077326396592017-09-15T04:29:00.001-07:002017-09-15T04:29:16.287-07:00Inline Images not showing for Work Items in Visual Studio with 401 unauthorized error<p>To fix this, right click the broken image link from the Visual studio work item description pane, then copy the link from the properties dialog (it looks like a label, but you can select all on it by right mouse clicking).</p><p><a href="https://lh3.googleusercontent.com/-2cTdo6EaAq0/Wbu5idt_RdI/AAAAAAAAGBU/9D0OqI69SfETxFQ_n6XRZxbFwE1UrumawCHMYCw/s1600-h/image%255B2%255D"><img width="199" height="244" title="image" style="margin: 0px; display: inline; background-image: none;" alt="image" src="https://lh3.googleusercontent.com/-aVBczsl-NCM/Wbu5i4jUyRI/AAAAAAAAGBY/Nv5CR7AUeDcj8nh5ii0j2yA7K2DDilEHACHMYCw/image_thumb?imgmax=800" border="0"></a></p><p>Then simply copy and paste that into Internet Explorer bar, and when prompted enter your credentials.</p><p>Next, back in Visual Studio, just click the refresh work item button on the header of the work item window, and do this once for each in line image in the description.</p>Merrick Chafferhttp://www.blogger.com/profile/03930108672164777783noreply@blogger.com0tag:blogger.com,1999:blog-316795779783288824.post-30363413968465729852017-08-31T04:08:00.001-07:002017-08-31T04:08:14.558-07:00How to fix battery drain issue on Samsung Galaxy S5 G900F<p>DO NOT DO FACTORY RESET, just wipe cache partitions.</p><p>Turn off the device.<br>
Press and hold the following three buttons at the same time: Volume Up key, Home key, and Power key.<br>
When the phone vibrates, release the Power key but continue to press and hold the Volume Up key and the Home key.<br>
When the Android System Recovery screen appears, release the Volume Up and Home keys.<br>
Press the Volume Down key to highlight wipe cache partition.<br>
Press the Power key to select.<br>
When the wipe cache partition is complete, Reboot system now is highlighted.<br>
Press the Power key to restart the device.<br></p>
<p><br></p><p>Thanks to <a title="https://thedroidguy.com/2017/01/solutions-for-galaxy-s5-battery-drain-issue-1049822" href="https://thedroidguy.com/2017/01/solutions-for-galaxy-s5-battery-drain-issue-1049822">https://thedroidguy.com/2017/01/solutions-for-galaxy-s5-battery-drain-issue-1049822</a></p>Merrick Chafferhttp://www.blogger.com/profile/03930108672164777783noreply@blogger.com0tag:blogger.com,1999:blog-316795779783288824.post-70913509739711852322017-06-26T08:42:00.003-07:002017-06-28T03:52:29.566-07:00Android mediaserver process killing battery life<div dir="ltr" style="text-align: left;" trbidi="on">
<br />
If this happens to you, then do the following<br />
<br />
<ol style="text-align: left;">
<li>Force stop on Settings, Applications, All, Media Storage.</li>
<li>Clear Cache and Clear Data, for the Media Storage application</li>
<li>Unmount SD card</li>
<li>Take out your sd card and put it in computer</li>
<li>Find the LOST.DIR folder and delete it from the card</li>
<li>Put the card back into the phone</li>
<li>Reboot the phone</li>
</ol>
<div>
Got this from here...</div>
<div>
<br /></div>
<div>
<h2 style="font-family: Arial, Helvetica, sans-serif; font-size: 19px; margin: 0px; padding: 0px;">
Solution 1. Clear media storage data</h2>
<div style="font-family: sans-serif, Georgia, Arial, serif; font-size: 14px; padding: 0px;">
The simplest solution is to clear media storage database and let it restart the process from scratch. Chances are this will fix most of the issues with Mediascanner/Mediaserver. Do the following, and it should help ease-out the pain:</div>
<div style="font-family: sans-serif, Georgia, Arial, serif; font-size: 14px; padding: 0px;">
Settings > applications > Media Storage > clear data, force stop and reboot.</div>
<h2 style="font-family: Arial, Helvetica, sans-serif; font-size: 19px; margin: 0px; padding: 0px;">
</h2>
<span style="font-family: sans-serif , "georgia" , "arial" , serif; font-size: 14px;"><br /><br />Read more: <a href="http://geeknizer.com/fix-android-media-server-scanner-sdcard-cpu-battery-drain/#ixzz4lIDijXJ7" style="color: #003399; text-decoration-line: none;">http://geeknizer.com/fix-android-media-server-scanner-sdcard-cpu-battery-drain/#ixzz4lIDijXJ7</a></span><br />
<br /></div>
<br /></div>
Merrick Chafferhttp://www.blogger.com/profile/03930108672164777783noreply@blogger.com0tag:blogger.com,1999:blog-316795779783288824.post-48218409419044215622017-06-07T02:59:00.002-07:002017-06-07T03:05:07.538-07:00How to get back to play.spotify.com old web player using Chrome<div dir="ltr" style="text-align: left;" trbidi="on">
<a href="https://www.reddit.com/r/spotify/comments/5xxf5g/how_to_get_old_spotify_web_player_ui_back_on/">https://www.reddit.com/r/spotify/comments/5xxf5g/how_to_get_old_spotify_web_player_ui_back_on/</a><br />
<br />
Add the chrome extension <a href="https://chrome.google.com/webstore/detail/user-agent-switcher-for-c/djflhoibgkdhkhhcedjiklpkjnoahfmg?utm_source=chrome-app-launcher-info-dialog">https://chrome.google.com/webstore/detail/user-agent-switcher-for-c/djflhoibgkdhkhhcedjiklpkjnoahfmg?utm_source=chrome-app-launcher-info-dialog</a><br />
<br />
Add a custom user agent called IE10 like this<br />
<br />
<b>Mozilla/5.0 (Windows NT 6.1; WOW64; Trident/7.0; rv:11.0) like Gecko</b><br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://2.bp.blogspot.com/-WB7lIEEC5Nw/WTfOUTVNWTI/AAAAAAAAF-w/d1Z8emo9O6Y9I_X1uDkNOMMnULgUCZqGwCLcB/s1600/playerconfig.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="457" data-original-width="1228" height="236" src="https://2.bp.blogspot.com/-WB7lIEEC5Nw/WTfOUTVNWTI/AAAAAAAAF-w/d1Z8emo9O6Y9I_X1uDkNOMMnULgUCZqGwCLcB/s640/playerconfig.png" width="640" /></a></div>
<br />
Then mark spotify.com to permanently spoof this for spotify.com domain<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://2.bp.blogspot.com/-arvTq-vKOF0/WTfNrceupeI/AAAAAAAAF-o/a2jPBgi4n_U88GFIba3iUUgb5UMTk2WOQCLcB/s1600/player1.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="549" data-original-width="1299" height="268" src="https://2.bp.blogspot.com/-arvTq-vKOF0/WTfNrceupeI/AAAAAAAAF-o/a2jPBgi4n_U88GFIba3iUUgb5UMTk2WOQCLcB/s640/player1.png" width="640" /></a></div>
<br />
And don't forget the old version supports hot keys too<br />
<br />
<a href="https://chrome.google.com/webstore/detail/spotify-web-player-hotkey/kimlaecdbfehihbiieeaeelbdkahophn?utm_source=chrome-app-launcher-info-dialog">https://chrome.google.com/webstore/detail/spotify-web-player-hotkey/kimlaecdbfehihbiieeaeelbdkahophn?utm_source=chrome-app-launcher-info-dialog</a><br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://4.bp.blogspot.com/-9nJl4NlxpVA/WTfPx6KXoYI/AAAAAAAAF-8/GeoA30X1O-41hpUz0_6aCpvoUFTCzh2wgCLcB/s1600/hotkeys.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="279" data-original-width="963" height="184" src="https://4.bp.blogspot.com/-9nJl4NlxpVA/WTfPx6KXoYI/AAAAAAAAF-8/GeoA30X1O-41hpUz0_6aCpvoUFTCzh2wgCLcB/s640/hotkeys.png" width="640" /></a></div>
<br /></div>
Merrick Chafferhttp://www.blogger.com/profile/03930108672164777783noreply@blogger.com0tag:blogger.com,1999:blog-316795779783288824.post-79659851251013351172017-06-02T01:59:00.001-07:002017-06-02T01:59:17.514-07:00Visual Studio Work Item Images broken<p>The case of the missing image…</p> <p><a href="https://lh3.googleusercontent.com/-7f8cwtleICI/WTEo4rR-WgI/AAAAAAAAF9Y/1OYPYUmfgcA6MxMo3jkmJaDOv5t_TRbCwCHM/s1600-h/image%255B2%255D"><img title="image" style="border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; border-left: 0px; display: inline; padding-right: 0px" border="0" alt="image" src="https://lh3.googleusercontent.com/-jzyEcH6D3o8/WTEo5IVbDkI/AAAAAAAAF9c/rPauB4dd8Ho_UJnE0AVtgJhoAmEDz2QfwCHM/image_thumb?imgmax=800" width="123" height="244"></a></p> <p>Turns out this was due to my old windows credentials being cached on the tfs server credentials cache.</p> <p>To fix this, I logged onto the tfs server directly via my admin account and updated the credentials there in the windows credentials manager.</p> <p>Also ran fiddler in the background and cleared the winnet cache as well</p> <p>Then it refresh a few times on the work item ticket back in visual studio, and hey presto they are all showing again.</p>Merrick Chafferhttp://www.blogger.com/profile/03930108672164777783noreply@blogger.com0tag:blogger.com,1999:blog-316795779783288824.post-85231394677686608622017-05-19T06:51:00.001-07:002017-05-19T06:51:52.998-07:00Megaflow draining instructions<p>If your megaflow overflow (d2) pipe starts leaking water then this is what you do…</p> <p><a href="https://lh3.googleusercontent.com/-oROpj1yk1v4/WR74dfYryNI/AAAAAAAAFQs/IVLm7Ho0kj0KAX2cGM4YfPz5vEm0-JJngCHM/s1600-h/image%255B2%255D"><img title="image" style="border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; border-left: 0px; display: inline; padding-right: 0px" border="0" alt="image" src="https://lh3.googleusercontent.com/--yilUElanRQ/WR74eL2OLvI/AAAAAAAAFQw/dehppXsU2OItN_dWp2sWJ6YMnyts9-HQwCHM/image_thumb?imgmax=800" width="192" height="244"></a></p>Merrick Chafferhttp://www.blogger.com/profile/03930108672164777783noreply@blogger.com0tag:blogger.com,1999:blog-316795779783288824.post-29825339291025447702017-05-19T06:46:00.001-07:002017-05-19T06:46:34.127-07:00Scanning Tesco receipts via Canon MG5751<ol> <li>Use Canon IJ Scan Utility (start, scan, top result)</li> <li>Choose Document, with settings 300dpi and png, filename tesco<br><a href="https://lh3.googleusercontent.com/-_zk1EtKOzhA/WR73MMb5kJI/AAAAAAAAFQM/In4yzLByJQMCswxztWvplUQW7bzjzCqhACHM/s1600-h/image%255B23%255D"><img title="image" style="border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; border-left: 0px; display: inline; padding-right: 0px" border="0" alt="image" src="https://lh3.googleusercontent.com/--32GbVYnSe8/WR73MoSmDCI/AAAAAAAAFQQ/5rDFrz87N84u8i5zq3yAX2ry5TVtaesugCHM/image_thumb%255B7%255D?imgmax=800" width="244" height="164"></a></li> <li>Scan each page individually</li> <li>Then use irfanview to combine the images into one tif file, (options, create multi page tiff, compression ccitt fax 4)<br><a href="https://lh3.googleusercontent.com/-EnUEwxBoThc/WR73NLE38kI/AAAAAAAAFQU/ct4Rl3l7d1kcA_EckhUlbLYz1vge6GsmwCHM/s1600-h/image%255B27%255D"><img title="image" style="border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; border-left: 0px; display: inline; padding-right: 0px" border="0" alt="image" src="https://lh3.googleusercontent.com/-d3zBQ2TFbsA/WR73NqpnVWI/AAAAAAAAFQY/PPvR-Le967owErksoFdNVYQ1FHemT69MACHM/image_thumb%255B8%255D?imgmax=800" width="244" height="156"></a><br><a href="https://lh3.googleusercontent.com/-xUA8sNdM7jw/WR73NySSjtI/AAAAAAAAFQc/MFU04oZZ4fo6eF0cM8WreHVmKeF5tM7cwCHM/s1600-h/image%255B31%255D"><img title="image" style="border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; border-left: 0px; display: inline; padding-right: 0px" border="0" alt="image" src="https://lh3.googleusercontent.com/-KQgxcV6eelU/WR73OYRbC1I/AAAAAAAAFQg/HlRv5bwzzKsxqVxq3JNUjgf4wDDKny9JgCHM/image_thumb%255B9%255D?imgmax=800" width="244" height="209"></a></li> <li>Upload that as single receipt option to shop and scan</li></ol>Merrick Chafferhttp://www.blogger.com/profile/03930108672164777783noreply@blogger.com1tag:blogger.com,1999:blog-316795779783288824.post-40016715189042797802017-05-03T04:05:00.001-07:002017-05-03T04:06:36.475-07:00Virgin media london underground wifi SSL certificate expiry<p><a href="https://lh3.googleusercontent.com/-YF_mCeBoMGU/WQm5dAc7C5I/AAAAAAAAFPs/2iv-Swg8o5gQj3HYg5MJIZP0LwmFXcX5ACHM/s1600-h/image%255B3%255D"><img title="image" style="border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; border-left: 0px; display: inline; padding-right: 0px" border="0" alt="image" src="https://lh3.googleusercontent.com/-cyj_dBRmyBE/WQm5dguXQuI/AAAAAAAAFPw/mKapHJPTWToZHNF6dr14AvDvtyAbyQIvgCHM/image_thumb%255B1%255D?imgmax=800" width="213" height="385"></a></p>Merrick Chafferhttp://www.blogger.com/profile/03930108672164777783noreply@blogger.com0tag:blogger.com,1999:blog-316795779783288824.post-52523843670175697392017-03-28T06:47:00.001-07:002017-03-28T06:56:15.426-07:00Remote Desktop Settings for QA lab<p>Change to 16bit colour depth</p> <p><a href="https://lh3.googleusercontent.com/-cWoy_jCSPVM/WNpphK3TgqI/AAAAAAAAFO4/UT_WOgphUnU/s1600-h/image%25255B8%25255D.png"><img title="image" style="border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; border-left: 0px; display: inline; padding-right: 0px" border="0" alt="image" src="https://lh3.googleusercontent.com/-QOMPz5vUFqY/WNpph1gxIEI/AAAAAAAAFO8/vDEQX8tPB_8/image_thumb%25255B2%25255D.png?imgmax=800" width="214" height="244"></a></p> <p>Then when you connect type <a href="mailto:username@domain">username@domain</a> in the password box</p> <p><a href="https://lh3.googleusercontent.com/-UG6G3_3Rn4o/WNpqv2E0asI/AAAAAAAAFPI/hseT7GUqLLY/s1600-h/image%25255B11%25255D.png"><img title="image" style="border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; border-left: 0px; display: inline; padding-right: 0px" border="0" alt="image" src="https://lh3.googleusercontent.com/-QlhJ1nnMOK4/WNpqwcU6PgI/AAAAAAAAFPM/F6Uu-5rxKKY/image_thumb%25255B3%25255D.png?imgmax=800" width="244" height="191"></a></p>Merrick Chafferhttp://www.blogger.com/profile/03930108672164777783noreply@blogger.com0tag:blogger.com,1999:blog-316795779783288824.post-23074720850562335192017-02-23T01:53:00.001-08:002017-02-23T01:53:54.800-08:00DELL 968 Printer problem–Cartridge slams against printer wall<p>Fix was as simple as removing the cartridges, then turing off the printer at the plug socket on the wall, then squeezing the drive belt and computer cables that connects to the cartridge compartment, with my finger and thumb a few times.</p> <p>Many thanks to the forums for posting this fix here, has saved me the cost of a new printer …</p> <p><a title="http://en.community.dell.com/support-forums/desktop/f/3514/t/6603745" href="http://en.community.dell.com/support-forums/desktop/f/3514/t/6603745">http://en.community.dell.com/support-forums/desktop/f/3514/t/6603745</a></p>Merrick Chafferhttp://www.blogger.com/profile/03930108672164777783noreply@blogger.com0tag:blogger.com,1999:blog-316795779783288824.post-67582843023381564452017-02-15T02:30:00.001-08:002017-02-15T02:30:48.664-08:00Resharper shorcut cheat sheet<p>Quite by chance today I stumbled across a new way to learn Resharper shortcuts. <p>In visual studio, when editing a file, tap the ctrl key three times in quick succession. This brings up the cheat sheet <p><a href="https://lh3.googleusercontent.com/-jOu9WGcZlIQ/WKQt0szGDjI/AAAAAAAAFLU/MAl0aAzHPuU/s1600-h/clip_image002%25255B3%25255D.jpg"><img title="clip_image002" style="border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; border-left: 0px; display: inline; padding-right: 0px" border="0" alt="clip_image002" src="https://lh3.googleusercontent.com/-2C7mBDva_ng/WKQt1Htk9MI/AAAAAAAAFLY/epChCP24xLA/clip_image002_thumb.jpg?imgmax=800" width="244" height="141"></a> <p>Then hold down the Ctrl key, Shift Key, or Alt Key when the dialog is open, and you'll see what short cuts are applicable to the development pane that you're in <p><a href="https://lh3.googleusercontent.com/-Gbe6eB540Jk/WKQt1ugfkcI/AAAAAAAAFLc/LZ27deJXy4I/s1600-h/clip_image002%25255B4%25255D%25255B2%25255D.jpg"><img title="clip_image002[4]" style="border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; border-left: 0px; display: inline; padding-right: 0px" border="0" alt="clip_image002[4]" src="https://lh3.googleusercontent.com/-aIDTEYy8O18/WKQt2PuFHVI/AAAAAAAAFLg/9zlZXyAgJCw/clip_image002%25255B4%25255D_thumb.jpg?imgmax=800" width="244" height="143"></a>Merrick Chafferhttp://www.blogger.com/profile/03930108672164777783noreply@blogger.com0tag:blogger.com,1999:blog-316795779783288824.post-7992783655005583442017-01-12T07:36:00.001-08:002017-01-12T07:39:16.958-08:00Macros alternative for VS 2013 /2015<p>Finally an alternative to </p> <p><a title="https://vlasovstudio.com/visual-commander/professional_edition.html" href="https://vlasovstudio.com/visual-commander/professional_edition.html">https://vlasovstudio.com/visual-commander/professional_edition.html</a></p> <p>which lets you record as well…</p> <p><a title="https://visualstudiogallery.msdn.microsoft.com/d3fbf133-e51b-41a2-b86f-9560a96ff62b/view/Discussions/3" href="https://visualstudiogallery.msdn.microsoft.com/d3fbf133-e51b-41a2-b86f-9560a96ff62b/view/Discussions/3">https://visualstudiogallery.msdn.microsoft.com/d3fbf133-e51b-41a2-b86f-9560a96ff62b/view/Discussions/3</a></p> <p><a href="https://lh3.googleusercontent.com/-jm8ujhtsQ0s/WHejHzld49I/AAAAAAAAFKs/8dbm7yYlEfQ/s1600-h/image%25255B2%25255D.png"><img title="image" style="border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; border-left: 0px; display: inline; padding-right: 0px" border="0" alt="image" src="https://lh3.googleusercontent.com/-lsZOpUz379c/WHejI2GioAI/AAAAAAAAFKw/ammFgBfhsZQ/image_thumb.png?imgmax=800" width="244" height="171"></a></p> <p>Find action constants for dte.Find listed here…</p> <p><a title="https://msdn.microsoft.com/en-us/library/aa301226(v=vs.71).aspx" href="https://msdn.microsoft.com/en-us/library/aa301226(v=vs.71).aspx">https://msdn.microsoft.com/en-us/library/aa301226(v=vs.71).aspx</a></p> <p>e.g.</p> <p> </p> <p>dte.ExecuteCommand("Edit.Find");<br>dte.Find.FindWhat = "DROP CONSTRAINT";<br>dte.Find.Target = 1; //vsFindTarget.vsFindTargetCurrentDocument;<br>dte.Find.MatchCase = false;<br>dte.Find.MatchWholeWord = false;<br>dte.Find.Backwards = false;<br>dte.Find.MatchInHiddenText = false;<br>dte.Find.PatternSyntax = 0; // vsFindPatternSyntax.vsFindPatternSyntaxLiteral;<br>dte.Find.Action = 1; //vsFindAction.vsFindActionFind</p>Merrick Chafferhttp://www.blogger.com/profile/03930108672164777783noreply@blogger.com0tag:blogger.com,1999:blog-316795779783288824.post-91602259153935493252017-01-04T06:35:00.001-08:002017-01-04T06:35:58.850-08:00Edit.SelectToLastGoBack in Visual Studio<p> </p> <p><a href="https://lh3.googleusercontent.com/-8RiwoCE8z3o/WG0ISpfXHeI/AAAAAAAAFKU/UI6AScpfleE/s1600-h/image%25255B4%25255D.png"><img title="image" style="border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; border-left: 0px; display: inline; padding-right: 0px" border="0" alt="image" src="https://lh3.googleusercontent.com/-ltBk9pTV9Nc/WG0ITeCnpEI/AAAAAAAAFKY/POFuPk9DfiI/image_thumb%25255B2%25255D.png?imgmax=800" width="419" height="312"></a></p> <p>Very handy shortcut for this Ctrl + = in visual studio. Basically selects all the text between the last two navigation points you were looking at in a text file.</p>Merrick Chafferhttp://www.blogger.com/profile/03930108672164777783noreply@blogger.com0tag:blogger.com,1999:blog-316795779783288824.post-28391937302748075912016-11-04T06:27:00.001-07:002016-11-13T03:38:03.420-08:00Powershell for finding hotfixes<div dir="ltr" style="text-align: left;" trbidi="on">
One liner:<br />
<br />
<div style="text-align: left;">
<span style="font-family: Courier New, Courier, monospace;">$Session = New-Object -ComObject Microsoft.Update.Session; $Searcher = $Session.CreateUpdateSearcher(); $HistoryCount = $Searcher.GetTotalHistoryCount();$Searcher.QueryHistory(0,$HistoryCount) | Sort-Object -Property Date -Descending | Select Title, Date | Export-Csv -Path c:\temp\hotfixlist.csv</span></div>
<br />
More full version:<br />
<br />
<br />
$wu = new-object -com “Microsoft.Update.Searcher”<br />
<br />
$totalupdates = $wu.GetTotalHistoryCount()<br />
<br />
$all = $wu.QueryHistory(0,$totalupdates)<br />
<br />
# Define a new array to gather output<br />
$OutputCollection= @()<br />
<br />
Foreach ($update in $all)<br />
{<br />
$string = $update.title<br />
<br />
$Regex = “KB\d*”<br />
$KB = $string | Select-String -Pattern $regex | Select-Object { $_.Matches }<br />
<br />
$output = New-Object -TypeName PSobject<br />
$output | add-member NoteProperty “HotFixID” -value $KB.‘ $_.Matches ‘.Value<br />
$output | add-member NoteProperty “Title” -value $string<br />
$OutputCollection += $output<br />
<br />
}<br />
<br />
# Oupput the collection sorted and formatted:<br />
$OutputCollection | Sort-Object HotFixID | Format-Table -AutoSize | Out-File c:\temp\output.txt <br />
<br />
Further reading<br />
<a href="https://github.com/tomarbuthnot/Get-MicrosoftUpdate" title="https://github.com/tomarbuthnot/Get-MicrosoftUpdate">https://github.com/tomarbuthnot/Get-MicrosoftUpdate</a></div>
Merrick Chafferhttp://www.blogger.com/profile/03930108672164777783noreply@blogger.com0tag:blogger.com,1999:blog-316795779783288824.post-21067800812588450702016-11-03T10:20:00.000-07:002016-11-03T10:36:59.950-07:00How to configure the app pool recycle time from batch file<div style="text-align: left" dir="ltr" trbidi="on"><br>Stick the following in a configure_app_pool.bat batch file and run...<br><br><br><span style="font-family: "courier new" , "courier" , monospace">cls</span><br><span style="font-family: "courier new" , "courier" , monospace">@echo off</span><br><span style="font-family: "courier new" , "courier" , monospace"><br></span><span style="font-family: "courier new" , "courier" , monospace">set last_five_chars_of_computername=%COMPUTERNAME:~-5%</span><br><span style="font-family: "courier new" , "courier" , monospace">echo.Running on %last_five_chars_of_computername%</span><br><span style="font-family: "courier new" , "courier" , monospace"><br></span><span style="font-family: "courier new" , "courier" , monospace">SET recyle_time=01:55:00</span><br><span style="font-family: "courier new" , "courier" , monospace">IF "%last_five_chars_of_computername%" EQU "BAP01" SET recyle_time=01:55:00</span><br><span style="font-family: "courier new" , "courier" , monospace">IF "%last_five_chars_of_computername%" EQU "BAP02" SET recyle_time=01:56:00</span><br><span style="font-family: "courier new" , "courier" , monospace">IF "%last_five_chars_of_computername%" EQU "BAP03" SET recyle_time=01:57:00</span><br><span style="font-family: "courier new" , "courier" , monospace"><br></span><span style="font-family: "courier new" , "courier" , monospace">REM CHOICE /C 123 /N /M "Enter 1 for bap01, 2 for bap02 or 3 for bap03, or press Ctrl+C to cancel"</span><br><span style="font-family: "courier new" , "courier" , monospace"><br></span><span style="font-family: "courier new" , "courier" , monospace">REM SET answer=%ERRORLEVEL%</span><br><span style="font-family: "courier new" , "courier" , monospace">REM IF %answer% EQU 1 SET recyle_time=01:55:00</span><br><span style="font-family: "courier new" , "courier" , monospace">REM IF %answer% EQU 2 SET recyle_time=01:56:00</span><br><span style="font-family: "courier new" , "courier" , monospace">REM IF %answer% EQU 3 SET recyle_time=01:57:00</span><br><span style="font-family: "courier new" , "courier" , monospace"><br></span><span style="font-family: "courier new" , "courier" , monospace">echo setting apppool recycle time to %recyle_time%</span><br><span style="font-family: "courier new" , "courier" , monospace"><br></span><span style="font-family: "courier new" , "courier" , monospace">set recycle_period=1.05:00:00</span><br><span style="font-family: "courier new" , "courier" , monospace">echo setting apppool recycle period to %recycle_period%</span><br><span style="font-family: "courier new" , "courier" , monospace"><br></span><span style="font-family: "courier new" , "courier" , monospace">setlocal</span><br><span style="font-family: "courier new" , "courier" , monospace"><br></span><span style="font-family: "courier new" , "courier" , monospace"><br></span><span style="font-family: "courier new" , "courier" , monospace">set servers=Beacon@RRA</span><br><span style="font-family: "courier new" , "courier" , monospace">set servers=%servers:@=,%</span><br><span style="font-family: "courier new" , "courier" , monospace"><br></span><span style="font-family: "courier new" , "courier" , monospace">for %%a in (%servers%) do (</span><br><span style="font-family: "courier new" , "courier" , monospace"> FOR /F "delims=," %%i in ('%systemroot%\system32\inetsrv\appcmd list apppool /name:"$=*%%a*" /text:name') do (</span><br><span style="font-family: "courier new" , "courier" , monospace"><span class="Apple-tab-span" style="white-space: pre"> </span>echo !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!</span><br><span style="font-family: "courier new" , "courier" , monospace"><span class="Apple-tab-span" style="white-space: pre"> </span>echo !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!</span><br><span style="font-family: "courier new" , "courier" , monospace"><span class="Apple-tab-span" style="white-space: pre"> </span>echo Setting up app pool: "%%i" </span><br><span style="font-family: "courier new" , "courier" , monospace"><span class="Apple-tab-span" style="white-space: pre"> </span>echo !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!</span><br><span style="font-family: "courier new" , "courier" , monospace"><span class="Apple-tab-span" style="white-space: pre"> </span>echo !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!</span><br><span style="font-family: "courier new" , "courier" , monospace"><span class="Apple-tab-span" style="white-space: pre"> </span>call:setFunc "%%i"</span><br><span style="font-family: "courier new" , "courier" , monospace"><span class="Apple-tab-span" style="white-space: pre"> </span>)</span><br><span style="font-family: "courier new" , "courier" , monospace">)</span><br><span style="font-family: "courier new" , "courier" , monospace"><br></span><span style="font-family: "courier new" , "courier" , monospace">goto :eos</span><br><span style="font-family: "courier new" , "courier" , monospace"><br></span><span style="font-family: "courier new" , "courier" , monospace">:eos</span><br><span style="font-family: "courier new" , "courier" , monospace">endlocal</span><br><span style="font-family: "courier new" , "courier" , monospace">echo !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!</span><br><span style="font-family: "courier new" , "courier" , monospace">echo Please verify above configuration changes </span><br><span style="font-family: "courier new" , "courier" , monospace">echo Then press any key to exit </span><br><span style="font-family: "courier new" , "courier" , monospace">echo !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!</span><br><span style="font-family: "courier new" , "courier" , monospace">pause</span><br><span style="font-family: "courier new" , "courier" , monospace">@echo on</span><br><span style="font-family: "courier new" , "courier" , monospace">goto:eof</span><br><span style="font-family: "courier new" , "courier" , monospace"><br></span><span style="font-family: "courier new" , "courier" , monospace">::--------------------------------------------------------</span><br><span style="font-family: "courier new" , "courier" , monospace">::-- Function section starts below here</span><br><span style="font-family: "courier new" , "courier" , monospace">::--------------------------------------------------------</span><br><span style="font-family: "courier new" , "courier" , monospace">:setFunc</span><br><span style="font-family: "courier new" , "courier" , monospace"><span class="Apple-tab-span" style="white-space: pre"> </span>echo.</span><br><span style="font-family: "courier new" , "courier" , monospace"><span class="Apple-tab-span" style="white-space: pre"> </span>echo ***** BEFORE ******</span><br><span style="font-family: "courier new" , "courier" , monospace"><span class="Apple-tab-span" style="white-space: pre"> </span>%systemroot%\system32\inetsrv\APPCMD list apppool /apppool.name:"%~1" /config</span><br><span style="font-family: "courier new" , "courier" , monospace"><span class="Apple-tab-span" style="white-space: pre"> </span>%systemroot%\system32\inetsrv\APPCMD set apppool /apppool.name:"%~1" /recycling.periodicRestart.time:%recycle_period%</span><br><span style="font-family: "courier new" , "courier" , monospace"><span class="Apple-tab-span" style="white-space: pre"> </span>%systemroot%\system32\inetsrv\APPCMD set apppool /apppool.name:"%~1" /+recycling.periodicRestart.schedule.[value='%recyle_time%']</span><br><span style="font-family: "courier new" , "courier" , monospace"><span class="Apple-tab-span" style="white-space: pre"> </span>%systemroot%\system32\inetsrv\APPCMD set config /section:applicationPools /[name='"%~1"'].recycling.logEventOnRecycle:Time,Schedule,Memory,IsapiUnhealthy,OnDemand,ConfigChange,PrivateMemory -commit:apphost</span><br><span style="font-family: "courier new" , "courier" , monospace"><span class="Apple-tab-span" style="white-space: pre"> </span>echo.</span><br><span style="font-family: "courier new" , "courier" , monospace"><span class="Apple-tab-span" style="white-space: pre"> </span>echo ***** AFTER ******</span><br><span style="font-family: "courier new" , "courier" , monospace"><span class="Apple-tab-span" style="white-space: pre"> </span>%systemroot%\system32\inetsrv\APPCMD list apppool /apppool.name:"%~1" /config</span><br><span class="Apple-tab-span" style="white-space: pre"><span style="font-family: "courier new" , "courier" , monospace"> </span></span></div>Merrick Chafferhttp://www.blogger.com/profile/03930108672164777783noreply@blogger.com0tag:blogger.com,1999:blog-316795779783288824.post-61355280680564533372016-09-07T03:42:00.001-07:002016-09-07T03:42:09.139-07:00Facebook vanity IPv6 Address<p><a title="https://discuss.howtogeek.com/t/facebook-vanity-ipv6-address/11089" href="https://discuss.howtogeek.com/t/facebook-vanity-ipv6-address/11089">https://discuss.howtogeek.com/t/facebook-vanity-ipv6-address/11089</a></p> <p>Wonder how much that IPv6 address cost them then. </p> <p>ping facebook.com Pinging facebook.com </p> <p>Reply from 2a03:2880:2110:df07:<font style="background-color: #0000ff">face:b00c</font>:0:1:</p>Merrick Chafferhttp://www.blogger.com/profile/03930108672164777783noreply@blogger.com0