These instructions are for Debian-based distributions, but they are similar for RPM-based distros.
It is best to do multiple tests and average the results, especially on VPS which may be affected by peek traffic.
sudo su
apt update && apt upgrade
function my_custom_icons( $sets ) { | |
$path = get_stylesheet_directory() . '/my-custom-icons/'; | |
$url = get_stylesheet_directory_uri() . '/my-custom-icons/'; | |
$data = json_decode( file_get_contents( $path . 'selection.json' ) ); | |
$icons = array(); | |
foreach ( $data->icons as $icon ) { | |
$prefs = $data->preferences->fontPref; |
<?php | |
/* | |
Created by: [email protected] 16/03/2014 | |
Name of script: Create WordPress Admin User | |
Description: This script will create an admin user in wordpress | |
Usage: Create a new file in the root of the hosting account and drop this code into it then execute the script through the browser. |
/** | |
* Retrieves all the rows in the active spreadsheet that contain data and logs the | |
* values for each row. | |
* For more information on using the Spreadsheet API, see | |
* https://developers.google.com/apps-script/service_spreadsheet | |
*/ | |
function readRows() { | |
var sheet = SpreadsheetApp.getActiveSheet(); | |
var rows = sheet.getDataRange(); | |
var numRows = rows.getNumRows(); |