Posts by Matt Costa • 345 points
9 posts
-
1
votes1
answer156
viewsA: Alternative php include for handlebars.js in building templates
I’m still waiting for more ideas but the best solution I could find for now was to use Ember.js and its template structure. http://emberjs.com/guides/templates/the-application-template/ Making a…
-
3
votes1
answer156
viewsQ: Alternative php include for handlebars.js in building templates
I am making a new website, I have the template ready and I want to implement handlebars.js, To control the template I always used: <php include "header.php"; ?> <php include "footer.php";…
-
1
votes1
answer46
viewsA: Automatically call bower_components in header
I found this solution, a plugin for Grunt that injects directly into html: https://github.com/stephenplusplus/grunt-wiredep…
-
0
votes1
answer46
viewsQ: Automatically call bower_components in header
I’m using Watt to download and maintain the dependencies I’ll need to use in the project. If I understand correctly I can run a Power update and will update them for me. I’m with jquery, bootstrap,…
-
2
votes1
answer599
viewsQ: Bootstrap Popover Trigger and html option together do not work
Does anyone know why when I put Trigger together with html:true or Popover stops working? HTML: <a href="#" class="popoverr" role="button" data-container="body" data-toggle="popover"…
-
2
votes2
answers1625
viewsQ: How to make an empty select to pull all results from column
I’m trying to make an empty select, which if no option selected pulls all the results, using the AND in the SELECT form forces me to choose some option, how can I resolve this? Follows the codes:…
-
0
votes1
answer342
viewsQ: Python UI - How to Do
I wrote a simple program in Python, and I need to make a graphical interface for it, what are the options of GUI Builder today?
pythonasked Matt Costa 345 -
8
votes3
answers5124
viewsQ: Treat python numbers by adding dot
I am making a simple code to convert meters into millimeters. What would be the best way to treat the result. Ex: 1000 or 1,000 Code: valor_m = int(input("Digite um valor em metros: ")) valor_mm =…
pythonasked Matt Costa 345 -
4
votes1
answer877
viewsQ: Input in Sublime Text
I am using Sublime Text to study python, but it does not support input. When running the following code with the sublime build: velocidade = int(input("Digite a velocidade: ")) I get the following…