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
pragma solidity ^0.6.6; | |
contract CoolNumberContract { | |
uint public coolNumber = 10; | |
function setCoolNumber(uint _coolNumber) public { | |
coolNumber = _coolNumber; | |
} | |
} |
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
SET IDENTITY_INSERT [tb_moedas] ON | |
GO | |
INSERT [tb_moedas] ([moedaId], [nome], [ultimaCotacao], [dataCadastro], [dataUltimaAlteracao], [Ativo], [Codigo], [Simbolo], [CodigoPais], [Pais]) VALUES (321, N'AFEGANE AFEGANIST', CAST(0.00 AS Decimal(18, 2)), CAST(N'2018-09-06T10:09:02.520' AS DateTime), CAST(N'2018-09-06T10:09:02.520' AS DateTime), 1, N'005', N'AFN', N'132', N'AFEGANISTAO') | |
GO | |
INSERT [tb_moedas] ([moedaId], [nome], [ultimaCotacao], [dataCadastro], [dataUltimaAlteracao], [Ativo], [Codigo], [Simbolo], [CodigoPais], [Pais]) VALUES (322, N'RANDE/AFRICA SUL', CAST(0.00 AS Decimal(18, 2)), CAST(N'2018-09-06T10:09:02.533' AS DateTime), CAST(N'2018-09-06T10:09:02.533' AS DateTime), 1, N'785', N'ZAR', N'7560', N'AFRICA DO SUL') | |
GO | |
INSERT [tb_moedas] ([moedaId], [nome], [ultimaCotacao], [dataCadastro], [dataUltimaAlteracao], [Ativo], [Codigo], [Simbolo], [CodigoPais], [Pais]) VALUES (323, N'LEK ALBANIA REP', CAST(0.00 AS Decimal(18, 2)), CAST(N'2018-09-06T10:09:02.533' AS DateTime), CAST(N'2018-09-06T10:09:02. |
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
function exportarExcel(filename){ | |
if(!filename) filename = 'download.xls'; | |
var tab_text = "<table border='2px'>"; | |
tab_text += "<tr bgcolor='#87AFC6'><td>12345</td><td>12345</td><td>12345</td></tr>"; | |
tab_text += "<tr><td>12345</td><td>12345</td><td>12345</td></tr>"; | |
tab_text = tab_text+"</table>"; |
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
# Retorna dados sobre o pregão | |
http://www.bmfbovespa.com.br/Pregao-Online/ExecutaAcaoCarregarDados.asp?CodDado=IBOV,ticker&CA=undefined | |
# Retorna ações e seus últimos valores negociados | |
http://www.bmfbovespa.com.br/Pregao-OnLine/ExecutaAcaoCarregarDados.asp?CodDado=Ticker | |
# Retorna o histórico do dia de um papel | |
http://www.bmfbovespa.com.br/Pregao-Online/ExecutaAcaoCarregarDadosPapeis.asp?CodDado=petr4 | |
# Retorna dados de um papel |
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
# coding: utf-8 | |
# Copyright 2015 Álvaro Justen <https://github.com/turicas/rows/> | |
# | |
# This program is free software: you can redistribute it and/or modify | |
# it under the terms of the GNU General Public License as published by | |
# the Free Software Foundation, either version 3 of the License, or | |
# (at your option) any later version. | |
# | |
# This program is distributed in the hope that it will be useful, |
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
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
public class Program | |
{ | |
static TimeSpan CalculaTotalHoras(IList<DateTime> lista){ | |
lista = lista.OrderBy(p => p).ToList(); | |
var listaDatas = lista.GroupBy(p => p.Date).Select(p => p.Key).ToList(); |
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
/*Roboto*/ | |
@font-face { | |
font-family: 'Roboto'; | |
font-style: normal; | |
font-weight: 100; | |
src: local('Roboto Thin'), local('Roboto-Thin'), url(fonts/Roboto-Thin.ttf) format('truetype'); | |
} | |
@font-face { | |
font-family: 'Roboto'; | |
font-style: normal; |
NewerOlder