All Questions

1
answer

Doubt with relational modeling

I am setting up a real estate register, where these properties belong to an address, which belongs to a neighborhood that belongs to a city. Ex tables: Imoveis: id, endereco_id, etc... Enderecos: id, nome, bairro_id, rua, numero, cep, etc....
asked on 30.06.2014 / 17:20
1
answer

How to save and return images with Web Api?

How to send and return images of a Web Api from Controller of a Asp.net MVC application? In my Controller of project Asp.net MVC I get from View an image of type HttpPostedFileBase and need to...
asked on 06.06.2014 / 21:37
2
answers

Get values from within a function that is inside another function

I'm developing a small Javascript application that makes use of Web SQL. I want to create a function that returns the value of a variable from the VARIABLES table, as well as its observation. It would be something like this: valor = pegaVariav...
asked on 06.07.2014 / 17:39
1
answer

How to access the public directory of Storage in Laravel 5.3?

I need to access saved images in the /storage/app/public directory on views , but I can not, I have a 404 . I'm doing the following: <div class="row"> <img src="../storage/app/public/3.jpg"> </div>...
asked on 16.12.2016 / 13:03
3
answers

How to allow only one instance of a given class?

If we run the code below, a window with a button inside will be created, which whenever clicked will open another window (Window2). How can I make a second instance of Window2 not be allowed? I want to do this without using modal (). #!/usr/bi...
asked on 01.07.2014 / 19:42
2
answers

Block rotation of a site in the mobile version

I have a website that would like to lock your position on the screen when accessed from a mobile device, preventing it from roaming or rotating along with the mobile. Is there any JavaScript code that does this? Block screen rotation as if...
asked on 22.05.2014 / 21:19
3
answers

PowerShell - How to create a subsite in Sharepoint Online

I have a website and I need to create sub-sites dynamically because they are many clients and I tried using powershell for this, but I can only create a site collection. Example: new-SPOSite -url httl://url.sharepoint.com/douglas -owner dougla...
asked on 03.06.2014 / 20:00
1
answer

Two databases in an Android application

I have an Android application and it works with an internal database. Now I need this application to work with 2 internal databases. Is this possible on Android? Any examples that might help?     
asked on 01.07.2014 / 16:26
3
answers

WPF MessageBox Layout

How can I customize my MessageBox? Original .. HowIwishIwas(Major)     
asked on 02.06.2014 / 22:43
1
answer

How to only allow one instance of a program made in Python?

Assuming I created a program in Python and it works perfectly, how do I only allow one instance of the program at a time? I searched Google and found a person saying they solved the question using PIDs, but it was not in Python and there were no...
asked on 08.07.2014 / 17:42