I hereby claim:
- I am renekreijveld on github.
- I am renekreijveld (https://keybase.io/renekreijveld) on keybase.
- I have a public key whose fingerprint is F75D 93F8 F076 074F 4EE8 E99C AEC3 777E 175C EE61
To claim this, I am signing this object:
<?php | |
// listusers.php - simple cli script to dump users on CLI | |
// Written by René Kreijveld | |
// Version history: | |
// 1.0, 2023-03-09: Initial version | |
use Joomla\CMS\Factory; | |
const _JEXEC = 1; |
#!/bin/bash | |
# cleanjoomla -- Script to delete all Joomla files and folders | |
# | |
# This scripts supports Joomla versions 2.5 - 3.x | |
# | |
# Copyright 2021 Rene Kreijveld - email@renekreijveld.nl | |
# This program is free software; you may redistribute it and/or modify it. | |
# | |
# Version history |
#!/bin/bash | |
# sphp - Easy PHP version switching command-line script for devilbox | |
# Written by: René Kreijveld, email[at]renekreijveld.nl | |
# Version | |
version=1.1 | |
# Available PHP versions in devilbox | |
php_array=(5.2 5.3 5.4 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0) | |
# Devilbox folder | |
devilbox=/Users/yourusername/devilbox |
HOST_NAME=macmini | |
shopt -s autocd | |
shopt -s histappend | |
export PATH=$PATH:$HOME/bin | |
export HISTSIZE=5000 | |
export HISTFILESIZE=10000 |
<?php | |
/** | |
* @version 1.0.0 | |
* @author Rene Kreijveld <r.kreijveld@dsd.nl> | |
* @copyright 2019 DSD Business Internet | |
* @license GNU General Public License version 2 or later; see LICENSE.txt | |
* | |
* Example form xml definition: | |
* <field name="established" | |
* type="yearlist" |
## Redirect WordPress attempts - BEGIN | |
Redirect 301 /wp-login.php http://127.0.0.1/wp-login.php | |
Redirect 301 /wp-admin.php http://127.0.0.1/wp-admin.php | |
RewriteRule ^wp-content(.*)$ http://127.0.0.1/$1 [L,R=301] | |
RewriteRule ^wp-admin(.*)$ http://127.0.0.1/$1 [L,R=301] | |
## Redirect WordPress attempts - END |
<?php | |
/** | |
* @package RSFormCleanUp | |
* @copyright Copyright 2018 René Kreijveld, DSD Business Internet. | |
* @license GNU General Public License version 2 or later. | |
*/ | |
/** | |
* A command line cron job to remove submission data from RSFormPro database tables. | |
* Based on the excellent work of Peter Martin, db8.nl, see https://gist.github.com/pe7er/47bf1020b12ef29df8603fa80d1fdccd |
<?php | |
/** | |
* gencodes.php | |
* | |
* This Joomla CLI script can generate unique codes of a predefined length. | |
* The codes are written to standard output. | |
* | |
* Modify the value of variables $how_many and $code_length to your liking. | |
* | |
* Installation: upload this file to your Joomla CLI folder. |
/** | |
* This function will build and return an array of all parent category id's that an article belongs to. | |
* Written by René Kreijveld, email [at] renekreijveld.nl | |
* 22-feb-2017 | |
* | |
* Example function call for an article with id = 100: | |
* $parentCategories = $this->getCategories(100, 0); | |
* | |
*/ | |
private function getCategories($artId, $catId) |
I hereby claim:
To claim this, I am signing this object: