download jdk-8u171-linux-x64.tar.gz from http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html
cd ~/opt
tar xzf /path/to/jdk-8u171-linux-x64.tar.gz
ln -s jdk1.8.0_171 jdk
| import datetime | |
| # figure out how many different companies were traded on the Brazilian stock exchange per month | |
| # data: http://www.bmfbovespa.com.br/en_us/services/market-data/historical-data/equities/historical-data/ | |
| # file format: http://www.bmfbovespa.com.br/en_us/services/market-data/historical-data/equities/historical-data-1/ | |
| class QuoteCache: | |
| def __init__(self): | |
| self.stocks = {} |
| #include <functional> | |
| #include <future> | |
| #include <numeric> | |
| #include <vector> | |
| // count the number of solutions to the n-queens problem | |
| // could be optimized if we leveraged symmetry | |
| int count_solutions(int size) | |
| { |
| #include <cmath> | |
| #include <tuple> | |
| // mostly taken from http://www.espenhaug.com/black_scholes.html | |
| // the cumulative normal distribution function | |
| auto CND(double value) | |
| { | |
| return 0.5 * std::erfc(-value * M_SQRT1_2); | |
| } |
download jdk-8u171-linux-x64.tar.gz from http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html
cd ~/opt
tar xzf /path/to/jdk-8u171-linux-x64.tar.gz
ln -s jdk1.8.0_171 jdk
| #version 300 es | |
| precision highp float; | |
| uniform vec2 resolution; | |
| uniform float time; | |
| const float PI = 3.14159265358979323844; | |
| const float TRANSITION = .75; |
| #version 300 es | |
| precision highp float; | |
| uniform vec2 resolution; | |
| uniform float time; | |
| const float PI = 3.14159265358979323844; | |
| out vec4 color; |
Libraries/binaries will be installed under $HOME/cross-win32.
apt-get install mingw-w64
Cansado de pagar taxas de uma empresa em seu nome que está inativa há anos, você resolve aproveitar a sua recente situação de desempregado para fechá-la, e não quer pagar R$ 2000 para um contador fazer isso pela metade. A aventura começa...
Pesquise a situação da sua empresa na Receita Federal por este site. DICA: no resultado da pesquisa, a empresa aparece como SOCIEDADE EMPRESARIA LIMITADA. Esta informação é importante!
Coloque na caixa de busca do Google palavras como "empresa fechar baixa cnpj" e eventualmente descubra que o primeiro passo é registrar algo chamado "distrato social" na Junta Comercial.
Entre no site da Junta Comercial e procure pelo nome da empresa, confirmando que ela está realmente registrada na Junta.
| // check if OpenGL ES 3.0 is supported | |
| #include <cstdio> | |
| #include <EGL/egl.h> | |
| #ifndef EGL_OPENGL_ES3_BIT | |
| #define EGL_OPENGL_ES3_BIT 0x40 | |
| #endif | |
| int |
apt-get install subversion xsltproc docbook docbook-xsl docbook-xsl-ns w3-dtd-mathml docbook-mathml
svn co https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/docs/man2/
cd man2
for i in *xml; do xsltproc --noout --nonet /usr/share/xml/docbook/stylesheet/docbook-xsl/manpages/docbook.xsl $i; done
mkdir -p ~/opt/man/man3
mv *3G ~/opt/man/man3/