sudo apt-get install libapache2-mod-proxy-html
This file contains 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 | |
/** | |
* Created by PhpStorm. | |
* User: jonas | |
* Date: 26/03/19 | |
* Time: 08:40 | |
*/ | |
error_reporting(E_ALL & ~E_DEPRECATED & ~E_STRICT & ~E_NOTICE & ~E_WARNING); | |
ini_set("default_socket_timeout", 3600); | |
require_once 'vendor/autoload.php'; |
This file contains 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
package com.tonbo.streamer.network; | |
import android.content.Context; | |
import android.content.IntentFilter; | |
import android.net.NetworkInfo; | |
import android.net.wifi.ScanResult; | |
import android.net.wifi.WifiConfiguration; | |
import android.net.wifi.WifiInfo; | |
import android.net.wifi.WifiManager; | |
import android.support.annotation.CheckResult; |
UPDATE: https://github.com/tassoevan/pdo-oci-extension
Special thanks to:
This file contains 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
# install dependencies | |
sudo apt-get update | |
sudo apt-get install -y build-essential | |
sudo apt-get install -y cmake | |
sudo apt-get install -y libgtk2.0-dev | |
sudo apt-get install -y pkg-config | |
sudo apt-get install -y python-numpy python-dev | |
sudo apt-get install -y libavcodec-dev libavformat-dev libswscale-dev | |
sudo apt-get install -y libjpeg-dev libpng-dev libtiff-dev libjasper-dev |
This file contains 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
jQuery.validator.addMethod("cnpj", function (cnpj, element) { | |
cnpj = jQuery.trim(cnpj); | |
// DEIXA APENAS OS NÚMEROS | |
cnpj = cnpj.replace('/', ''); | |
cnpj = cnpj.replace('.', ''); | |
cnpj = cnpj.replace('.', ''); | |
cnpj = cnpj.replace('-', ''); | |
var numeros, digitos, soma, i, resultado, pos, tamanho, digitos_iguais; |