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.
Learn more about bidirectional Unicode characters
0x7dF20Af045869764f94a54eDF9b00e5c1Fef3244 |
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.
Learn more about bidirectional Unicode characters
$dns = "<ENTER_FULLY_QUALIFIED_DOMAIN>" | |
$pwd = "<ENTER_STRONG_PASSWORD>" | |
$exportPath = "<ENTER_PATH_TO_EXPORT_CERTIFICATES_TO>" | |
$certPath = "Cert:\LocalMachine\My\" | |
$cert = New-SelfSignedCertificate -CertStoreLocation $certPath -DnsName $dns | |
$certPath = "$($certPath)\$($cert.Thumbprint)" | |
Write-Host 'Cert path: ' $($certPath) | |
Export-Certificate -cert $certPath -FilePath $exportPath'\lab.cer' | |
$p = ConvertTo-SecureString -String $pwd -Force -AsPlainText | |
Export-PfxCertificate -cert $certPath -FilePath $exportPath'\lab.pfx' -Password $p |
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.
Learn more about bidirectional Unicode characters
using Microsoft.IdentityModel.Clients.ActiveDirectory; | |
using System; | |
using System.Collections.Generic; | |
using System.Configuration; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using System.Web; | |
using System.Web.Mvc; | |
namespace PUGWebApp.Controllers |
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.
Learn more about bidirectional Unicode characters
using Owin; | |
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Web; | |
using Microsoft.Owin.Security.Cookies; | |
using Microsoft.Owin.Security; | |
using Microsoft.Owin.Security.OpenIdConnect; | |
using System.IdentityModel.Claims; | |
using System.Threading.Tasks; |
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.
Learn more about bidirectional Unicode characters
using Owin; | |
using Microsoft.Owin; | |
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Web; | |
[assembly: OwinStartup(typeof(PUGWebApp.Startup))] | |
namespace PUGWebApp |
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.
Learn more about bidirectional Unicode characters
#include <opencv2/core/core.hpp>; | |
#include <opencv/cv.h>; | |
#include <opencv2/highgui/highgui.hpp>; | |
using namespace cv; | |
using namespace std; | |
int main() | |
{ |
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.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<script> | |
/* | |
Converts a 32bit HEX string (42883EFA) to Float 68.1229476928711 | |
Complies to IEEE 754 Standards. | |
Tested with a range of sample inputs. Feel free to report a bug. | |
*/ |