All Questions

3
answers

How to effect loading from the terminal in only one line?

How can I do a loading effect by giving refresh on only one line of the terminal when running a program in c? Example:    loading ... The points are increasing. I can do this in a while loop but only by clearing the screen with the...
asked on 14.04.2015 / 23:28
1
answer

Apostroph within echo

Good, I'm trying to put the pictures on the slide, but the apostrophe is breaking, where is the error? edited below the summary after the tests that I did even using the \. meu codigo atual echo "<div class='fill' style='background-image:ur...
asked on 15.04.2015 / 01:33
2
answers

Get last delimiter with explode

I want to get an extension of a file but the name of some images comes type:    adsfasdfasd.234.asdfa.3rfr.jpg       asdfsdafasdfasdf.45eg.png I'm trying to use the code: <?php if(is_dir("img/$noticia->idnoticia")) { $diretorio =...
asked on 06.03.2015 / 00:50
1
answer

What is a POC in C #?

I received a request to do a POC of email, but before doing so I would like to know what a POC is in C #. If there is content on the internet for the same. Q: I do not want the solution, I just want to know what it is to search.     
asked on 13.04.2015 / 21:17
2
answers

Open Dialog on primefaces as soon as the open screen

I have a login screen where I have a Dialog with the Login and Password fields. I wish he would open it as soon as the screen was opened. I read that from version 4.1 of primefaces I have to call Dialog this way: PF('widgetVar').show() bu...
asked on 10.06.2015 / 15:12
2
answers

Problems comparing dates with Calendar

I am developing a system for hotel and in Reservation precise that the date of entrance is greater or equal than the one of the reservation, and the one of the exit is greater than the one of the entrance. I made these conditions, but when I pro...
asked on 23.04.2016 / 23:45
2
answers

Doubt about reading txt files on Android?

Based on this stackoverflow question in the answer, this code is suggested try { AssetManager assetManager = getResources().getAssets(); InputStream inputStream = assetManager.open("nome-do-arquivo.txt"); InputStreamReader inputS...
asked on 21.02.2016 / 21:04
2
answers

Do not insert zeros to the left of a number

I have n inputs, which are created dynamically. What happens is that they can not accept leading zeros on the following occasions: 0.24 - > The system accepts 00.24 - > The system automatically removes the leading zero to 0.24 034...
asked on 18.03.2016 / 10:30
4
answers

Shortcut to rename, override or replace words or equal variables in Sublime Text 3

In Eclipse, there is a feature that is triggered by the CTRL + ALT + U (Me correct if I am wrong) commands that rename variables with the same name. Do you know any shortcuts to Sublime Text 3 that do this? Or is it some plugin?     
asked on 04.06.2015 / 17:22
2
answers

IOS - How to edit a view's scale by Swift?

I have a viewview viewV and would like to change your Width and Height shown in the image below via Swift code.     
asked on 29.03.2016 / 14:32