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
new Date().format("yyyy-MM-dd'T'HH:mm:ss'Z'", TimeZone.getTimeZone("UTC")) |
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
[192.168.33.20] out: | |
[192.168.33.20] out: ERRORS: | |
[192.168.33.20] out: django_messages.Message.recipient: (fields.E304) Reverse accessor for 'Message.recipient' clashes with reverse accessor for 'Message.recipient'. | |
[192.168.33.20] out: HINT: Add or change a related_name argument to the definition for 'Message.recipient' or 'Message.recipient'. | |
[192.168.33.20] out: django_messages.Message.recipient: (fields.E305) Reverse query name for 'Message.recipient' clashes with reverse query name for 'Message.recipient'. | |
[192.168.33.20] out: HINT: Add or change a related_name argument to the definition for 'Message.recipient' or 'Message.recipient'. | |
[192.168.33.20] out: django_messages.Message.sender: (fields.E304) Reverse accessor for 'Message.sender' clashes with reverse accessor for 'Message.sender'. | |
[192.168.33.20] out: HINT: Add or change a related_name argument to the definition for 'Message.sender' or 'Message.sender'. | |
[192.168.33.20] out: django_messages.Message.sender: (fields.E305) Reverse query name for ' |
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
[192.168.33.20] out: Creating table corsheaders_corsmodel | |
[192.168.33.20] out: Creating table django_summernote_attachment | |
[192.168.33.20] out: Creating table notifications_notification | |
[192.168.33.20] out: Creating table oembed_providerrule | |
[192.168.33.20] out: Creating table oembed_storedoembed | |
[192.168.33.20] out: Creating table postman_message | |
[192.168.33.20] out: Creating table messages_messagesent | |
[192.168.33.20] out: Creating table core_seccion | |
[192.168.33.20] out: Creating table core_reporteinapropiado |
-o allexport enables all following variable definitions to be exported. +o allexport disables this feature.
set -o allexport
source conf-file
set +o allexport```
lsof -w -n -i tcp:8080
kill $PID
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
$("#form-password").submit((e)=>{ | |
e.preventDefault(); | |
$.ajax({ | |
type: "POST", | |
url: "/api/parent/new-password", | |
data: JSON.stringify({token: $.url("?token"), password: $("#form-password input[name=password]").val()}), | |
contentType: "application/json", | |
success:function() { | |
location.replace('password-successful.html'); | |
}, |
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
window.Parsley.addValidator('uppercase', { | |
requirementType: 'string', | |
validateString: function(value, requirement) { | |
var uppercases = value.match(/[A-Z]/g) || []; | |
return uppercases.length >= requirement; | |
}, | |
messages: { | |
en: 'La contraseña debe tener al menos una letra mayúscula' | |
} | |
}); |
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
window.Parsley.addValidator('uppercase', { | |
requirementType: 'string', | |
validateString: function(value, requirement) { | |
var uppercases = value.match(/[A-Z]/g) || []; | |
return uppercases.length >= requirement; | |
}, | |
messages: { | |
en: 'La contraseña debe tener al menos una letra mayúscula' | |
} | |
}); |
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
var mediaJSON = { "categories" : [ { "name" : "Movies", | |
"videos" : [ | |
{ "description" : "Big Buck Bunny tells the story of a giant rabbit with a heart bigger than himself. When one sunny day three rodents rudely harass him, something snaps... and the rabbit ain't no bunny anymore! In the typical cartoon tradition he prepares the nasty rodents a comical revenge.\n\nLicensed under the Creative Commons Attribution license\nhttp://www.bigbuckbunny.org", | |
"sources" : [ "http://commondatastorage.googleapis.com/gtv-videos-bucket/sample/BigBuckBunny.mp4" ], | |
"subtitle" : "By Blender Foundation", | |
"thumb" : "images/BigBuckBunny.jpg", | |
"title" : "Big Buck Bunny" | |
}, | |
{ "description" : "The first Blender Open Movie from 2006", | |
"sources" : [ "http://commondatastorage.googleapis.com/gtv-videos-bucket/sample/ElephantsDream.mp4" ], |
NewerOlder