I hereby claim:
- I am tobiasviehweger on github.
- I am mnkypete (https://keybase.io/mnkypete) on keybase.
- I have a public key whose fingerprint is D236 399D 3A5E 71E6 34A2 9B44 96F2 A368 4308 F25E
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| using System; | |
| using System.Collections.Generic; | |
| using System.ComponentModel; | |
| using System.Linq; | |
| using System.Runtime.InteropServices; | |
| using System.Text; | |
| using System.Threading.Tasks; | |
| namespace PhotoStreams | |
| { |
| 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); |
| 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; |
| # 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" |
| 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) |
| 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; |
| 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" |
| <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> |