I hereby claim:
- I am jmserrano-dev on github.
- I am jmserrano (https://keybase.io/jmserrano) on keybase.
- I have a public key ASCxKlPYQ-o3v5GavLpHyHwx1yg9FqzASiu6YUnu-1gSAAo
To claim this, I am signing this object:
From 27d8be0c7e50b84e6f8b49236ca00ecc32df490b Mon Sep 17 00:00:00 2001 | |
From: OlegBelousov <OlegBelousov@mail.ru> | |
Date: Wed, 25 May 2016 17:55:07 +0300 | |
Subject: [PATCH] Synchronous execution of asynchronous web api stack. | |
It covers including the following questions: | |
http://stackoverflow.com/questions/33026799/mono-net-support-for-async-await | |
http://stackoverflow.com/questions/37012143/mono-with-owin-authentication | |
http://stackoverflow.com/questions/34834346/404-response-appended-to-webapi-response |
From 27d8be0c7e50b84e6f8b49236ca00ecc32df490b Mon Sep 17 00:00:00 2001 | |
From: OlegBelousov <OlegBelousov@mail.ru> | |
Date: Wed, 25 May 2016 17:55:07 +0300 | |
Subject: [PATCH] Synchronous execution of asynchronous web api stack. | |
It covers including the following questions: | |
http://stackoverflow.com/questions/33026799/mono-net-support-for-async-await | |
http://stackoverflow.com/questions/37012143/mono-with-owin-authentication | |
http://stackoverflow.com/questions/34834346/404-response-appended-to-webapi-response |
// Check your expression cron with http://www.cronmaker.com/ | |
// Added Nuget NCrontab | |
// Added Nuget NCrontab.Advanced | |
void Main() | |
{ | |
var cronExpresions = new Dictionary<string, string> | |
{ | |
{"Todos los días", "0 0 * * *"}, | |
{"Todos los días laborables L-V", "0 0 * * 1-5"}, |
From b499a3e00b014f6333eb46e77269a00bdf260f8c Mon Sep 17 00:00:00 2001 | |
From: gttds <ollie.yeoh@gmail.com> | |
Date: Thu, 16 Jun 2016 23:46:21 +0800 | |
Subject: [PATCH] [System.Web] Fixes 50 year form authentication | |
This fixes the bug where form authentication tickets do not expire until 50 years later. | |
I bumped into this bug after upgrading mono from 4.2.2 to 4.4.0 | |
Firstly, the authentication ticket's expiry must always equal to the timeout attribute on the <forms/> element. It doesn't matter whether persistent or session cookies are used. |
I hereby claim:
To claim this, I am signing this object:
#!/bin/bash | |
MACHINE=$1 | |
# Assume executing in the directory of the Vagrant file | |
# This command will prompt for the Vagrant user's password, it's usually "vagrant" | |
ssh-keygen -y -f .vagrant/machines/$MACHINE/virtualbox/private_key | \ | |
vagrant ssh -c "mkdir .ssh; tee -a .ssh/authorized_keys; chmod 0600 .ssh/authorized_keys" |
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Text.RegularExpressions; | |
using System.Xml; | |
using System.Xml.Linq; | |
namespace GithubWikiDoc | |
{ |
public static class Guard | |
{ | |
public static void AgainstNull<T>(T value) | |
where T : class | |
{ | |
if (value == null) | |
throw new ArgumentNullException(); | |
} | |
public static void AgainstNull<T>(T value, string paramName) |
import React from "react"; | |
import { render } from "react-dom"; | |
import Styles from "./Styles"; | |
import { Form, Field } from "react-final-form"; | |
const sleep = ms => new Promise(resolve => setTimeout(resolve, ms)); | |
const onSubmit = async values => { | |
await sleep(300); | |
window.alert(JSON.stringify(values, 0, 2)); |
using System; | |
using System.Collections.Generic; | |
using Wox.Plugin; | |
namespace WOX.MyPlugin | |
{ | |
public class Main : IPlugin | |
{ | |
public void Init(PluginInitContext context) | |
{ |