All Questions

2
answers

Record audio and stream live

I need to record audio and stream live, I discovered that with HTML5 and JavaScript / jQuery it is possible and that it has plugins that can help me. I'm using one of them, the MediaStreamRecorder and I'm recording and streaming live to myself...
asked on 01.06.2014 / 06:16
2
answers

Unity 3D and Android, how to manipulate txt file?

How to do in Unity 3D read a arquivo txt line by line and store in a vector using C #. Well, I was able to manipulate arquivo .txt , however in Android it does not work. Follow the code I used. int counter; str...
asked on 03.01.2016 / 00:15
2
answers

Is there any way to run C # from the command line in interactive mode?

I'm used to using PHP and Python, languages that allow you to run in the command line in interactive mode, so it's easier to test or learn something new, since I do not have to compile all the time (as it is in case of C #). Is there any way...
asked on 17.05.2016 / 21:44
3
answers

What is a "self join" for?

I would like an example to understand why I use an auto relationship in the same table? I have intermediate SQL knowledge but I still do not understand Self Join.     
asked on 01.07.2014 / 04:02
3
answers

Difference between validation and mask

I'm doing form validations. As for the validation, everything happens fine, but how to format the fields according to the data entered? Example: In a date field, bars are added automatically, in a phone field, parentheses and dashes are added...
asked on 19.12.2016 / 17:08
2
answers

Difference from #! in the first line of a Python script

For a Python script to be run on a Linux / Unix-based operating system, it should start with the designated shebang ( #! ): #! /usr/bin/env python But followed by the same I've seen two different instructions used: #! /usr/bin/env...
asked on 09.04.2015 / 21:15
2
answers

Creating an application that runs in the background

Some famous applications, among them Facebook, WhatsApp, Hangouts, use a service running in the background that does not end even with the device's power off. My question is how to develop an application with this feature? Can anyone create a...
asked on 21.05.2014 / 18:04
2
answers

Remove more than one item from an array

You can remove more than one item from an array at a time. Follow the code: var teste = [6,4,5]; //meu objectivo é remover os itens 4, 5 por ex //removendo o item 4 teste.splice(1, 1) //removendo o item 5 teste.splice(1, 2) As you can...
asked on 12.02.2015 / 18:50
1
answer

Divide SVG circle into 12 parts

I'm using an SVG circle and I want to split it with a line created dynamically in 12 parts. I can only divide into 4 parts, through its radius. I know it is possible through sin and cos . Example jsfiddle: link Source code...
asked on 16.04.2015 / 11:31
2
answers

How to count number of checkboxes selected

I'm trying to make a code that checks how many checkboxes are checked when clicking a button, as I'm making a system that duplicates records. I have a list with several checkboxes, and when the person clicks the "duplicate" button jQuery will ch...
asked on 11.07.2014 / 02:10