How Do I Into Git?
a helpful primer for users sick of git's poorly-named commands
I've used Git since 2011, and this is the stuff that I've always had to Google to remember. I hope it helps you not hate Git so much.
Hello software developers,
Please check your code to ensure you're not making one of the following mistakes related to cryptography.
|' VBS Script to get the Windows(R) 7 Product Key from a PC's registry.|
|' Save the VBScript as "getWin7Key.vbs" somewhere on your Windows7 PC.|
|' Now, when you double-click the local script file an alertbox pops up|
|' displaying the product key stored in the machine's Windows registry.|
|Set WshShell = WScript.CreateObject("WScript.Shell")|
|KeyPath = "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\DigitalProductId"|
|`openssl pkcs12 -in [yourfile.pfx] -nocerts -out [keyfile-encrypted.key]`|
|What this command does is extract the private key from the .pfx file. Once entered you need to type in the importpassword of the .pfx file. This is the password that you used to protect your keypair when you created your .pfx file. If you cannot remember it anymore you can just throw your .pfx file away, cause you won’t be able to import it again, anywhere!. Once you entered the import password OpenSSL requests you to type in another password, twice!. This new password will protect your .key file.|
|Now let’s extract the certificate:|
|`openssl pkcs12 -in [yourfile.pfx] -clcerts -nokeys -out [certificate.crt]`|
|var ngAppElem = angular.element(document.querySelector('[ng-app]') || document);|
|window.$injector = ngAppElem.injector();|
|window.inject = $injector.invoke;|
|window.$rootScope = ngAppElem.scope();|
|// getService('auth') will create a variable `auth` assigned to the service `auth`.|
|var getService = serviceName =>|
|inject([serviceName, s => window[serviceName] = s]);|