$ git remote set-url origin <remote_repo>
$ git checkout -- .
$ git reset --hard
var sequence = Enumerable.Range(0, 3).ToList(); | |
while(true) { | |
sequence.ForEach(e => Console.Beep(650, 100)); | |
Thread.Sleep(200); | |
sequence.ForEach(e => Console.Beep(650, 400)); | |
Thread.Sleep(200); |
string[] scopes = new string[] {DriveService.Scope.Drive}; // Full access | |
var keyFilePath = @"c:\file.p12" ; // Downloaded from https://console.developers.google.com | |
var serviceAccountEmail = "xx@developer.gserviceaccount.com"; // found https://console.developers.google.com | |
//loading the Key file | |
var certificate = new X509Certificate2(keyFilePath, "notasecret", X509KeyStorageFlags.Exportable); | |
var credential = new ServiceAccountCredential( new ServiceAccountCredential.Initializer(serviceAccountEmail) { | |
Scopes = scopes}.FromCertificate(certificate)); |
<%@ WebHandler Language="C#" Class="PassThruProxy" Debug="true" %> | |
using System; | |
using System.Diagnostics; | |
using System.IO; | |
using System.Text; | |
using System.Web; | |
/** | |
* <summary><c>PassThruProxy</c> is a simple pass-through proxy interface for C#.NET (IIS Servers).</summary> |
SELECT DISTINCT | |
'InputParameter', | |
REPLACE(mreq.Name, '{Entity.PrimaryEntityName}', ''), | |
mrf.Name, | |
CASE | |
WHEN CHARINDEX(',', mrf.ClrParser) > 0 THEN SUBSTRING(mrf.ClrParser, 1, CHARINDEX(',', mrf.ClrParser) - 1) | |
ELSE mrf.ClrParser | |
END, | |
CASE | |
WHEN mrf.Optional is null THEN 1 |
using System; | |
using System.Net; | |
using System.Text; | |
using System.Threading; | |
namespace ExampleSimpleWebserver | |
{ | |
class Program | |
{ | |
static void Main (string[] args) |
if (EomAppCommon.Settings.DebugEomDatabase) | |
{ | |
var form = new System.Windows.Forms.Form(); | |
var grid = new System.Windows.Forms.DataGridView { | |
AutoGenerateColumns = true, | |
Dock = System.Windows.Forms.DockStyle.Fill, | |
DataSource = | |
(from c in new [] { | |
Tuple.Create("DADatabaseR1ConnectionString", this.DADatabaseR1ConnectionString), | |
Tuple.Create("StatsYear", this.StatsYear.ToString()), |
chrome.tabs.query({'active': true, 'lastFocusedWindow': true, 'currentWindow': true}, function (tabs) { | |
var url = tabs[0].url; | |
console.log(url); | |
}); |
public interface IHttpMessageSerializer | |
{ | |
void Serialize(HttpResponseMessage response, Stream stream); | |
void Serialize(HttpRequestMessage request, Stream stream); | |
HttpResponseMessage DeserializeToResponse(Stream stream); | |
HttpRequestMessage DeserializeToRequest(Stream stream); | |
} | |
public class MessageContentHttpMessageSerializer : IHttpMessageSerializer |
Please petition Github to support HTTPS on github pages: https://github.com/contact
Here's what I wrote:
Obviously, a lot of people want HTTPS for github pages:
Until recently, that would be difficult to implement but, as it turns out, the implementation is pretty much complete: