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
iex ((new-object net.webclient).DownloadString('https://chocolatey.org/install.ps1')) | |
choco install 7zip | |
choco install git | |
choco install gitextensions | |
choco install pidgin | |
choco install fiddler | |
choco install filezilla | |
choco install githubforwindows | |
choco install googlechrome |
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
<?php | |
error_reporting(E_ALL); | |
ini_set('display_errors', 1); | |
require_once 'Postmark/Autoloader.php'; | |
\Postmark\Autoloader::register(); | |
$postmarkApiKey = 'api_key'; | |
$subject = 'test'; | |
$message = "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\"><html xmlns=\"http://www.w3.org/1999/xhtml\"><head><meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\" /><meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\" /><title>VÌrktøjskasseInfo</title><style type=\"text/css\"> body {margin:0px; padding:0px; background-color:#ffffff; color:#777777; font-family:'Lucida Grande', 'Lucida Sans Unicode', Verdana, sans-serif; font-size:13px; -webkit-text-size-adjust:100%; -ms-text-size-adjust:100%; width:100% !important;} a, a:link, a:visited {color:#195d93; text-decoration:underline;} a:hover, a:active {text-decoration:none; color:#09416d !important;} h1, h2, h3, h1 a, h2 a, h3 a {color:#195d93 !important;} h2 {paddin |
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
<GetServiceProcessID ServiceName="ServiceName" ContinueOnError="true"> | |
<Output | |
TaskParameter="ProcessID" | |
PropertyName="ServiceProcessID" /> | |
</GetServiceProcessID> |
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
Introduction to Elasticsearch | |
Elasticsearch is a flexible and powerful open source, distributed, real-time search and analytics engine. Architected | |
from the ground up for use in distributed environments where reliability and scalability are must haves, Elasticsearch | |
gives you the ability to move easily beyond simple full-text search. | |
In this demonstration, Nick will take us through installing Elasticsearch and creating a cluster. He'll talk about | |
configuration and best practices and some examples of how we use Elasticsearch at Wildbit on both Postmark and | |
Beanstalk. JP will introduce Elasticsearch queries and talk about how information is indexed in Elasticsearch. | |
He'll review aggregating data and the benefits of full-text searching. |
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
* How do I release this? | |
* I must be able to perform a 'rolling' release this in a live system w/o | |
causing a service interruption | |
* does it break backward compatability with existing users of the api/system/etc | |
* do we need to cut a new XSD? A new version (URI prefix) of our API? | |
* did we make updates to checkouts/SNAPSHOT deps? Do we need to cut new versions of project deps? | |
* how do I support existing users? | |
* in what order do the affected systems need to be released? | |
* are there system or service configuration changes that are required? | |
* What are the Security implications of my change? |
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
<appSettings> | |
<add key="log4net.Internal.Debug" value="true"/> | |
</appSettings> | |
<system.diagnostics> | |
<trace autoflush="true"> | |
<listeners> | |
<add | |
name="textWriterTraceListener" | |
type="System.Diagnostics.TextWriterTraceListener" | |
initializeData="C:\temp\log4net.txt" /> |
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
<?php | |
require_once 'lib/swift_required.php'; | |
// Create the Transport | |
$transport = Swift_SmtpTransport::newInstance('staging-smtp.postmarkapp.com', 2525) | |
->setUsername('api_key') | |
->setPassword('api_key') | |
; | |
/* |
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
<?php | |
// Uses https://github.com/jjaffeux/postmark-inbound-php | |
require_once 'lib/Postmark/Autoloader.php'; | |
\Postmark\Autoloader::register(); | |
$inbound = new \Postmark\Inbound(file_get_contents('php://input')); | |
$filename = 'test.txt'; |
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
// ReSharper disable CheckNamespace | |
namespace RestSharp.Deserializers | |
// ReSharper restore CheckNamespace | |
{ | |
public class DynamicJsonDeserializer : IDeserializer | |
{ | |
public string RootElement { get; set; } | |
public string Namespace { get; set; } | |
public string DateFormat { get; set; } |
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
[WebInvoke(UriTemplate = "", Method = "POST")] | |
public Email Post(Email email) | |
{ | |
try | |
{ | |
repository.Add(email); | |
foreach (var file in email.Attachments) | |
{ |