Skip to content

Instantly share code, notes, and snippets.

View donal56's full-sized avatar
🏠
Working from home

Carlos Donaldo Ramon Gomez donal56

🏠
Working from home
View GitHub Profile
@donal56
donal56 / php_vscode_printing.json
Last active December 15, 2019 01:11
Visual Studio Code snippet_and_keybinding for forced printing/brute debug on PHP
{
// Place your snippets for php here. Each snippet is defined under a snippet name and has a prefix, body and
// description. The prefix is what is used to trigger the snippet and the body will be expanded and inserted. Possible variables are:
// $1, $2 for tab stops, $0 for the final cursor position, and ${1:label}, ${2:another} for placeholders. Placeholders with the
// same ids are connected.
// Example:
// "Print to console": {
// "prefix": "log",
// "body": [
// "console.log('$1');",
@donal56
donal56 / evaldoc.js
Last active February 16, 2021 16:50
Evaluacion docente ITVH automática en base a dos preguntas
var avg = prompt('¿Que calificación le pondría al profesor (0-100)?');
var repre = prompt('¿Considera que el maestro toma represalias contra los alumnos?\n1= No 2 3= No estoy seguro 4 5= Sí');
var mySet = new Set();
var aux = [];
var cont= 0;
var desfase= 5;
var cont_ciclos= 0;
var fDispersion= 1; /*(0-20), cambiara a los elementos asi de cercanos o lejanos*/
avg = Number(avg);