All Questions

3
answers

Generate 5-digit combinations

How do I generate combinations in 5-digit php ranging from 0 to 9? In the same case, in the future you want to add letter, how should it be done?     
asked on 02.08.2017 / 00:25
3
answers

Is there Data Annotation that avoids duplication of data in the Bank?

How do I prevent data being duplicated in the database using Data Annotation or would it be through another validation?     
asked on 10.11.2016 / 16:18
1
answer

Set up shortcut in vs code for indentation

I'm new to this, then, sorry if I make a mistake in the post. My doubt seems simple, but I'm not unfolding. Basically, it's like setting up a shortcut in VSCODE for indentation in my codes.     
asked on 13.12.2016 / 23:53
1
answer

FileUriExposedException error on Android N

Hello friends I'm facing the following error:    android.os.FileUriExposedException: file: ///storage/emulated/0/Pictures/1488344088086.jpg exposed beyond app through ClipData.Item.getUri (). The intention is to open the camera, hit a pho...
asked on 01.03.2017 / 06:04
4
answers

How to use unsafe code in a Web Site

I was trying to practice the use of pointers in C #, so I created a website in the following method: public static Nodo[] MontaTree(){ //... código ... } Obviously the above code does not make it possible to use pointers, so we need keywor...
asked on 10.04.2017 / 18:51
4
answers

Null values in PHP

In PHP 7 what is the correct way to define and identify null values? Which of these is the correct way to assign null? $valor = null; $valor = ""; Which of these is the correct way to identify null values? if($valor == null){} if($va...
asked on 20.09.2017 / 15:34
3
answers

Is there any way to make a default browser tooltip appear without placing the text in the title tag and without the tooltip plug-in?

I'm asking this because the application is almost ready and used a plugin that uses the title tag. This plugin causes a popup (in this case a confirmation box) to be clicked on the element, with a title bar using the title tag text. But when...
asked on 02.01.2014 / 16:15
2
answers

How to make a random query in MySQL without repeating data?

I'm creating a Pinterest-type image-type site that, in addition to other things, needs to combine the following features: Infinite Scrool (I'm applying this code here: link ). A menu to choose in which order to display the images....
asked on 04.09.2018 / 03:16
2
answers

Is it possible to use dictionaries within lists in Python?

I need to go through a list that contains dictionaries and display the information for it. But testing here the attributes .item() and .value() could not. See: #6.8 - Animais de Estimação: Pets = [{'Zeus':{'Tipo':'Gato','Dona':'...
asked on 20.11.2018 / 18:06
2
answers

How to create a Stopwords using R

Hi, I need to do a task and I'm not getting into logical reasoning. My scenario is: I have a DF with several columns, I need to "read column 3", identify the words and sort. Example: DF nome rua funcao alberto assis progr...
asked on 28.09.2018 / 19:07