I have a sidebar, which can contain n items in a listing.
My sidebar looks something like this:
In my source code, I set the following css to work:
.sidebar {
max-height: 400px;
overflow-y: auto;
}
Now my question...
Work with a simple task of Gulp , created to perform a deploy in the production environment. In a simplified way, the task is:
gulp.task('deploy-prod', function () {
return gulp.src('dist/**')
.pipe(sftp({
h...
In Scala we have case classes , for example:
case class Pessoa(nome: String, sobrenome: String)
and in Kotlin we have data classes :
data class Pessoa( val nome: String, val sobrenome: String )
What's the difference between...
I'm trying to send a data to a PHP page with AJAX, but I can not figure out how to make it work, I'll explain what I have so far!
The dropdown menu has the following code:
<div class="btn-group">
<button class="btn btn-danger btn-...
I ran the sudo apt-get upgrade command and received the PHP PPA discontinuation message.
After updating the PHP version, when I run php -v , the following appears:
PHP 5.6.23-1+deprecated+dontuse+deb.sury.org~trusty+1
In th...
I'm creating a push notification system with firebase in my project.
The code that generates the push looks like this:
notificationBuilder = new NotificationCompat.Builder(this)
.setSmallIcon(R.drawable.ic_notification)
.setColor(getResourc...
How do I multiply the pointer as soon as I assume a value to it?
#include <stdlib.h>
#include <stdio.h>
int main (void) {
int a,*b,*c,*d;
printf ("\nInforme um valor: ");
scanf ("%i",&a);
b = &a; // Co...
I'm using JDBC and taking an image to save to the database. But I want to save the image to HD and save it to the bank only the path ( path ) of it.
I wanted to know what is the best type I use to manipulate and save the image ( Imag...
I'm having a hard time using as.Date to convert a column with dates (year with only two characters) into date.
As.Date autocompletes the year in the wrong way, producing results like 2066 (instead of 1966)
> head(data_de_nascimento)...
Looking at the Comparing with DateTime class, is the date function more performative? and I did some testing with Daniel Omine's response , but I got results that did not seem to me to be reliable.
How can I get the runtime of a PHP scri...