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 | |
# listupdates -- Find Joomla instances and show all extension updates | |
# | |
# Copyright 2016 Rene Kreijveld - r.kreijveld@dsd.nu | |
# | |
# This program is free software; you may redistribute it and/or modify it. | |
# | |
# Version history | |
# 1.0 Initial version |
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
<?php | |
/** | |
* @package Formreport CLI | |
* | |
* @copyright Copyright (c)2016 René Kreijveld | |
* @license GNU General Public License version 2 or later | |
*/ | |
/** | |
* Form Check CLI. |
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
<?php | |
/** | |
* @package Watchful.li siteoverzicht | |
* @author Rene Kreijveld, based on the original work of Watchful.li | |
* @authorUrl https://about.me/renekreijveld | |
* @copyright (c) 2016, Rene Kreijveld | |
*/ | |
//Config | |
define('API_KEY', 'plaats-jouw-watchful.li-api-key-hier'); |
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
Verifying that +renekreijveld is my blockchain ID. https://onename.com/renekreijveld |
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 | |
// Select record, all fields | |
$query = $db->getQuery(true) | |
->select('*') | |
->from($db->quoteName('#__table')) | |
->where($db->quoteName('id') . ' = '. (int) $searchId); | |
$db->setQuery($query); | |
$results = $db->loadObjectlist(); | |
// Select record, specific fields |
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
$zoekadres = $l_adres." ".$l_postcode." ".$l_plaats." ".$l_land; | |
$zoekadres = urlencode($zoekadres); | |
$url = "http://maps.google.com/maps/api/geocode/json?sensor=false&address={$zoekadres}"; | |
$resp_json = file_get_contents($url); | |
$resp = json_decode($resp_json, true); | |
if($resp['status']=='OK') { | |
$lat = $resp['results'][0]['geometry']['location']['lat']; | |
$lng = $resp['results'][0]['geometry']['location']['lng']; | |
} else { | |
$lat = ""; |
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 | |
// Template by DSD business internet // www.gakijken.nl // | |
defined('_JEXEC') or die; | |
// Connect with Joomla | |
$app = JFactory::getApplication(); | |
$doc = JFactory::getDocument(); | |
$session = JFactory::getSession(); | |
// Get 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
-- Upgrade Joomla 2.5.7 database to Joomla 3.3.6 database | |
-- Written by: Rene Kreijveld | |
-- | |
-- This script is provided "as is", without any accompanying services or warranties from Rene Kreijveld. | |
-- | |
-- Please read these instructions carefully! | |
-- Before you de ANY update, migration or modification, make sure you have a working backup of your website(s)! | |
-- | |
-- To use this script do the following: | |
-- |