Skip to content

Instantly share code, notes, and snippets.

View mauricioschneider's full-sized avatar

Mauricio Schneider mauricioschneider

View GitHub Profile
@mauricioschneider
mauricioschneider / upgrade-auth-wp-plugin-to-v4.md
Last active March 27, 2020 15:01 — forked from ashishdasnurkar/upgrade-auth-wp-plugin-to-v4.md
Step by step instructions to manually upgrade Login with Auth0 WordPress plugin to v4

Upgrading Login with Auth0 WordPress Plugin Manually

Recommended Previous Steps

  1. Please consider putting your WordPress site in maintenance mode while you perform the upgrade.
  2. Backup your WordPress site if you haven’t already.

Upgrade Process

Prerequisites

  1. Download the WordPress.Plugin.4.zip file to your local machine.
@mauricioschneider
mauricioschneider / clinical-features-covid-19.txt
Created March 14, 2020 15:28
Clinical Features of Covid-19
Clinical features
Fever ( 89.8% ) and Cough ( 67.2% ) were common clinical symptoms. The rate of patients with sore throats (14.1%) was rare. The rate of chest computed tomography scan showing ground glass opacity in overall, non-severe, severe groups were 63.3%, 60.7%, 76.2%, respectively
https://www.medrxiv.org/content/10.1101/2020.02.23.20026963v1
The common symptoms at admission were dry cough (34, 91.0%), and fever (29, 69.0%). Nearly 60% of the patients had showed ground-glass opacity by chest CT findings.
https://www.medrxiv.org/content/10.1101/2020.03.10.20032136v1
Kids: Nine patients had no obvious clinical symptom. 11 patients developed fever. Other symptoms, including cough(in eleven of seventeen patients), rhinorrhea(in two), diarrhea(in two), vomiting(in two), were also observed
https://www.medrxiv.org/content/10.1101/2020.03.08.20029710v1

Keybase proof

I hereby claim:

  • I am mauricioschneider on github.
  • I am mschr (https://keybase.io/mschr) on keybase.
  • I have a public key ASClIl-Klq_QYAf8KoONumY7TSfcvrMOzoI_gP0Spgj8ZQo

To claim this, I am signing this object:

@mauricioschneider
mauricioschneider / vertical-scroll.css
Created February 5, 2016 14:16
vertical-scroll.css
::-webkit-scrollbar {
-webkit-appearance: none;
width: 7px;
}
::-webkit-scrollbar-thumb {
border-radius: 4px;
background-color: rgba(0,0,0,.5);
-webkit-box-shadow: 0 0 1px rgba(255,255,255,.5);
}
@mauricioschneider
mauricioschneider / test.js
Last active January 18, 2016 19:45
root_opts
var express = require('express'),
path = require('path');
var app = express();
// access to views & assets
app.use(express.static('app/views/'));
app.use(express.static('app/assets/css'));
app.use(express.static('app/assets/javascript'));
app.use(express.static('app/assets/javascript/components/'));
app.use(express.static('public'));
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Obtener estilo definido por clase.</title>
<style>
.test{
font-size: 14px;
height: 400px;
background: #fff;
@mauricioschneider
mauricioschneider / bancoylactm.js
Last active August 29, 2015 13:57
Habilitar paste en formulario transferencia.
// llamar el frame que contiene el formulario. Porque aún estamos en 1995, los desarrolladores del sitio aún usan frames.
var frame = document.getElementsByTagName("frame")[2]; var frame_doc = frame.contentWindow.document || frame.contentDocument;
// obtener todos los elementos del DOM que corresponden a inputs
var elements = frame_doc.getElementsByTagName("input");
// generar un arreglo con los input, para poder iterarlo usando forEach, porque NodeList no implementa ese método
var nodes = Array.prototype.slice.call(elements,0);
// iterar cada nodo cambiando su atributo onpaste por un lindo string vacio
nodes.forEach(function(node){
node.setAttribute("onpaste", "");
});
{
"auto_complete_commit_on_tab": false,
"bold_folder_labels": true,
"caret_style": "solid",
"theme": "predawn.sublime-theme",
"color_scheme": "Packages/Predawn/predawn.tmTheme",
//"color_scheme": "Packages/Colorsublime/Tomorrow_Night_Bright.tmTheme",
//"theme": "Phoenix Dark.sublime-theme",
"create_window_at_startup": false,
"enable_telemetry": false,