All Questions

1
answer

Folder structure for Backbone without RequireJS

The goal Mount a sufficient and smart folder structure for an application Rails 4 + Backbone . The problem As I am in Rails 4 and I still do not know how to deal with Asset Pipeline it + RequireJS (an...
asked on 29.01.2014 / 13:07
2
answers

Make a multipage website offline

Assuming I have a multi-page site - for example a blog - I want to put an option for anyone who visits it to have access to it without internet. As not every device has constant access to the internet, and not every place has that possibility...
asked on 06.02.2014 / 14:10
1
answer

Transferring JSON to CodeIgniter via AJAX

I'm not able to pass a string in the format JSON to a controller of CodeIgniter via AJAX. The string JSON: var avaliacao= {"avaliacao":[{"pergunta":"Qual sua idade?"}[{"resposta_certa":"99","resposta_err1":"11","resposta_err2"...
asked on 11.02.2014 / 19:56
2
answers

How to use the AFNetworking 2.0 library synchronously?

I would like to call a rest service using the AFNetworking library. How to make a call synchronously, ie wait for the return of the webservice? For example: Method that will return a carriage object: Carro *carro = [self findCarro...
asked on 15.02.2014 / 22:17
1
answer

How to document in the code a hack, hotfix, and any potentially problematic contour situation

Hacks, emergency fixes, and any potentially problematic contour situations are a necessary evil . Although it may be considered personal opinion, when working as a team, it is assumed a minimum of care to leave alert to colleagues, or the progr...
asked on 05.02.2014 / 17:28
1
answer

Scrolling effect with Parallax using video

I'm studying effects with Parallax and I'm trying to display a video in the background instead of an image. So I was able to create a nice effect using background image. Here is my jQuery code: $('[data-parallax]').each(function(){ var...
asked on 05.03.2014 / 05:33
2
answers

MVC Custom and Friendly Routes | Create a Route with only one parameter in the URL

How to create a route where only the single parameter would be displayed? For example, my route is currently like this: routes.MapRoute( name: "RouteEvent", url: "{ProdutoNome}", defaults: new { controller = "Produto",...
asked on 18.08.2017 / 22:09
1
answer

Git Accuses Ignored Directory Has Modified Content

I have the content directory in my .gitignore file, as follows: app/dir/* But when I give git status , git says the following: # On branch master # Changes not staged for commit: # (use "git add <file>..." to update w...
asked on 05.03.2014 / 15:39
2
answers

How to install pip for a particular version of Python?

I have ubuntu 17.10 installed and it came with Python 2.7 and 3.6. I installed Python 3.4 but I can not install the pip on it, it always goes to the latest version with pip3 which is 3.6 How can I install 3.4?     
asked on 23.10.2017 / 18:49
2
answers

Doubt regarding the https protocol

I'm setting up an Apache server in Debian. When I access https://.../index.php from Chrome, I get the following result: Somyquestionsare:Toappear: DoInecessarilyneedapaidcertificate,oristhereanotherpath? In order to not display th...
asked on 03.08.2017 / 18:17