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
#!/bin/sh | |
# jbackup -- Create a full backup (including database) of a Joomla website to .tgz file. | |
# Supports Joomla 1.0 - 3.3 | |
# | |
# Copyright 2014 Rene Kreijveld - email@renekreijveld.nl | |
# | |
# This program is free software; you may redistribute it and/or modify it. | |
# | |
# Warning! This script needs the file joomlafunctions. This has to be installed in the same directory as this script. |
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
#!/bin/sh | |
# findjoomlas -- Find Joomla instances on your (DirectAdmin based) server. | |
# Supports Joomla versions 1.0/1.5/1.6/1.7/2.5/3.0/3.1/3.2/3.2 | |
# | |
# Copyright 2014 Rene Kreijveld - email@renekreijveld.nl | |
# | |
# This program is free software; you may redistribute it and/or modify it. | |
# Define variables |
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
# Open Terminal on your Mac and do the following: | |
cd "/Library/Application Support/appsolute/MAMP PRO/phpMyAdmin" | |
cp -R /Applications/MAMP/bin/phpMyAdmin/* . |
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
#!/bin/sh | |
# jdbdump -- Dump a Joomla database to sql file. | |
# | |
# This scripts supports Joomla versions 1.0 - 3.3 | |
# | |
# Copyright 2014 Rene Kreijveld - email@renekreijveld.nl | |
# | |
# This program is free software; you may redistribute it and/or modify it. | |
# |
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
## 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 |
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 | |
/** | |
* @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" |
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
HOST_NAME=macmini | |
shopt -s autocd | |
shopt -s histappend | |
export PATH=$PATH:$HOME/bin | |
export HISTSIZE=5000 | |
export HISTFILESIZE=10000 |
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 | |
/** | |
* @package Joomla.Cli | |
* | |
* @copyright Copyright (C) 2016 Rene Kreijveld, All rights reserved. | |
* @license GNU General Public License version 2 or later; see LICENSE.txt | |
*/ | |
/** | |
* This is a script which should be called from the command-line, not the web. |
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
#!/bin/sh | |
# jfindfiles -- Find used and unused content files in your Joomla website | |
# | |
# This scripts supports Joomla versions 2.5 - 3.x | |
# | |
# Copyright 2014 Rene Kreijveld - email@renekreijveld.nl | |
# | |
# This program is free software; you may redistribute it and/or modify it. | |
# |
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
#!/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 |