Posts by Carlos André • 145 points
11 posts
-
0
votes0
answers22
viewsQ: Installing nano in Heroku
I am unable to install the nano in Heroku I am getting the error Error: no name in /home//. local/share/Heroku/package.json How to install in Heroku cli? The command I’m using to install the editor…
herokuasked Carlos André 145 -
1
votes0
answers490
viewsQ: How to create streaming service with python and Django
I have the purpose of creating a video streaming service, the project is in python and Django. How do I make such a service available? Python 2.7 and Django 1.10 usage. I only found old material!…
-
1
votes0
answers24
viewsQ: How to do a query in a set by passing the character as a parameter in Javascript?
I have two distinct functions, one searches for an id(works) the other searches for a character letter(works). I need these two functions to act together,? When I select the id, which return the set…
-
2
votes1
answer343
viewsQ: Add map with search service using Angularjs and google maps
I have a map and wish that it can be located and marked a certain point by the address passed by the user. Example: The user types : rua são joão,403, São Paulo, Sp. The map must return the point on…
-
1
votes1
answer51
viewsQ: Export a mongodb collection that also brings the document size
I have the export of a Collection that owns some documents, I need to export one of these documents and its size. I tried something of that nature: mongoexport -d test -c records -q '{ a: { $gte: 3…
mongodbasked Carlos André 145 -
4
votes1
answer41
viewsQ: How to search a character in a set of javascript strings
I have a set with certain strings, it is a vector, need to be done searches for characters in this set. Case: Be it V my set of strings contemplated by: ["ana", "paula", "cris", "voa",…
-
0
votes1
answer65
viewsQ: Combination of javascript function
Hello, I have two functions that work separately very good, but I need to combine them now to organize the result of the other. Function of Organs: $scope.$watch('organ_id', function (newValue,…
-
0
votes1
answer651
viewsQ: Text alignment
I’m trying to get a text to appear in line. This text is in a ruby variable on Rails. As follows: <div class="grid" data-masonry='{ "itemSelector": ".grid-item", "columnWidth": 400 }'> <div…
-
0
votes2
answers911
viewsA: How to edit Devise Views?
a views: <%= simple_form_for [:admin, @user], html: { class: 'form-horizontal' } do |f| %> <%= f.error_notification %> <%= f.input :name, label: 'Nome' , :required => :true %>…
-
1
votes2
answers911
viewsQ: How to edit Devise Views?
My point is that I have a system, in this system there is access control of users with their proper permissions upon their profile. I use Devise to access the system. What I need is to be able to…
-
3
votes2
answers249
viewsQ: Truncate text and do not show unwanted characters with Rails
I’m using the function truncate to show part of a text, next to this function I added the function html_safe so that the text does not display unwanted characters. But when the text is greater than…
ruby-on-railsasked Carlos André 145