Created 17 Aug 2018
This is a simple installation that I did on my Raspberry Pi. Of course, this is only one of the many reasons to do it.
Here are my requirements:
<?php | |
if (!function_exists('getOrderDetailById')) { | |
//to get full order details | |
function getOrderDetailById($id, $fields = null, $filter = array()) { | |
if (is_wp_error($id)) | |
return false; |
UPDATE 2014-12-21: RubyGems 1.8.30, 2.0.15 and 2.2.3 have been released. It requires manual installation, please see instructions below.
Hello,
If you reached this page, means you've hit this SSL error when trying to
/** | |
* Alters the key used to store cached prices. This code snippet allows | |
* to use dynamic cache keys, thus making it possible to store multiple | |
* sets of prices in the cache. | |
* You can add this code to the functions.php file in your child theme | |
* folder, or to a custom plugin. | |
* | |
* @param array cache_key_args The arguments that form the cache key. | |
* @param WC_Product product The product for which the key is being generated. | |
* @param bool display Indicates if the prices are being retrieved for display |
This process worked for me. I take no responsibility for any damage or loss incurred as a result of following or not following these steps or, for that matter, anything else you might do or not do.
svn.domain.com.au
.http
(other protocols should work).git.domain.com.au
and:#!/bin/bash | |
# | |
# This script configures WordPress file permissions based on recommendations | |
# from http://codex.wordpress.org/Hardening_WordPress#File_permissions | |
# | |
# Author: Michael Conigliaro | |
# | |
WP_OWNER=changeme # <-- wordpress owner | |
WP_GROUP=changeme # <-- wordpress group | |
WP_ROOT=/home/changeme # <-- wordpress root directory |
#!/bin/bash | |
# generate new personal ed25519 ssh keys | |
ssh-keygen -o -a 100 -t ed25519 -f ~/.ssh/id_ed25519 -C "rob thijssen <rthijssen@gmail.com>" | |
ssh-keygen -o -a 100 -t ed25519 -f ~/.ssh/id_robtn -C "rob thijssen <rob@rob.tn>" | |
# generate new host cert authority (host_ca) ed25519 ssh key | |
# used for signing host keys and creating host certs | |
ssh-keygen -t ed25519 -f manta_host_ca -C manta.network |
By Daniel15 (dan.cx) This is a very simple Twitter autoresponder bot. It requires PECL OAuth extension to be installed (run "pecl install oauth", or if on Windows, grab php-oauth.dll. If using cPanel you can install it via WHM). The authentication is designed for command-line usage, it won't work too well via a web browser. You'll have to sign up for an application on Twitter's site to get the consumer key and secret.
Could be modified to be more advanced (match regular expressions to answer questions, etc.)