This repository is for Source Code snippets and dumps as a resource for software programmers everywhere. Please feel free to use/modify source code here without restriction. If you would like to contribute then please use the 'Problem, Formatting or Query' above and let us know? ====== Joomla ====== [[Joomla:Create or Edit an Article in PHP]] [[Joomla:Create or Edit a Category in PHP]] [[Joomla:Send an email via Jooma Framework]] [[Joomla:Write to the database using Database]] [[Joomla:Get the current UK Terror threat Level from MI5]] [[Joomla:Redirect to a different page, component, article, etc]] [[Joomla:Write to a file on disk]] [[Joomla:Read and Write values from the Cookie]] [[Joomla:Create a new user and set its password]] [[Joomla:Obtain a list of new articles, their titles and url]] [[Joomla:Table Insert and Update Helper Functions]] [[Joomla:Purging all Trash at once via SQL]] ====== PHP ====== [[PHP:Sanitise POST and GET to protect against attacks]] [[PHP: A Simple Web Form to Email]] [[PHP: Using the GEN Table Data Framework]] [[PHP:Execute a shell command and capture the output into an array]] [[PHP:Access Passler PRTG Using PHP and retrieve sensor data]] [[PHP:Get the HTTP response code text for a given code]] [[PHP:Escape a string for display in a webpage]] [[PHP:Get Headers from Curl Response]] [[PHP:Google Safe Browsing Check via API]] [[PHP:Looking URL in PhishTank via the API]] [[PHP:OpenWeatherMap API in PHP Example]] [[PHP:Parse the NOAA Space Weather Data in PHP]] [[PHP:Sending and Processing Queries to Microsoft SQL Server]] [[PHP: Generating captcha images with PHP]] [[PHP:Using Asterisk (FreePBX/Elastix) to make a call from PHP via ARI (Asterisk REST Interface)]] ====== RsFormPro! ====== [[RsFormPro!:Setting Min and Max dates for a Date and Time Picker]] [[RsFormPro!:Skinning your form with CSS]] [[RsFormPro!:Filtering / Screening out free email accounts in forms]] ====== Javascript/HTML ====== [[HTML:Browser Based Our Time, Your Time widget]] ====== Linux/Bash ====== [[Bash:Reanem all files to lower case names recursively]] [[Bash:Find files with Modified Dates in the future and Fix]] [[Base:Wiki File Normalisation]] [[Bash:using Yum update but excluding a package]] [[Bash:Allow iftop to run without root]] ====== Asterisk (FreePBX etc) ====== [[Asterisk:How to dump out the blacklist using command line]] [[FreePBX:Working version of SuperFetcha for who-called.co.uk]] [[Programatically delete extension from Freepbx]] [[Programatically list dynamic queue members from Freepbx]] ====== Synology ====== [[Synology::Where does DSM live on the synology box]] [[Synology::Customising the favicons on your synology box]]