I hereby claim:
- I am alexandreelise on github.
- I am mralexandrelise (https://keybase.io/mralexandrelise) on keybase.
- I have a public key ASDmY-nGMO4ghAQFh0Tv_htLmCtrxlif89vZ6stm4NxWfQo
To claim this, I am signing this object:
<?php | |
defined('_JEXEC') or die; | |
?> | |
<div class="latestnews"> | |
<ul class="list-group list-group-flush"> | |
<?php foreach ($list as $item) : $image = json_decode($item->images); ?> | |
<?php | |
// most important part | |
// context: | |
// for articles: com_content.article |
/** | |
* @var bool $result_login true on successful login, false otherwise | |
*/ | |
$result_login = Factory::getApplication()->login( | |
[ | |
'username' => 'example', | |
'password' => 'mysupersecretpassword' | |
], | |
[ | |
'remember' => true, |
/** | |
* Encodes the method parameters in a way that our remote API understands | |
* | |
* @param string $method Which method of the remote API to use | |
* @param array $params A key=>value array with the method's parameters | |
* @param string $component [optional] Receiving component. Skip to use com_akeeba. | |
* | |
* @return array | |
* @see <a href="https://github.com/nikosdion/Akeeba-Example/blob/master/application/components/com_akeebaexample/helpers/api.php">https://github.com/nikosdion/Akeeba-Example/blob/master/application/components/com_akeebaexample/helpers/api.php</a> at line 148 | |
*/ |
<?xml version="1.0" encoding="utf-8"?> | |
<extension type="component" version="3.9" method="upgrade" client="administrator"> | |
<name>com_modularsqlexample</name> | |
<author>example</author> | |
<creationDate>0000-00-00</creationDate> | |
<copyright>(C) example. All rights reserved.</copyright> | |
<license>http://www.gnu.org/copyleft/gpl.html</license> | |
<authorEmail>modularsql@example.com</authorEmail> | |
<authorUrl>example.com</authorUrl> | |
<version>1.0.0</version> |
I hereby claim:
To claim this, I am signing this object:
#!/bin/bash | |
#Take just the outdated formulas names from the list using awk | |
#then give that to upgrade command | |
# you could add to this line && brew cleanup but it's up to you | |
# | |
# WARNING: Please understand what that script does before using it. | |
# I will in no way be responsible for the misuse of this script. | |
# If you understand and you are ok with that, If you are unsure don't use it. |
There is good news for you. I made a new repository with a single Dockerfile to build every combinations of versions of Ubuntu LTS and gcc you like
Find out more on https://github.com/alexandreelise/install-gcc
#!/usr/env sh | |
# To add this repository please do: | |
if [ "$(whoami)" != "root" ]; then | |
SUDO=sudo | |
fi | |
${SUDO} apt-get -y install apt-transport-https lsb-release ca-certificates curl \ | |
&& ${SUDO} wget -O /etc/apt/trusted.gpg.d/php.gpg https://packages.sury.org/php/apt.gpg \ | |
&& ${SUDO} sh -c "echo \"deb https://packages.sury.org/php/$(lsb_release -si | awk '{print tolower($0)}' ) $(lsb_release -sc) main\" > /etc/apt/sources.list.d/php.list" \ |
<?php | |
/** | |
* @package all | |
* @author Alexandre ELISÉ <contact@alexandre-elise.fr> | |
* @link https://alexandre-elise.fr | |
* @copyright (c) 2020 . Alexandre ELISÉ . Tous droits réservés. | |
* @license GPL-2.0-and-later GNU General Public License v2.0 or later | |
* Created Date : 19/07/2020 | |
* Created Time : 16:04 | |
*/ |
#!/usr/bin/env bash | |
RELEASE='3.9' | |
if [[ -z "$1" ]]; then | |
exit 1; | |
fi | |
PROJECT_NAME="$1" | |
if [[ ! -z "$2" ]]; then |