This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
// 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');", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package app; | |
import javax.swing.BorderFactory; | |
import javax.swing.Box; | |
import javax.swing.BoxLayout; | |
import javax.swing.JFrame; | |
import javax.swing.JLabel; | |
import javax.swing.JPanel; | |
import javax.swing.JScrollPane; | |
import javax.swing.JScrollBar; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#set($words = $entity.databaseTable.split("_")) | |
#set($attr = "") | |
#foreach($word in $words) | |
#set($attr = $attr + $fn.capitalize($word)) | |
#end | |
#set($ruta = $entity.databaseTable.replace("_", "/")) | |
#set($lc= $fn.uncapitalize(${attr})) | |
package ${ROOT_PKG}.${MAVEN_GROUP_ID}.${MAVEN_ARTIFACT_ID}.controllers; | |
import javax.validation.Valid; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
_debug = true; | |
/* | |
* Validar una curp con base en datos personales | |
* | |
* @param {Object} persona - Datos de la persona | |
* nombre {String} | |
* apellidoPaterno {String} | |
* apellidoMaterno {String|null} | |
* fechaNacimiento {Date} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Custom discord | |
// @namespace http://tampermonkey.net/ | |
// @version 0.1.1 | |
// @description Enlarge discord emojis and loop videos | |
// @author Doni | |
// @match https://discord.com/* | |
// @icon https://i.imgur.com/rE9N0R7.png | |
// @grant none | |
// ==/UserScript== |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const exec = require('child_process').exec; | |
const deepl = require('deepl-node'); | |
const puppeteer = require('puppeteer'); | |
const URL = require('url').URL; | |
const fs = require('fs'); | |
const properties = require('./properties.js'); | |
// Datos del club | |
const baseUrl = "https://aguri-onishi.com"; | |
const loginUrl = baseUrl + "/signin"; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const fs = require('fs'); | |
const path = require('path'); | |
const deepl = require('deepl-node'); | |
const properties = require('./properties.js'); | |
// Datos de DeepL | |
const apiKey = properties.deepl.apiKey; | |
const translator = new deepl.Translator(apiKey); | |
const targetLanguage = "ES"; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Custom Tokyo Otaku Mode | |
// @namespace http://tampermonkey.net/ | |
// @version 0.1 | |
// @description Display hearth buttons more clearly | |
// @author Doni | |
// @match https://otakumode.com/* | |
// @icon https://d1u8dm08vp3e0x.cloudfront.net/images/common/apple-touch-icon.png | |
// @grant none | |
// ==/UserScript== |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Given an m x n 2D binary grid grid which represents a map of '1's (land) and '0's (water), return the number of islands. | |
* An island is surrounded by water and is formed by connecting adjacent lands horizontally or vertically. | |
* You may assume all four edges of the grid are all surrounded by water. | |
* | |
* Example 1: | |
* | |
* Input: grid = [ | |
* ["1","1","1","1","0"], | |
* ["1","1","0","1","0"], |
OlderNewer