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
{ | |
"$schema": "https://developer.microsoft.com/en-us/json-schemas/teams/v1.13/MicrosoftTeams.schema.json", | |
"manifestVersion": "1.13", | |
"version": "1.0.1", | |
"id": "6402de97-ce33-4386-bf28-b37e9e139c12", | |
"packageName": "test-package", | |
"developer": { | |
"name": "Test", | |
"websiteUrl": "https://test.com", | |
"privacyUrl": "https://test.com/privacy-policy-services", |
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
{ | |
"$schema": "https://developer.microsoft.com/en-us/json-schemas/teams/v1.11/MicrosoftTeams.schema.json", | |
"manifestVersion": "1.11", | |
"version": "1.0.1", | |
"id": "6402de97-ce33-4386-bf28-b37e9e139c11", | |
"packageName": "test-package", | |
"developer": { | |
"name": "Test", | |
"websiteUrl": "https://test.com", | |
"privacyUrl": "https://test.com/privacy-policy-services", |
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
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"> | |
<s:Header> | |
<RequestServerVersion Version="Exchange2015" xmlns="http://schemas.microsoft.com/exchange/services/2006/types"/> | |
<MailboxCulture xmlns="http://schemas.microsoft.com/exchange/services/2006/types">en-US</MailboxCulture> | |
</s:Header> | |
<s:Body> | |
<ValidateUnifiedGroupAlias xmlns="http://schemas.microsoft.com/exchange/services/2006/messages"> | |
<Alias>StrideTest4</Alias> | |
</ValidateUnifiedGroupAlias> | |
</s:Body> |
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
adb shell am start -n com.netflix.ninja/.MainActivity -a android.intent.action.VIEW -d netflix://title/80025384 -f 0x10000020 -e "amzn_deeplink_data" "80025384" |
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
Creating file hash + signature with OpenSSL: | |
openssl dgst -sha256 -binary <infile> > <infile>.hash | |
openssl rsautl -sign -inkey somekey.pfx -keyform pkcs12 -passin pass:<password> -in <infile>.hash > <infile>.sig | |
rm <infile>.hash | |
Validating the signature from C#, using both <infile> and <infile>.sig | |
var cert = new X509Certificate2( .. somesource .. ); | |
var csp = (RSACryptoServiceProvider) cert.PublicKey.Key; |
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
Updater - Dependency Mgmt @ Runtime - Possibility to roll back updates @ runtime? | |
Idea example: | |
- Let's say, we want to update the application. Instead of the single event it was before, it's much more dynamic | |
-> Download a new version of the library part (e.g. StoreEventHandling.dll v1.1 from 1.0) | |
-> Download all depedent updates if there are any (e.g. StoreEventHandling.dll 1.1 requires core 1.2) | |
-> Now this won't be live on next launch, but can be controlled via some meta data | |
-> This enables us to test an update, but when something important fails, we can go back to the previous version anytime | |
-> This is either controlled by a central update server or by the client, based on some metrics (increased error count something something) |
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
# Assumes postgres binaries in .postgres subfolder | |
# http://get.enterprisedb.com/postgresql/postgresql-9.4.1-3-windows-x64-binaries.zip | |
$targetPath = $PSScriptRoot + "\.postgres\" | |
$env:Path = $targetPath + "pgsql\bin;" + $env:Path | |
$env:PGDATA = $targetPath + "data" | |
$env:PGDATABASE = "postgres" | |
$env:PGUSER = "postgres" | |
$env:PGPORT = "1338" | |
$env:PGLOCALEDIR = $targetPath + "pgsql\share\locale" |
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 DocumentFormat.OpenXml.Packaging; | |
using DocumentFormat.OpenXml.Wordprocessing; | |
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.IO.Packaging; | |
using System.Linq; | |
using System.Text; | |
using System.Threading.Tasks; | |
using System.Xml; |
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
private void EnableStoreTodosAndReminders(RDOStore store) | |
{ | |
//Enable store for reminders | |
var reminders = store.Reminders; | |
reminders.EnableStoreReminders(); | |
//Collection some folders we need | |
var rootFolder = store.RootFolder; | |
var taskFolder = store.GetDefaultFolder(rdoDefaultFolders.olFolderTasks); | |
var inbox = store.GetDefaultFolder(rdoDefaultFolders.olFolderInbox); |
NewerOlder