I hereby claim:
- I am kjprince on github.
- I am kjprince (https://keybase.io/kjprince) on keybase.
- I have a public key ASByjDRiL9ZAjpCrE-sddgUcvOeYwmA4d3rWrWpVj5N2eQo
To claim this, I am signing this object:
/* | |
From the Magic List Youtube | |
https://gist.github.com/wirtzdan/cbaf758e707a9f5a498829c60519cd9b | |
*/ | |
:root { | |
--font-size: 15.5px; | |
--font-color: hsl(205, 23%, 16%); |
I hereby claim:
To claim this, I am signing this object:
<?php | |
require dirname(__FILE__).'/wp-blog-header.php'; | |
$wpdb->query("DELETE FROM wp_terms WHERE term_id IN (SELECT term_id FROM wp_term_taxonomy WHERE taxonomy LIKE 'pa_%')"); | |
$wpdb->query("DELETE FROM wp_term_taxonomy WHERE taxonomy LIKE 'pa_%'"); | |
$wpdb->query("DELETE FROM wp_term_relationships WHERE term_taxonomy_id not IN (SELECT term_taxonomy_id FROM wp_term_taxonomy)"); | |
$wpdb->query("DELETE FROM wp_term_relationships WHERE object_id IN (SELECT ID FROM wp_posts WHERE post_type IN ('product','product_variation'))"); | |
$wpdb->query("DELETE FROM wp_postmeta WHERE post_id IN (SELECT ID FROM wp_posts WHERE post_type IN ('product','product_variation'))"); | |
$wpdb->query("DELETE FROM wp_posts WHERE post_type IN ('product','product_variation')"); |
<?php | |
require dirname(__FILE__).'/wp-blog-header.php'; | |
$wpdb->query("DELETE FROM wp_terms WHERE term_id IN (SELECT term_id FROM wp_term_taxonomy WHERE taxonomy LIKE 'pa_%')"); | |
$wpdb->query("DELETE FROM wp_term_taxonomy WHERE taxonomy LIKE 'pa_%'"); | |
$wpdb->query("DELETE FROM wp_term_relationships WHERE term_taxonomy_id not IN (SELECT term_taxonomy_id FROM wp_term_taxonomy)"); | |
$wpdb->query("DELETE FROM wp_term_relationships WHERE object_id IN (SELECT ID FROM wp_posts WHERE post_type IN ('product','product_variation'))"); | |
$wpdb->query("DELETE FROM wp_postmeta WHERE post_id IN (SELECT ID FROM wp_posts WHERE post_type IN ('product','product_variation'))"); | |
$wpdb->query("DELETE FROM wp_posts WHERE post_type IN ('product','product_variation')"); |
<script src="//www.google-analytics.com/cx/api.js?experiment=YOUR_EXPERIMENT_ID"></script> | |
<script> | |
function getParameterByName(name) { | |
name = name.replace(/[\[]/, "\\[").replace(/[\]]/, "\\]"); | |
var regex = new RegExp("[\\?&]" + name + "=([^&#]*)"), | |
results = regex.exec(location.search); | |
return results === null ? "" : decodeURIComponent(results[1].replace(/\+/g, " ")); | |
} | |
var varID = getParameterByName('var'); | |
if(! varID){ var chosenVariation = cxApi.chooseVariation(); } |
<div class="container my-container"> | |
<?php | |
$args=array( | |
'post_type' => 'reviews', | |
'post_status' => 'publish', | |
'posts_per_page' => 18 | |
); | |
$my_query = null; |
Verifying that +kjprince is my openname (Bitcoin username). https://onename.com/kjprince |
<p>This is a test to see if this strategy will work.</p> | |
<p>I'm going to see if I can add some inline links.</p> | |
<p><a href="http://princeagency.com" title="Hopewell Junction Insurance Agent" rel="follow">Hopewell Junction New York</a></p> |
# ------------------------------------------------------------------------------ | |
# SETUP CRON JOBS 4 Backup + Server Love --------------------------------------- | |
# ------------------------------------------------------------------------------ | |
# Start by opening the default logger | |
nano /etc/rsyslog.d/50-default.conf | |
# Start tracking cron jobs | |
Uncomment: cron.* [remove the "#" around line 10] | |
Uncomment: daemon.* [remove the "#" around line 11] |