Skip to content

Instantly share code, notes, and snippets.

@yaronn
yaronn / gist:e4a9452bd56d87aac53a
Created November 16, 2015 17:05
python http echo server
from BaseHTTPServer import HTTPServer, BaseHTTPRequestHandler
from optparse import OptionParser
class RequestHandler(BaseHTTPRequestHandler):
def do_GET(self):
request_path = self.path
print("\n----- Request Start ----->\n")
@yaronn
yaronn / gist:6f48c52b985c2fef195d
Created November 23, 2015 00:43
sublime move tabs with pageup
[
{ "keys": ["command+pagedown"], "command": "next_view" },
{ "keys": ["command+pageup"], "command": "prev_view" }
]
using System;
using System.Text;
using System.ServiceModel.Channels;
using System.Xml;
using System.IO;
using System.Security.Cryptography;
using System.Resources;
using System.Security.Cryptography.X509Certificates;
namespace eMedNySOAPClient
http://stackoverflow.com/questions/10393541/how-can-i-control-which-elements-are-signed-in-a-wcf-soap-request