how do I create my own URL protocol?

The portion with the HTTP://,FTP://, etc are called URI Schemes

You can register your own through the registry.

HKEY_CLASSES_ROOT/
  your-protocol-name/
    (Default)    "URL:your-protocol-name Protocol"
    URL Protocol ""
    shell/
      open/
        command/
          (Default) PathToExecutable

Sources: https://www.iana.org/assignments/uri-schemes/uri-schemes.xhtml, http://msdn.microsoft.com/en-us/library/aa767914(v=vs.85).aspx

ref: http://stackoverflow.com/a/389223

How to get a list box to disallow duplicate items (C#)

private void button1_Click(object sender, EventArgs e)
{
if (!ListBox.Items.Contains(listBox1.SelectedItem)) // Random Idea which doesnt work
{
listBox2.Items.Add(listBox1.SelectedItem);
}
}

ref: http://stackoverflow.com/questions/11041802/how-to-get-a-list-box-to-disallow-duplicate-items/11041896?stw=2#11041896

C#.NET How to get Current Control Name

string ctrlName = ((Control)sender).Name;

ref: https://social.msdn.microsoft.com/Forums/windows/en-US/1c5243d0-6f6d-434d-894f-337f266ebcfa/in-cnet-how-to-get-current-control-name?forum=winforms

built-in checksum utility on Windows

CertUtil is a pre-installed Windows utility, that can be used to generate hash checksums:

certUtil -hashfile pathToFileToCheck [HashAlgorithm]

HashAlgorithm choices: MD2 MD4 MD5 SHA1 SHA256 SHA384 SHA512

So for example, the following generates an MD5 checksum for the file C:\TEMP\MyDataFile.img:

CertUtil -hashfile C:\TEMP\MyDataFile.img MD5

Original solution by Laisvis Lingvevicius

 

ref: http://superuser.com/questions/245775/is-there-a-built-in-checksum-utility-on-windows-7/898377?stw=2#898377

How to delete all the animations in a presentation

http://answers.microsoft.com/en-us/office/forum/officeversion_other-powerpoint/how-to-delete-all-the-animations-in-a-presentation/4d709072-e8b8-47b5-8802-048b0abc9dcb
—————————————————————————-

You can turn off the animations by going to Setup Slide Show and underShow Options tick the Show without animation option and clickOK. Now run the show and it will display without the animations.

If you really want to delete all the animations in a single sweep then you will need to run this macro.

Sub StripAllBuilds()
    Dim I As Integer: Dim J As Integer
Dim oActivePres As Object
Set oActivePres = ActivePresentation
With oActivePres
For I = 1 To .Slides.Count
If Val(Application.Version) < 10 Then
‘ Older versions of PowerPoint 97/2000
‘ In each slide set the animation property
‘ of the Shape object to FALSE
For J = 1 To .Slides(I).Shapes.Count
.Slides(I).Shapes(J).AnimationSettings.Animate = msoFalse
Next J
Else
‘ New versions support the Timeline object
For J = .Slides(I).TimeLine.MainSequence.Count To 1 Step -1
.Slides(I).TimeLine.MainSequence(J).Delete
Next J
End If
Next I
End With
Set oActivePres = Nothing
End Sub

Set Firefox to Allow 10 Simultaneous Downloads

about:config => network.http.max-persistent-connections-per-server
ref: http://mypchell.com/guides/17-set-firefox-to-allow-10-simultaneous-downloads

firefox: Using “unverified” add-ons

about:config => xpinstall.signatures.required => false

ref: https://support.mozilla.org/en-US/questions/1078339

linux: show a list of ALL autostart services

You can simply use the initctl list shell command to list the contents of “/etc/init” rather than the suggested dbus-send command.
ref: http://askubuntu.com/questions/218/command-to-list-services-that-start-on-startup/6649?stw=2#6649

initctl show-config
ref: http://superuser.com/questions/511804/in-ubuntu-is-there-a-command-to-show-a-list-of-all-autostart-services/511980?stw=2#511980

$perldoc

$perldoc perlsyn
$perldoc perlcheat

ref: https://twitter.com/sornram9254/status/604954298108100608

Synchronizing any folder on your system with OneDrive

mklink /J “C:\Users\\OneDrive\” “C:\

ref: http://blogs.msdn.com/b/developingfordynamicsgp/archive/2014/09/12/synchronizing-any-folder-on-your-system-with-onedrive.aspx