Skip to content

Instantly share code, notes, and snippets.

View RicardoWEBSiTE's full-sized avatar
👨‍💻

Ricardo Nascimento RicardoWEBSiTE

👨‍💻
View GitHub Profile
# 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
{
"data": [
{
"id": "844C0236-F0E2-4374-906E-08DDD3A5AA93",
"nm_empresa": "ACHILLES ROBERTO BASSO",
"cpf_cnpj": "07.999.222/0001-55",
"area_plantio_total": "5.00000",
"volume_estimado_total": "15.00000",
"volume_autorizado_total": "12.00000",
"itens": {
{
"header": [
"TYPE",
"DATA",
"SHIFT",
"TIME",
"TRUCK NO.",
"TRAILER",
"PLACE OF DELIVERY",
"MOISTURE",
@RicardoWEBSiTE
RicardoWEBSiTE / README.md
Created May 2, 2017 22:16 — forked from erichrobinson/README.md
SwitchResX Configuration

#SwitchResX Settings for LG 21:9 UltraWide

SwitchResX is a utility that allows users to override the default resolution settings in OSX. For more information, including download links, vist http://www.madrau.com/ .

##Disabling System Integrity Protection (SIP)

If you are running OSX 10.11 or higher, SIP must be disabled. To disable SIP do the following:

  • Boot into the recovery partition by pressing CMD + R when starting up your Mac.
  • Once in recovery mode, open a terminal window.
  • Type the command csrutil disable
# sudo apt-get update
# sudo apt-get install git automake make libcurl4-openssl-dev libssl-dev -y
# git clone https://github.com/RicardoWEBSiTE/cpuminer-multi.git
# cd cpuminer-multi/
# ./autogen.sh
# ./configure --with-crypto --with-curl
# make
# # start the miner
# ./cpuminer -a cryptonight -o stratum+tcp://bcn.pool.minergate.com:45550 -u ricardonas.dasilva@gmail.com -p x
@RicardoWEBSiTE
RicardoWEBSiTE / README.md
Created July 24, 2016 00:28 — forked from mwhittaker/README.md
Google Cloud Platform

Mac web developer apps

This gist's comment stream is a collection of webdev apps for OS X. Feel free to add links to apps you like, just make sure you add some context to what it does — either from the creator's website or your own thoughts.

— Erik

@RicardoWEBSiTE
RicardoWEBSiTE / PHP.md
Created September 3, 2013 18:18
PHP References Documentation and Examples

MySQL

A database system.

Logging into MySQL

$ mysql

or

Objects

To create a new object, use the new keyword followed by a call to a constructor function. Javascript provides the Object() constructor out-of-the-box:

var toilet = new Object();

Properties

Once you have an object, you can set and get properties on it, like this: