All Questions

2
answers

What is the best practice for integrating external content with my site?

I'm developing a website in PHP and I'm going to need to integrate content that will be on a page from an external site. This page will be poorly formatted, without header footer and sidebar , I'll just have the link on this page...
asked on 06.07.2016 / 14:00
3
answers

How to fill a select with angular using materialize

I'm trying to fill a select with data from my base The problem is that I have to always select select once for the data to load. How can I resolve this problem? HTML <form class="" name="formulario"> <div class="row"...
asked on 12.07.2016 / 23:57
1
answer

Problem in the Jquery code

Hello everyone. I am doing the following: A system where the user can shuffle the order of the images. Click the button and randomly they change places. So far so good, the problem is that when I get the return and play pro javascript, it...
asked on 20.08.2016 / 18:43
1
answer

Application restarts when orientation changes (rotated)?

I did this in my app: OnCreate: @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); ... Instances: @Override protected void onSaveInstanceState(Bundle outState){ super.onSaveIn...
asked on 19.07.2016 / 20:14
1
answer

android text gradient

Is it possible to create a gradient in the text (and not the background ) of a textView using XML only? I know that using shader can do with code ( here >) Is it possible to do this using only XML ?     
asked on 24.05.2016 / 15:43
1
answer

Background with two colors

I would like to create a background with two colors at a 45 degree angle, but without transition. I did it this way: <?xml version="1.0" encoding="utf-8"?> <shape xmlns:android="http://schemas.android.com/apk/res/android" android:shap...
asked on 15.05.2016 / 07:12
2
answers

UnicodeDecodeError: 'utf-8'

I'm having UnicodeDecodeError: 'utf-8' problems in a python file and I'm not able to solve it. This is the error: Traceback (most recent call last): File "file.py", line 448, in <module> fileOriginal.sliceFile(url) #Separa os arqui...
asked on 23.05.2016 / 22:37
1
answer

Algorithm - How to get the days in a week JS

I have the following situation: I need to set the days of each week within a month, creating an array of JSON objects. Each position would correspond to a week, for example if there were 5 weeks I would have an array of 5 positions, where eac...
asked on 12.05.2016 / 16:16
1
answer

Problem trying to connect to a Hub SignalR + Angularjs

I have a project with WebApi , SignalR and Angularjs where I do some queries and insertions in real time. Everything works fine when I start the file index.html direct when running the application, however if I try to...
asked on 05.07.2016 / 22:13
1
answer

Complexity of Algorithms

Any algorithm with complexity that involves a "log", has recursion involved? Type: O (n log n). If not, when will you have "log" in some complexity?     
asked on 11.05.2016 / 23:30