Based on https://gist.github.com/jjvillavicencio/4e3615a8219bb1a17c81c4541c6c317d
- nodejs
- npm
$ sudo mkdir /var/lib/pgadmin | |
$ sudo mkdir /var/log/pgadmin | |
$ sudo chown $USER /var/lib/pgadmin | |
$ sudo chown $USER /var/log/pgadmin | |
$ sudo mkdir /opt/environments && cd /opt/environments | |
$ python3 -m venv pgadmin4 | |
$ source pgadmin4/bin/activate | |
(pgadmin4) $ pip install pgadmin4 | |
... | |
(pgadmin4) $ pgadmin4 (setup credentials) |
Based on https://gist.github.com/jjvillavicencio/4e3615a8219bb1a17c81c4541c6c317d
<?php | |
// iconv -f iso-8859-1 -t utf-8 padron_reducido_ruc.txt > utf8_padron_reducido_ruc.txt | |
echo "Limpiar caracteres especiales\n"; | |
$data = file_get_contents('utf8_padron_reducido_ruc.txt'); | |
$data = str_replace(array('\'', '"', '-'), '', $data); | |
file_put_contents('utf8_padron_reducido_ruc.txt', $data); | |
echo "Limpiar caracteres especiales: LISTO\n"; |
########################################################## | |
# PRODUCTS | |
########################################################## | |
DELETE FROM `catalog_product_bundle_option`; | |
DELETE FROM `catalog_product_bundle_option_value`; | |
DELETE FROM `catalog_product_bundle_selection`; | |
DELETE FROM `catalog_product_entity_datetime`; | |
DELETE FROM `catalog_product_entity_decimal`; | |
DELETE FROM `catalog_product_entity_gallery`; | |
DELETE FROM `catalog_product_entity_int`; |
<VirtualHost *:80> | |
DocumentRoot /var/www/sbs.jp/public_html | |
ServerName sbs.jp | |
<Directory /var/www/sbs.jp/public_html> | |
Options Indexes FollowSymLinks | |
AllowOverride All | |
Order allow,deny | |
Allow from all | |
</Directory> | |
ErrorLog "${APACHE_LOG_DIR}/error.log" |
<VirtualHost *:80> | |
ServerName fdm.jp | |
ServerAlias www.fdm.jp | |
DocumentRoot /var/www/fdm.jp/public_html | |
<Directory /var/www/fdm.jp/public_html> | |
Require all granted | |
AllowOverride all | |
</Directory> |
$ xcode-select --install
$ softwareupdate --list
{ | |
"info": { | |
"_postman_id": "dcd1417c-20c8-3e2b-ca1e-befebd355f4b", | |
"name": "Magento Mifarma v1.1", | |
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json" | |
}, | |
"item": [ | |
{ | |
"name": "Login de cliente", | |
"event": [ |
{ | |
"id":2655, | |
"sku":"1513819864-283", | |
"name":"Preservativo Control Touch & Feel 12Unidades", | |
"attribute_set_id":4, | |
"price":10, | |
"status":1, | |
"visibility":4, | |
"type_id":"simple", | |
"created_at":"2018-01-30 23:05:15", |
<?php | |
session_start(); | |
require_once "config.php"; | |
require_once LIB . DIRECTORY_SEPARATOR . "fffff.php"; | |
require_once MOD . DIRECTORY_SEPARATOR . "sag_venta.php"; | |
require_once CPD . DIRECTORY_SEPARATOR . "tcpdf.php"; | |
require_once CPD . DIRECTORY_SEPARATOR . "config/tcpdf_config.php"; | |
require_once LIB . DIRECTORY_SEPARATOR . "numero_a_texto.php"; |