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
{ | |
"payloads": [ | |
{ | |
"timestamp": "2023-09-06T01:03:23.538Z", | |
"baseTransactionNumber": 10722, | |
"actionMetadata": { | |
"source": "publicApi", | |
"sourceMetadata": { | |
"user": { | |
"id": "usrVvgGyuyiyRiPl2", |
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($folderpath) | |
Get-ChildItem $folderpath -Filter *.mkv | | |
Foreach-Object { | |
Set-Location $folderpath | |
$newfile = $_.FullName -replace ".mkv", ".mp4" | |
Write-Host $newfile | |
./ffmpeg -i $_.FullName -vcodec copy -acodec copy $newfile | |
} |
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
There are some problems with the configuration, described below. | |
The Terraform configuration must be valid before initialization so that | |
Terraform can determine which modules and providers need to be installed. | |
Error: Invalid expression | |
on main.tf line 3, in resource "aws_cloudformation_stack" "eventbridge_bus": | |
3: template_body = <<EOF |
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
// The UIApplicationDelegate for the application. This class is responsible for launching the | |
// User Interface of the application, as well as listening (and optionally responding) to | |
// application events from iOS. | |
[Register("AppDelegate")] | |
public partial class AppDelegate : global::Xamarin.Forms.Platform.iOS.FormsApplicationDelegate | |
{ | |
// | |
// This method is invoked when the application has loaded and is ready to run. In this | |
// method you should instantiate the window, load the UI into it and then make the window | |
// visible. |
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
# mssql-agent-fts-ha-tools | |
# Maintainers: Microsoft Corporation (LuisBosquez and twright-msft on GitHub) | |
# GitRepo: https://github.com/Microsoft/mssql-docker | |
# Base OS layer: Latest Ubuntu LTS + mssql-server-linux (SQL Server engine + tools) | |
FROM microsoft/mssql-server-linux | |
#Install curl since it is needed to get repo config | |
# Get official Microsoft repository configuration | |
RUN export DEBIAN_FRONTEND=noninteractive && \ |
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
public class IOSDeviceInfo : IDeviceInfo | |
{ | |
private string _deviceId; | |
private const string DeviceIdentifier = "MyDeviceIdentifier"; | |
public string GetDeviceId | |
{ | |
get | |
{ | |
/* return UIDevice.CurrentDevice.IdentifierForVendor.ToString();*/ | |
_deviceId = GetRecordsFromKeychain(DeviceIdentifier); |
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
public class CustomTlsSSLSocketFactory : SSLSocketFactory | |
{ | |
public CustomTlsSSLSocketFactory() | |
{ | |
SSLContext context = SSLContext.GetInstance("TLS"); | |
context.Init(null, null, null); | |
_factory = context.SocketFactory; | |
} | |
private readonly SSLSocketFactory _factory; |
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
<?xml version="1.0" encoding="utf-8" ?> | |
<ContentPage | |
x:Class="CustomerApp.Views.Login" | |
xmlns="http://xamarin.com/schemas/2014/forms" | |
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" | |
xmlns:behaviors="clr-namespace:CustomerApp.Infrastructure.Behaviors;assembly=CustomerApp" | |
xmlns:c="clr-namespace:CustomerApp.Infrastructure.Converters;assembly=CustomerApp" | |
Style="{StaticResource SignUpScreen}"> | |
<ContentPage.Resources> | |
<ResourceDictionary> |
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 Octopus.Client; | |
using Octopus.Client.Model; | |
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Text; | |
using System.Threading.Tasks; | |
namespace OctopusDeploymentClient | |
{ |