Interesting questions
-
1
votes1
answer225
viewsHow do I leave an option like "default" on a combobox?
I have a combobox with several "values". I will "fail" values, just for example. Combobox: <ul class="nav"> <li> <div> <label>Tipo de Nacionalidade</label> <select…
-
0
votes0
answers14
viewsTDD with Jest and sequelize - POSTGRES Migration error for SQLITE
I am implementing TDD with Jest in a Node with express application, my database is POSTGRES and I have several sequelize Migrations already configured, and for my test scenarios I am running these…
-
1
votes2
answers38
viewsHow to configure URL to center object
I made a navbar that when clicking an item it redirects to the same page for a div that has the attribute id, but the site is navbar on top of the text <li> <a…
-
2
votes1
answer110
viewsPrinting a vector... Differences between C++ and C... Where did I go wrong?
I’m having problems printing vector structs in C, in C++ it worked... First I will show the version in C with problems (in the execution because compiles without errors) CACHE cache =…
-
1
votes1
answer72
viewsOR returns unexpected result
I’m performing that function SELECT COUNT(id) FROM `system_stats` WHERE `name` = 1 OR 0 AND `us_id` = 0 It returns me a value equal to 1, but this 1 no, when I run separately this way, it returns me…
-
1
votes1
answer127
viewsReplace default CTRL+F from browsers with a jQuery event
Where I have tables on my system, in almost all used the plugin dataTables to customize, but my plugin ta a little modified. In the modification in question, the search field inside the table is…
-
2
votes1
answer1593
viewsUploading files with Vue-Resource
How do I upload an image with Vue-Resource!? I’ve tried several ways but I can’t! Someone has a functional example?
vue.jsasked 9 years, 4 months ago Gustavo Bissolli 181 -
6
votes2
answers4450
viewsHow to use openssl_encrypt encryption method?
It’s been a week that I search in everything that is site but I can not understand, I’m very curious about the use of this function but I can not find anything that explains in a simple way, someone…
phpasked 9 years, 3 months ago Otavio Fagundes 978 -
0
votes1
answer230
viewsInclude PHP and directories?
$url = "https://". $_SERVER['SERVER_NAME']. $_SERVER['REQUEST_URI'] ; Result = localhost/Dashboard/folders/test/Florianopolis.php This code above shows me everything, including the file name. It has…
-
0
votes2
answers103
viewsError giving python Mysql Insert
I have the table in my bank: create table tweets( ID_Tweet int not null auto_increment, ID_Candidato int not null, Conteudo_Tweet varchar(470) not null, constraint PK_tweets_ID primary key…
-
0
votes2
answers289
viewsRedirect with . htaccess if url contains string
I am working on an application using Angular4 and PHP, for the Angular URL to work, I need to use a certain configuration in .htaccess to direct to the index.html, thus: <IfModule…
-
2
votes1
answer153
viewsHow to pass the return of a function that is a tuple as arguments to another one in Python?
I’m trying to return multiple values from one function to another with multiple parameters: def chamar_ab(): a = 1 b = 2 return a, b #tupla def soma(x, y): return x + y But using it doesn’t seem…
-
0
votes1
answer53
viewsHow to show data stored in Firebase on Ionic?
Provider import { AngularFireDatabase } from '@angular/fire/database'; import { Injectable } from '@angular/core'; @Injectable() export class ContatoProvider { private PATH = "contatos/";…
-
-1
votes1
answer244
viewsHtml and Css back a row in the table
There’s a For that goes line by line a list. This list returns me input and output of a process. The problem is that it does not return in the same row because it is either input or output. I would…
-
1
votes1
answer928
viewsRegular expression Pattern, minimum 1 blank space
I have a form with an input field and Pattern attribute that is allowed uppercase and lowercase letters, but also need to have at least one blank space (mandatory) and more space occurrences at…
html5asked 8 years ago Wellington Pragidi 19 -
4
votes1
answer3221
viewsError Call to Undefined Function split()
Everything in my code appears to be correct however the error: "Call to Undefined Function split()" is presented to me on the screen when running my script so I saw the error is on line 31 how can I…
-
-2
votes2
answers314
viewsRepeat Block with animation - CSS - PHP
I have an animation on my site, and I need to duplicate it, I mean, I need to create more of a "square" with the animation, without it conflicting with another: WEBSITE from a glance down there, and…
-
2
votes1
answer179
viewsAfter doing Insert, redirect to the list of records in Kohana
I started working with Kohana yesterday and I got a problem here. My default Controller is the "page" and the action is "home". In the "page" Controller I have these functions here to mount the…
-
1
votes1
answer320
viewsDevise: Edit account without need to confirm password
Hello, this is my problem: I have an application (Rails 4) with the gem 'devise' and gem 'omniauth-facebook'. Who logs in with facebook at the time of editing the account appears error "Current…
-
2
votes1
answer114
viewsRelating distinct foreign keys in a column?
Hello, I am creating a table to register materials or services that depend on two other tables to form your cost center (Foreign key), depending on the type of registration. If I’m going to register…