Posts by Israel Sousa • 1,362 points
44 posts
-
3
votes2
answers384
viewsQ: Is there a standard for structuring an HTML site?
I am creating a website and have the following structure: <body> <div class="container"> <?php require_once('includes/header.php'); ?> <?php require_once('includes/main.php');…
-
0
votes0
answers82
viewsQ: Show image after closing the application and open novament
I have this code, and with it I can take a photo and display the photo instead of the camera image right after closing the camera. But how to make last picture taken on camera appear when opening…
-
0
votes1
answer270
viewsQ: How to replace a parameter of a PHP function with a file you will receive from a form?
It’s the following guys, I have this form that sends a file to the server: <!DOCTYPE html> <html> <head> <title>Enviando arquivos</title> </head> <body>…
-
2
votes1
answer280
viewsQ: Site_url does not work in Codeigniter
I’m following a tutorial of Codeigniter this snippet of code is not working on my machine, I’ve set everything right, even the other tutorials have worked, but this snippet of code is not working:…
codeigniterasked Israel Sousa 1,362 -
2
votes2
answers107
viewsQ: Application database query made in C#
I am creating an application in C#, but a question came to me. Which database is used so that it is not necessary to install the database in the client’s system? For example: If I were to use…
-
5
votes1
answer357
viewsQ: How to manage Session with Session in C# desktop and non-web applications?
I can’t find an example of using the Session object for desktop applications, all I find are for applications made in C# for the web with Asp, etc. Does anyone know how to check if a user is…
-
0
votes2
answers5572
viewsQ: Connect application to Postgresql?
Rstou wanting to connect a simple application made in C# to a Postgresql database, what I would like to know is if the procedure is similar to Java, in which I have to create a connection class, a…
-
0
votes1
answer146
viewsQ: C# - Mouseleave Event does not work under a different label
I created two Labels with different names and created two methods for each Label responsible for making an event Hover kind of similar in CSS (was just a comparison). //Evento responsável por fechar…
-
5
votes2
answers3902
viewsQ: C# - How to remove the Maximize bar, Minimize, but only keep one Close button?
I created a graphic component and wrote a command line that removed the control bar from the graphic component, but all the buttons are gone. Is there any way to just let the Close button? Or I’ll…
-
3
votes1
answer170
viewsQ: Questions in Windows Forms and C#
I’m trying to learn C# but I have a hard time understanding the hierarchy of files and folders of Solution Explorer from Visual Studio 2013. I can’t understand why there are two files .Cs, which is…
-
6
votes1
answer2922
viewsQ: How to make a page load time progress bar?
How to make a progress bar that loads as the page loads? Like on this site here: http://sinalverdecaxias.com/ I saw an example in codepen.io, is kind of like this, I don’t know what this progress…
-
0
votes3
answers1950
viewsA: How to Fix File Upload Error?
You have to use an extension check of the files that will be sent, in case only files that have the extension .csv. Example: function comprova_extensao(formulario, arquivo) { extensoes_permitidas =…
-
0
votes1
answer311
viewsA: Google Translate script does not translate and does not generate error
There is a simpler way to do this and with more languages HTML: <div id="google_translate_element"> <script…
-
2
votes2
answers694
viewsA: Count html pages with php
Following is an example of a code for pagination, all lines are commented. <?php //inclusão da conexão com banco de dados require('config/conectaBd.php'); //A quantidade de valor a ser exibida…
-
6
votes4
answers455
viewsA: Is it appropriate to create a`CSS Sprite` with disparate images?
Combine images using sprites CSS Sprites is an old but still widely used technique, used for a long time on low memory consoles to store large amounts of images and information. Always use CSS…
cssanswered Israel Sousa 1,362 -
5
votes1
answer1258
viewsA: Frameworks for testing Android applications
Recommended test types for mobile apps Many testers have doubts about the types of tests that should be run in mobile applications. Each day the number of mobile devices increases and the mobile…
-
2
votes1
answer281
viewsA: Optimize search in Mysql
Pay attention to this text. 1) You must configure indexes for the fields you use in WHERE. The first step is to make a plan and try to find the fields that are taking time and resources from the…
-
20
votes2
answers32556
viewsA: How to remove duplicate lines efficiently?
Let’s take an example with the Mysql database, with a table called nomes, containing the fields id and nome. This syntax can be used in other databases, we will use the following command: DELETE a…
-
3
votes2
answers733
viewsQ: How to call two animations in an element that uses ":Hover"?
I have the following code: body { margin: 0; padding: 0; background: #885053; } #hide { width: 100%; height: 0px; background: #fe5f55; margin: 0 auto; -webkit-animation: hideSlideDown 0.5s forwards;…
-
2
votes2
answers480
viewsQ: How to keep the element in the final position of the animation?
I am using this code to make an effect and keep the element in the final position of the animation, ie to the right. HTML: <div id="anim"> </div> CSS code: #anim{ position: relative;…
-
2
votes1
answer98
viewsQ: Doubt about the property "Animation-name"
I am studying all properties of CSS3 and came to me a doubt about the property Animation-name. The value that is given to this property is either customizable or is a language default value? Doubt…
-
1
votes1
answer70
viewsA: Privilege of Adm (Windows 7)
Windows 7 by default comes with the Administrator account (with full privileges) disabled for security reasons and even if you search for it in the system’s user list you will not find it. Every…
windowsanswered Israel Sousa 1,362 -
1
votes1
answer405
viewsQ: I can’t get jQuery Vegas plugin to work
I’m trying to try a plugin jQuery called vegas to make a background fullscreen but not working, I did according to what is on the site, imported all libraries, the jQuery and the archives .css of…
-
3
votes2
answers180
viewsQ: Problem in fixed layout creation
Guys, I’m having trouble creating a layout fixed that only adapts to the height or width of the screen, whether mobile or desktop. But it is not a responsive site, it is a normal site for desktop,…
-
0
votes1
answer503
viewsA: Javascript to simulate Keyboard
Maybe that’s what you want, just using the "autofocus" attribute in "input". <!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <title>focus…
-
0
votes2
answers93
viewsQ: What is the right way to configure the body of the page before you start styling the other elements?
I am starting a project and I have a question, what is the best way to configure the body of the page before styling the other elements? beyond the body of the page you use a div for example as a…
layoutasked Israel Sousa 1,362 -
2
votes1
answer82
viewsQ: Tools for color combination
People I’m starting to develop projects for Web and one difficulty I have is to associate colors or combine them. Thinking about it I found a tool called "Adobe Kuler" that helps me from time to…
-
1
votes1
answer258
viewsQ: White spacing when you zoom in full on the mobile page and screen
Guys can not find the error that is generating this white band on the screen when I give a full zoom and the mobile screen when I access by it. <!DOCTYPE html> <html> <head>…
-
4
votes5
answers25409
viewsQ: Shortcut to rename, overwrite, or replace words or variables alike in Sublime Text 3
In Eclipse, there is a feature that is triggered by the commands CTRL + ALT + U (Correct me if I’m wrong) which renames variables with the same name. Do you know any shortcut from Sublime Text 3 do…
sublime-textasked Israel Sousa 1,362 -
16
votes4
answers3955
viewsQ: Different style sheet for each page or only one?
I’m developing a website and came up with a question regarding a somewhat boring situation... When you’re developing a web project you use just one style sheet for the whole site or you make a style…
cssasked Israel Sousa 1,362 -
1
votes1
answer4355
viewsQ: Link does not work when clicked
I have this code from a menu and when clicked on the item Bio the link does not work: <ul id="ul-menu"> <li class="li-menu"><a class="scroll"…
-
1
votes2
answers5377
viewsQ: Compare "input" element values with javascript or jQuery
Guys, I tried to make this fiddle to understand how to compare conditions of elements with javascript, but I don’t know what went wrong. var username = "admin"; var password = "admin"; function…
jqueryasked Israel Sousa 1,362 -
1
votes0
answers364
viewsQ: Anchor does not stop at the beginning of the div and link does not remove blue subline
Good afternoon guys, I’m building a site of only one page and navigation by anchors but I’m having a problem, by clicking on the menu that redirects to the anchor of the div corresponding to the…
-
1
votes0
answers668
viewsQ: How to access a directory of a website that returns a Forbidden 403 error?
Is there any way to access a directory of a site that returns a 403 Forbiden error? Is there any way to do this by Curl or wget? I need to access this site it only returns me this error:…
-
5
votes2
answers565
viewsQ: What kind of tests can I still do on that code?
I’m doing a sequence of tests in a simple bank application, but I don’t know what kind of test I can do on this system to cover 100% of the code, it’s only covering 61%. I’ve done all the tests with…
-
0
votes1
answer900
viewsQ: How to create administrator profile from that code?
How to create an administrator profile from that code, and when logging in a check is made whether you are an ordinary user or an administrator? Daousuario.java package br.edu.facema.model.dao;…
-
0
votes1
answer204
viewsQ: Title does not appear when an item is selected in the Navigation Drawer
When I select an item in the navigation Drawer the action bar does not change the title. package br.com.isckosta.mensagenslegais; import android.app.Activity; import android.app.Fragment; import…
androidasked Israel Sousa 1,362 -
3
votes1
answer178
viewsQ: How to make a Listview update a title at the top, as I scroll the same?
I don’t know how to explain very well what I want without pictures, but I need to learn how to make a Listview that changes title as you go down... It’s basically like in HTML when you do long pages…
-
0
votes2
answers1068
viewsA: How to insert an event into the Navigation Drawer menu item?
Now that I have seen personal, in the onCreate() method is being called the method if (savedInstanceState == null) { selectItem(0); } In which already creates the Activity selecting the first…
androidanswered Israel Sousa 1,362 -
0
votes2
answers1068
viewsQ: How to insert an event into the Navigation Drawer menu item?
How to insert an event into the Navigation Drawer menu item? I was only able to do it using the option menus other than Nav. Drawer. Loginactivity.java package com.androidbegin.parselogintutorial;…
androidasked Israel Sousa 1,362 -
3
votes2
answers1369
viewsQ: Configure "Activity" hierarchy in "Androidmanifest"
I’m trying to figure out how to set up a Activity to return to the Activity previous in AndroidManifest?
-
6
votes1
answer134
viewsQ: What is the difference between variables declared as final and private?
What is the difference between these two types of variables and why can’t they be accessed in certain parts of the code? I read about private, public and abstract methods, but did not understand the…
-
0
votes0
answers133
viewsQ: How to know what is generating this error by this log?
I created a Navigation Drawer following an example, but I would like to know why this error, have how to know by log? http://pastebin.com/RAf5Eswz 10-27 10:50:26.045: W/Trace(18420): error opening…
androidasked Israel Sousa 1,362 -
0
votes2
answers588
viewsQ: What is the correct way to log in and register?
I have two Activities, the main Myactivity and Loginactivity, how do I make the application detect logged in user when opening the application? And how to do for when the user presses the back…
androidasked Israel Sousa 1,362