This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import mysql.connector | |
| import json | |
| from pprint import pprint | |
| print('Antes Mysql') | |
| cnx = mysql.connector.connect(user='root', password='7qt5wzs6', | |
| host='mypolitician02', | |
| database='meupolitico') |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| namespace SniffPolitic\Http\Controllers; | |
| use Illuminate\Http\Request; | |
| use ArrayObject; | |
| use SniffPolitic\Despesa; | |
| use SniffPolitic\User; | |
| use SniffPolitic\Politician; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| namespace App; | |
| use Illuminate\Notifications\Notifiable; | |
| use Illuminate\Foundation\Auth\User as Authenticatable; | |
| class User extends Authenticatable | |
| { | |
| use Notifiable; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @media (min-width: 1000px) and (max-width:1380px){ | |
| .politician-profile .bg-img{ | |
| background-image: url(../img/fundo_app_dog_media.png); | |
| height: 90%; | |
| } | |
| } | |
| @media (min-width:720px) and (max-width:1000px){ | |
| .politician-profile .bg-img{ | |
| background-image: url(../img/fundo_app_dog_peq.png); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $ python rosie.py run | |
| 2017-02-14 10:04:27 Creating the CSV file | |
| 2017-02-14 10:04:27 Reading the XML file | |
| 2017-02-14 10:04:28 Writing record #4,949 to the CSV | |
| 2017-02-14 10:04:28 Done! | |
| 2017-02-14 10:04:28 Creating the CSV file | |
| 2017-02-14 10:04:28 Reading the XML file | |
| 2017-02-14 10:05:38 Writing record #343,681 to the CSV | |
| 2017-02-14 10:05:38 Done! | |
| 2017-02-14 10:05:38 Creating the CSV file |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var app = angular.module('app', []); | |
| app.controller("ListagemController", function($scope){ | |
| $scope.itens = []; | |
| for (var i = 1; i <= 16; i++) { | |
| $scope.itens.push({text: i}); | |
| }; | |
| }) |
NewerOlder