This file contains 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
<!DOCTYPE html> | |
<html> | |
<body> | |
<canvas id="mandelbrotCanvas" width="800" height="800"></canvas> | |
<script> | |
const canvas = document.getElementById('mandelbrotCanvas'); | |
const ctx = canvas.getContext('2d'); | |
const imgData = ctx.createImageData(canvas.width, canvas.height); | |
const MAX_ITERATION = 1000; |
This file contains 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
{ | |
"$schema": "https://schema.management.azure.com/schemas/2019-08-01/deploymentTemplate.json#", | |
"contentVersion": "1.0.0.0", | |
"parameters": { | |
"location": { | |
"defaultValue": "canadacentral", | |
"type": "String" | |
}, | |
"environment_name": { | |
"defaultValue": "containerapps-env", |
This file contains 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
# Decode a video to yuv420 raw format | |
ffmpeg -vsync 0 -c:v h264_cuvid -i input.mp4 -c:v rawvideo -pix_fmt yuv420p -f null /dev/null | |
ffmpeg -vsync 0 -c:v h264_cuvid -i input.mp4 -c:v rawvideo -pix_fmt yuv420p output.yuv | |
# Resize videos to 640x480 | |
ffmpeg -c:v h264_cuvid -i input.mp4 -vf scale=640:480 -c:v h264_nvenc output.mp4 | |
# Downsampling frame rate to 30fps | |
ffmpeg -i input.mp4 -r 30 -c:v h264_nvenc output.mp4 |
This file contains 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 System; | |
using System.Globalization; | |
using Lucene.Net.Analysis.Standard; | |
using Lucene.Net.Documents; | |
using Lucene.Net.Index; | |
using Lucene.Net.QueryParsers; | |
using Lucene.Net.Search; | |
using Lucene.Net.Store; | |
using Version = Lucene.Net.Util.Version; |
This file contains 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
Id : /Subscriptions/cd0d7179-80a0-47e6-a201-9c12de0bbd37/Providers/Microsoft.Compute/Locations/westeurope | |
/Publishers/alertlogic/ArtifactTypes/VMExtension/Types/AlertLogicLM/Versions/1.3.0.1 | |
Location : westeurope | |
PublisherName : alertlogic | |
Type : AlertLogicLM | |
Version : 1.3.0.1 | |
FilterExpression : | |
Id : /Subscriptions/cd0d7179-80a0-47e6-a201-9c12de0bbd37/Providers/Microsoft.Compute/Locations/westeurope | |
/Publishers/AlertLogic.Extension/ArtifactTypes/VMExtension/Types/AlertLogicLM/Versions/1.3.0.0 |
This file contains 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
param domainNames array | |
param appServicePlanName string | |
param location string = resourceGroup().location | |
resource certificates 'Microsoft.Web/certificates@2020-06-01' = [for domainName in domainNames: { | |
name: domainName | |
location: location | |
properties: { | |
canonicalName: domainName |
This file contains 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
{ | |
"swagger": "2.0", | |
"info": { | |
"version": "1.0.0.0", | |
"title": "REMOVED", | |
"description": "Azure Logic App." | |
}, | |
"host": "prod-02.northeurope.logic.azure.com", | |
"basePath": "/workflows/931ae63fd6b6459e88c2cf43ed366b20/triggers", | |
"schemes": [ |
This file contains 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
[System.Reflection.Assembly]::LoadFile("C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\16\ISAPI\Microsoft.SharePoint.Client.dll") | |
$ctx = new-object Microsoft.SharePoint.Client.ClientContext("https://<site>") | |
$pass = "<password>" | |
$s = ConvertTo-SecureString -String $pass -AsPlainText -Force | |
This file contains 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
https://intranet.contoso.com/_vti_bin/exportwp.aspx?pageurl=https://intranet.contoso.com/Pages/default.aspx&guidstring=0c3adfe9-8f5d-4432-918a-42410e4e324d |
This file contains 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
Windows Registry Editor Version 5.00 | |
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shared Tools\Web Server Extensions\15.0] | |
"SharePoint"="Installed" | |
"Location"="C:\\Program Files\\Common Files\\Microsoft Shared\\Web Server Extensions\\15\\" |
NewerOlder