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 | |
/** | |
* Copyright (C) 2013 Pep Lainez | |
* | |
* This program is free software: you can redistribute it and/or modify | |
* it under the terms of the GNU General Public License as published by | |
* the Free Software Foundation, either version 3 of the License, or | |
* any later version. | |
* | |
* This program is distributed in the hope that it will be useful, |
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
/** | |
* Creates an OpenSSL certificate | |
* @param $dn Array Associative array "key"=>"value" | |
* @param $duration int Number of days which the certificate is valid | |
* @throws Exception If there are any errors | |
* @return Array Associative array with the security elements: "cer"=>self signed certificate, "pem"=>private key, "file"=>path to the files | |
* | |
* @see http://www.php.net/manual/en/function.openssl-csr-new.php | |
* @author Pep Lainez | |
*/ |
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 | |
/** | |
* File downloader | |
* @author Pep Lainez | |
* | |
*/ | |
defined('_JEXEC') or die('Restricted access'); | |
jimport( 'joomla.filesystem.file' ); | |
/** |
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
<?xml version="1.0" encoding="UTF-8" standalone="no"?> | |
<!-- | |
Eclipse Juno Joomla templates | |
============================= | |
Licensed under GNU/GPL 3.0 | |
(C)2013 by Pep Lainez : jlainezs@econceptes.com | |
** Use at your own risk and under your responsability ** |
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 | |
error_reporting(E_ALL); | |
define('_JEXEC', 1); | |
define('JPATH_BASE','*** where is joomla installed ? ***'); | |
define('JOOMLA_ADMIN', JPATH_BASE . 'administrator'); // want to test admin side | |
$_SERVER['HTTP_HOST'] = 'localhost'; | |
$_SERVER['REQUEST_METHOD'] = 'GET'; |
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
/*** | |
* Link product images for virtuemart 2.0 | |
* | |
* Heads up: | |
* - Do a backup of your site | |
* - Images are stored on the virtuemart product images directory (e.g. images/stories/virtuemart/product) | |
* - Images are named sku.jpg, where sku is the SKU of a product | |
* - Run a media sync operation on the Virtuemart Media Manager | |
* | |
* Before running this script you should change the prefix (bxhu5) of the tables |
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
# | |
# Debug on Vagrant with PHPStorm | |
# | |
zend_extension=xdebug.so | |
xdebug.max_nesting_level=400 | |
xdebug.remote_enable=on | |
xdebug.remote_connect_back=on | |
xdebug.remote_mode=req | |
xdebug.inikey=PHPSTORM |
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
#!/usr/bin/env bash | |
# update default packages | |
apt-get update && apt-get -y upgrade | |
ROOTPASS="rootpass" | |
# MySQL | |
debconf-set-selections <<< "mysql-server mysql-server/root_password password $ROOTPASS" | |
debconf-set-selections <<< "mysql-server mysql-server/root_password_again password $ROOTPASS" | |
apt-get -y install mysql-server mysql-client |
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 | |
/** | |
* You should have received a copy of the GNU General Public License | |
* along with this program. If not, see <http://www.gnu.org/licenses/>. | |
* | |
* @author Pep Lainez <jlainezs@cloudconceptes.com> | |
* @copyright Copyright (C) 2018 CloudConceptes | |
* @license GNU/GPL https://www.gnu.org/licenses/gpl-3.0.html | |
*/ | |
defined('JPATH_PLATFORM') or die; |
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
{ | |
"name": "electronbsvue", | |
"version": "0.1.0", | |
"private": true, | |
"scripts": { | |
"serve": "vue-cli-service serve", | |
"build": "vue-cli-service build", | |
"lint": "vue-cli-service lint", | |
"electron:build": "vue-cli-service electron:build", | |
"electron:serve": "vue-cli-service electron:serve", |
OlderNewer