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
Error: Uncaught, unspecified "error" event. (The platform "browser" does not appear to be a valid cordova platform. It is missing API.js. browser not supported.) | |
cordova platform add browser@latest --nofetch |
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
{ | |
*************************************************** | |
* A binary compatible SHA1 implementation * | |
* written by Dave Barton ([email protected]) * | |
*************************************************** | |
* 160bit hash size * | |
*************************************************** | |
} | |
unit SHA1; |
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
Para Fazer a transformação Valor monetário – gramas utilizando à calculadora façam: | |
Multiplique o valor monetário no qual deseja efetuar a compra por mil, em seguida divida tudo pelo preço praticado por cada quilograma. | |
Para fazer esse tipo de transformação gramas - valor monetário utilizando a calculadora faça: | |
Se você tiver o valor em gramas e o preço praticado pelo quilo do produto, e quiser saber quanto pagar pelas gramas em questão, basta multiplicar as gramas em questão pelo preço praticado por quilograma, e dividir tudo por mil. |
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
/// <summary> | |
/// Busca o peso na balança de acordo com a configuração do sistema. | |
/// </summary> | |
/// <param name="ClsConfBalancaSerial"></param> | |
/// <returns>Peso retornado pela balança</returns> | |
public static decimal BuscarPesoBalancaSerial(ClConfACBrBalanca ClsConfBalancaSerial = null) | |
{ | |
decimal Retorno = -1; | |
try |
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
ServicePointManager.ServerCertificateValidationCallback = delegate { return true;} |
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
C:\Qt\Qt5.5.1\5.5\mingw492_32\bin\windeployqt pgmodeler.exe | |
Parece que você está faltando algumas dlls ... | |
Não se esqueça de executar $QTBIN/windeployqt pgmodeler.exeonde $QTBINé o caminho para executáveis principais do framework Qt. E certifique-se de copiar as seguintes dlls para o diretório raiz do executável: | |
Assuming that: | |
$QMAKE_ROOT = path where qmake command is found | |
$MINGW_ROOT = path where mingw32-make is found | |
$PGSQL_ROOT = path where PostgreSQL main dlls are found |
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
## Configure eth0 | |
# | |
# vi /etc/sysconfig/network-scripts/ifcfg-eth0 | |
DEVICE="eth0" | |
NM_CONTROLLED="yes" | |
ONBOOT=yes | |
HWADDR=A4:BA:DB:37:F1:04 | |
TYPE=Ethernet | |
BOOTPROTO=static |
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
apt-get install software-properties-common | |
Código: | |
sudo apt-get -y purge php* | |
Instalar php 5.6: | |
sudo add-apt-repository ppa:ondrej/php |
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
How to install PostgreSQL | |
Postby skid » Fri Aug 02, 2013 9:57 am | |
# Install PostgreSQL server | |
CODE: SELECT ALL | |
yum install postgresql postgresql-server postgresql-contrib | |
# Initialize database cluster | |
CODE: SELECT ALL |
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
To open the port 5432 edit your /etc/postgresql/9.1/main/postgresql.conf and change | |
listen_addresses='localhost' | |
to | |
listen_addresses='*' | |
and reload or restart you DBMS | |
invoke-rc.d postgresql restart | |
now you can connect with |