I need to create bookmarks with dynamic sizes in the form of bubbles. I've searched for libraries and tutorials but can't find a solution.
I need something like that image. Thanks for the help !
Is it possible that the cell sizes of a jquery datatable can be modified as the excel tool does?
I have a problem, I have made a function that executes a setInterval
.
The first time the function is called it works fine (every second) but when I call it several times, the time goes haywire as if it was executing the ones setInterval
from the previous calls.
How can you reset the time so that it always works to one second?
function ejecutar_timer(){
var valor = 0;
clearInterval(timerId);
timerId = setInterval(function(){
valor = valor + 1;
}, 1000);
}
I need to rename a Json property from an array
[
{
nombre : 'Luis',
apellido : 'Gonzales'
},
{
nombre : 'Maria',
apellido : 'Perez'
},
{
nombre : 'Ignacia',
apellido : 'Valdebenito'
}
]
and I need to modify it as follows
[
{
nombreUsuario : 'Luis',
apellidoUsuario : 'Gonzales'
},
{
nombreUsuario : 'Maria',
apellidoUsuario : 'Perez'
},
{
nombreUsuario : 'Ignacia',
apellidoUsuario : 'Valdebenito'
}
]
Is it possible to do it through a function and not do it through a loop for
that goes through the array to enter it in another?
I have the following problem, once I have to program in nodejs when executing the nodejs application from the console (node app.js) there is a busy port (example port:3000).. when closing the app ( Ctrl+ C) .. The port is still busy and when I run nodejs again it throws me an error Error: listen EADDRINUSE
because it says that there is already an application that uses that port.
When closing it does not close correctly and the port remains open, what I do is look for the app id and kill the port with the command kill
but that takes too many hours when performing a deploy
Is there another way to (safely) close an app in nodejs?
I have a "for" loop and I need to add a one second slip for each loop traversed
for (int i = 0 ; i <= 10000; i++) {
//Función o algo que haga que se pare la aplicación en un segundo
}
I'm entering events into FullCalendar, but I'm having a problem with each event spanning too many hours (or boxes). I need each event to use a checkbox to make it look neater.
This is the JSON of my event id:
'{{ $hora->id }}', title: 'Paciente: {{ $hora->paciente_nombre." ".$hora->paciente_apellido }}
Profesional : {{ $hora->profesional_nombre." ".$hora->profesional_apellido }} ', start: moment('{{ $hora->fecha_hora }}').format('YYYY-MM-DD hh:mm'), backgroundColor: '{{ $hora->color }}',
I am trying to upload my project in laravel to my vps server. I don't know how to manage multiple projects on apache web server.
My directory structure is /var/www/html ...
According to what I read in the tutorials, it says that you have to leave the project before the folder that is public (in my case html) in this way it was left with /var/www/proyecto_laravel..
but I have no idea how to show the public part, in reality I am a little lost.
What I don't want is to leave my entire laravel project in the html folder as the configuration files are exposed.
How is software licensed to MIT? I am in the process of licensing my software and I don't know how or what to do to do it. I have seen how software can be licensed under the GPL.
The GNU GPL states that a notice like this should be placed at the beginning of every source code file:
Copyright (C)
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/
Dear, I have a big problem. I am making a time reservation system, therefore I am using fullcalendar.io
a fairly complete library.
What I need to do is: How to color a light green or transparent green, certain times of the week on a regular basis. As if to show that those hours are available.
For that I added an event but in fullcalendar it does not support periodic events (repeating every Monday). I need to only color the available hours with a start time, end time and the day of the week.
Is it possible to do that?
$('#calendario').fullCalendar({
defaultView: 'agendaWeek',
allDaySlot: false,
header: {
left: 'prev,next today myCustomButton',
center: 'title',
right: 'month,agendaWeek,agendaDay'
},
dayClick: function(date, jsEvent, view) {
//alert('Clicked on: ' + date.format());
$("#hora_seleccionada").html(date.format("MM/DD/YYYY, h:mm:ss"));
}
});