This file contains 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
/* | |
En application.properties: | |
server.error.whitelabel.enabled=false | |
spring.web.resources.static-locations=classpath:/static/ | |
*/ | |
package me.rulokoba.studio; | |
import java.net.MalformedURLException; | |
import java.nio.file.Path; |
This file contains 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
MsgBox % Format("RControl as Fn") | |
Hotkey, *w, off | |
Hotkey, *a, off | |
Hotkey, *s, off | |
Hotkey, *d, off | |
Hotkey, *q, off | |
Hotkey, *e, off | |
Hotkey, *x, off |
This file contains 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
console.log("MongoDB Test"); | |
const mongoose = require("mongoose"); | |
mongoose.set("strictQuery", false); | |
async function main () { | |
// const url = `mongodb://127.0.0.1:27017/studio`; | |
const username = 'rulo_00'; |
This file contains 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
/target/ | |
!.mvn/wrapper/maven-wrapper.jar | |
### STS ### | |
.apt_generated | |
.classpath | |
.factorypath | |
.project | |
.settings | |
.springBeans |
This file contains 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
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases. | |
; #Warn ; Enable warnings to assist with detecting common errors. | |
; SendMode Input ; Recommended for new scripts due to its superior speed and reliability. | |
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory. | |
#if GetKeyState("CapsLock", "T") | |
*w::send {blind}{Up} | |
*a::send {blind}{Left} | |
*s::send {blind}{Down} | |
*d::send {blind}{Right} |
This file contains 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
MsgBox % Format("You are using AutoHotkey v{1} {2}-bit.", A_AhkVersion, A_PtrSize*8) | |
Hotkey, *w, off | |
Hotkey, *a, off | |
Hotkey, *s, off | |
Hotkey, *d, off | |
Hotkey, *[, off | |
Hotkey, *], off | |
Hotkey, *;, off |
This file contains 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
controller.uploadPhoto = async function (req, res) { | |
try { | |
const form = new formidable.IncomingForm(); | |
form.parse(req, function (err, fields, files) { | |
if (err) throw err; | |
// photo debe enviado por el form | |
if (!files.photo) { | |
return res.status(402).json({ | |
message: 'Falta archivo enviado', | |
help: 'Uso: El archivo debe ser enviado en un multipart/form-data como photo' |
This file contains 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
export default { | |
data: function () { | |
return { | |
imageFile: null, | |
result: null, | |
error: null, | |
loading: false, | |
verbose: true, | |
} | |
}, |
This file contains 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 fechas = ["01/12/2021", "06/12/2021", "08/12/2021", "13/12/2021", "15/12/2021", "20/12/2021", "22/12/2021", "27/12/2021", "29/12/2021", "04/09/2022"]; | |
const fechasAgrupadas = { | |
lunes: [], | |
martes: [], | |
miercoles: [], | |
jueves: [], | |
viernes: [], | |
sabado: [], | |
domingo: [], | |
}; |
This file contains 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
import java.text.ParseException; | |
import java.text.SimpleDateFormat; | |
import java.util.ArrayList; | |
import java.util.Calendar; | |
import java.util.Date; | |
import com.google.gson.Gson; | |
import com.google.gson.GsonBuilder; | |
public class FormatFecha { |
NewerOlder