All Questions

1
answer

How to make a POST request in Python?

I would like to know how to make a request POST at this URL , for later get here on this page . Where do I have to spend the year on the div of the unsigned fiscal body.     
asked on 01.04.2015 / 15:33
1
answer

Keep checked checkbox by default

How can I make my checkbox appear checked for everyone who logs in to the site once it has been checked? I'm creating in the html field of wix, free version. The code model I'm using is as follows <form name=myform> <input type="...
asked on 05.03.2015 / 03:19
2
answers

AngularJS - accents

I'm using AngularJS and Wamp Server . In the program I'm doing I have an array: ($rootScope.fruits = ["banana","maça","laranja",'época'];) That is giving problems in the accents. Then I put it in plunker to show the code...
asked on 17.04.2015 / 16:03
2
answers

How to apply the Singleton pattern correctly?

The class PEHandlerService needs to have a single instance and I do not want to use synchronized because of the slowness, I created the following code: public class PEHandlerService extends PlanilhaHandler { private LanguageH...
asked on 27.03.2015 / 13:19
1
answer

How to implement Diffie-Hellman in JavaScript?

I'm developing a web system where users can communicate with each other privately, without even the server having access to the communication content (ie end-to-end ). For this I intend to encrypt all the messages exchanged between them in th...
asked on 09.04.2015 / 05:02
3
answers

Find files containing string and rename

To find files whose name contains a certain string , we can use find as follows: Sample file:    1429331804.H568641P9577.xxxx.example.com, S = 17846: 2, Command to find by xxxx.example.com : find . -type f -name "*xxx...
asked on 21.04.2015 / 23:21
1
answer

How to change an HTML document 4 to HTML 5?

I have a project already done, done in HTML 4.01, how can I change it so it recognizes HTML 5? I can only change this: < !DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd" > by: < !DOCTYP...
asked on 15.04.2015 / 19:24
1
answer

How to count touches (letters, spaces and symbols) in PHP?

I made a program that extracts my notes from my code and creates a txt file to be a little manual. I formatted to stay cool: +-----------+ | | | ESPECIAIS | | | +-----------+ It takes the SPECIAL line and formats...
asked on 26.03.2015 / 19:22
1
answer

How do I initialize Maps in a specific place?

How do I make the app, when I open Google Maps, zoom in to a specific location (for example, in a specific coordinate)? The demo codes it shows ALL the continents when I boot and need to zoom in until my markup: public class MapsActivit...
asked on 15.03.2015 / 05:15
1
answer

Problem connecting multiple CodeIgniter databases

I have an application where it connects to multiple databases, initially I use the database settings database.php . When I connect to another database, it still loads the settings from the database.php file, so I make the following connect...
asked on 02.03.2015 / 19:41