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:
name: CI/CD Monorepo | |
env: | |
AWS_REGION: us-east-1 # N. Virginia | |
on: | |
push: | |
branches: | |
- main | |
paths-ignore: |
window.resize = (function () { | |
'use strict'; | |
function Resize() {} | |
Resize.prototype = { | |
init: function(outputQuality) { | |
this.outputQuality = (outputQuality === 'undefined' ? 0.8 : outputQuality); | |
}, |
////////////// JSON EXAMPLE | |
// { | |
// "title": "My title", | |
// "form": { | |
// "title": "My form", | |
// "buttons": { | |
// "send": "Enviar", | |
// "cancel": "Cancelar", | |
// "others": { | |
// "other": "<>" |
using System; | |
using System.Collections.Generic; | |
using Wox.Plugin; | |
namespace WOX.MyPlugin | |
{ | |
public class Main : IPlugin | |
{ | |
public void Init(PluginInitContext context) | |
{ |
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)); |
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) |
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 | |
{ |
#!/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" |
I hereby claim:
To claim this, I am signing this object:
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. |