Google uw website

Complete 120 punten waarop Google uw website beoordeelt in 2017

bron: https://webstick.nl/seo-blog18-120-punten-waarop-google-sites-beoordeelt

Dit artikel is dus een voorbeeld van “hoe moet het niet” … een rechtstreekse knip-plak actie van een andere website. Gewoon gedaan voor mijn eigen archief, voor het geval de orginele tekst weer eens wordt verwijderd. Continue reading Google uw website

web.config rules for everything

Don’t forget the basics:

<?xml version="1.0" encoding="UTF-8"?>
<configuration>
    <system.webServer>
        <rewrite>
            <rules>
                <rule name="Redirect to HTTPS" stopProcessing="true">
                    <match url="(.*)" />
                    <conditions>
                        <add input="{HTTPS}" pattern="^OFF$" />
                    </conditions>
                    <action type="Redirect" url="https://{HTTP_HOST}/{R:1}" redirectType="Permanent" />
                </rule>    
            </rules>
        </rewrite>
    </system.webServer>
</configuration>
Continue reading web.config rules for everything

Onderhandelen

Onderhandelen: “We can be fast, good and cheap. Choose any two.”

Onderhandelen. We houden er niet van, maar doen het dagelijks. Wij vinden het moeilijk als onderhandelen onszelf betreft, als wij onszelf waarde moeten toekennen.

Onderhandelen is niets meer dan een transactie tussen twee partijen waarbij elk op voordeel uit is. Daar hoeft geen vijandschap aan te pas te komen. Redelijkheid en een ontspannen houding zijn genoeg. Zie de ander niet als tegenstander. Probeer elkaars doelen te doorgronden. In wezen zijn die hetzelfde: het beste product voor de beste prijs. Continue reading Onderhandelen

Samsung microphone problem?

Homer_67234xlHello, hello… I can hardly hear you, could you speak up a bit?

Meanwhile I am talking really loud into my phone, and after several calls this way, it was Dr.Google to the rescue…

The issue:
My Samsung S5 mini works fine, but people on the other end of the call hear me as if I was talking 10 meters away from the phone.

The solution:

“Clean out the tiny microphone hole with a pin”

Really, that was it; just dirt and dust blocking my voice. Glad people can hear me again, without having to scream.

Error Creating Window Handle

Brain-BulbIt starts with “Can not create Window Handle”… and continuous random crashes. You find out your app reaches the max of 10000 user objects. (Just check the task manager, you’ll see I’m right.)

So, you’ve been using your own usercontrols on a flowlayoutpanel; you add, you remove, you clear… however the user objects count keeps growing and something is leaking somewhere…

You find that .controls.clear() does not work, you have to dispose() of all the objects first. Okay, do that, but it still doesn’t work.
So what’s the trick?
Simply remove first, before the dispose, and do this one at a time.

Just use the following routine:
ClearFlowLayoutPanel(myFlowLayoutPanel)
instead of
myFlowLayoutPanel.Controls.Clear()

Public Sub ClearFlowLayoutPanel(cFlowLayoutPanel As FlowLayoutPanel)
 Do While (cFlowLayoutPanel.Controls.Count > 0)
  Using controltoremove = cFlowLayoutPanel.Controls(0)
   cFlowLayoutPanel.Controls.Remove(controltoremove)
   controltoremove.Dispose()
  End Using
 Loop
 GC.Collect()
 GC.WaitForPendingFinalizers()
 cFlowLayoutPanel.Controls.Clear()
End Sub

Good Luck! …or ask My Brain.

sources or more info:
https://blogs.technet.microsoft.com/markrussinovich/2010/02/24/pushing-the-limits-of-windows-user-and-gdi-objects-part-1/
http://stackoverflow.com/questions/1378668/clearing-controls-from-flowlayoutpanel-not-calling-destructors/

 

Windows 7 SP1 Updates take forever after fresh install

W10disketteFor older computers, Windows 10 simply might not be an option for lack of drivers. (Thanks Intel GMA 500 !)
So back to installing Windows 7 with SP1 fresh, and the next step is to get all the updates…
However this seems to take forever nowadays, runs a high CPU, high memory usage, and doing nothing. After a day of letting the computer sit and run, it was time to find a faster solution. As expected, it is a known problem. The solution is to update the update itself first: See KB3102810.

Microsoft released a new WindowsUpdate Client Update to fix the slow Update searching/Installation. Installing and searching for updates is slow and high CPU usage occurs in Windows 7 – https://support.microsoft.com/en-us/kb/3102810

Download:
32Bit: http://www.microsoft.com/downloads/details.aspx?FamilyId=fcd6bf5d-f004-4ca3-aa7e-1de462b91dd0
64Bit: http://www.microsoft.com/downloads/details.aspx?FamilyId=4fe566bd-31b1-4413-8c4c-412b52533669

After this you might also want to install this SUR: http://windows.microsoft.com/en-us/windows7/what-is-the-system-update-readiness-tool

For me just the KB3102810 update was sufficient and the computer is now trying to install 208 updates; Let’s see how long that takes 🙂