- Run
npm install cordova-res --save-dev
- Create
1024x1024px
icon atresources/icon.png
- Create
2732x2732px
splash atresources/splash.png
- Add
"resources": "cordova-res ios && cordova-res android && node scripts/resources.js"
toscripts
inpackage.json
- Copy
resources.js
file toscripts/resources.js
- Run
sudo chmod -R 777 scripts/resources.js
- Run
npm run resources
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
<?php | |
namespace App\Zoop; | |
use Auth; | |
use Carbon\Carbon; | |
use App\Zoop\ZoopGateway; | |
class Buyer extends ZoopGateway | |
{ |
Muitos sites em PHP possuem uma página que é um script para enviar o email de contato ou tratar o preenchimento de algum formulário.
Para fazer com que essa página envie os dados para o CRM do RD Station, é só inserir nosso script de integração em seu código e fazer a chamada quando for controlar a submissão dos dados.
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
<?php | |
namespace App\Zoop; | |
use Auth; | |
use Carbon\Carbon; | |
use App\Zoop\ZoopGateway; | |
class Seller extends ZoopGateway | |
{ |
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
<h3>Comece já sua obra gratuitamente</h3> | |
<form action="https://app.arquitecasa.com.br/simular" method="get" class="search-pros-form"> | |
<div class="field-group"> | |
<label>O que você precisa</label><br> | |
<select name="type"> | |
<option value="reformar">Reformar</option> | |
<option value="construir">Construir</option> | |
</select> | |
</div> | |
<div class="field-group"> |
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
public $banks = [ | |
'237' => '237 - Banco Bradesco S.A.', | |
'001' => '001 - Banco do Brasil S.A.', | |
'341' => '341 - Itaú Unibanco S.A.', | |
'033' => '033 - Banco Santander (Brasil) S.A.', | |
'104' => '104 - Caixa Econômica Federal', | |
'654' => '654 - Banco A.J.Renner S.A.', | |
'246' => '246 - Banco ABC Brasil S.A.', | |
'075' => '075 - Banco ABN AMRO S.A.', | |
'025' => '025 - Banco Alfa S.A.', |
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
<?php | |
$link = mysqli_connect("localhost", "user", "password", "database"); | |
if($link === false){ | |
die("ERROR: Could not connect. " . mysqli_connect_error()); | |
} | |
$sql = "UPDATE wp_options SET option_value = replace(option_value, 'http://oldserver.com.br', 'http://newserver.com.br') WHERE option_name = 'home' OR option_name = 'siteurl';"; | |
if(mysqli_query($link, $sql)){ | |
echo "feito."; | |
} else { |
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
code --install-extension alefragnani.Bookmarks | |
code --install-extension brapifra.phpserver | |
code --install-extension CoenraadS.bracket-pair-colorizer | |
code --install-extension donjayamanne.githistory | |
code --install-extension formulahendry.auto-close-tag | |
code --install-extension formulahendry.auto-rename-tag | |
code --install-extension HookyQR.beautify | |
code --install-extension HvyIndustries.crane | |
code --install-extension octref.vetur | |
code --install-extension oderwat.indent-rainbow |
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
sudo chown -R www-data:www-data . | |
sudo usermod -a -G www-data admin | |
sudo find . -type f -exec chmod 644 {} \; | |
sudo find . -type d -exec chmod 755 {} \; | |
sudo chgrp -R www-data storage bootstrap/cache | |
sudo chmod -R ug+rwx storage bootstrap/cache |