Skip to content

Instantly share code, notes, and snippets.

View rdeutz's full-sized avatar

Robert Deutz rdeutz

  • Robert Deutz Business Solution
  • Aachen, Germany
View GitHub Profile
Name: usefulname
Caption: usefulName
@dbhurley
dbhurley / Open Letter to Joomla Community.md
Created December 18, 2013 10:35
Open Letter to Joomla Community

#Open Letter to Joomla! Community

##Background Wow! I never thought the day would unfold like this when I woke up this morning. It has been a long and challenging day and so I'd like to start this letter with a bit of background and what I believe to be some common core values we, as the Joomla community, uphold and agree upon. These are listed on our missions and values page.

  • Freedom
  • Equality
  • Trust
  • Community
  • Collaboration
@EmmanuelKasper
EmmanuelKasper / kvm-autostable
Last active February 21, 2018 09:28
A script to automatically install Debian Wheezy on a KVM guest
#!/bin/sh
# You can optionally connect to the VM with
# virt-viewer -c qemu:///system Debian7
export OS=Debian7
virt-install \
--connect qemu:///system \
--name ${OS} \
--ram 1024 \
--vcpus 1 \
@phproberto
phproberto / sample.php
Last active December 17, 2015 12:39
Retrieve JForm post data with JInput
<?php
// Required objects
$input = JFactory::getApplication()->input;
// Get the form data
$formData = new JRegistry($input->get('jform', '', 'array'));
// Get any data being able to use default values
$id = $formData->get('id', 0);
@bcantoni
bcantoni / json-int.php
Created March 22, 2012 19:42
Demo of PHP workaround for large integers in JSON data responses
<?php
/* Demonstration of problem with large integers in JSON, and
a couple options for dealing with them as strings instead.
ref:
* http://php.net/manual/en/function.json-decode.php
* http://stackoverflow.com/questions/2907806/handling-big-user-ids-returned-by-fql-in-php
*/
$json = <<<EOT