MongoDB Crash Course 2022 < TODO: Add Video Link
<html> | |
<head> | |
<script src="https://unpkg.com/@optimizely/[email protected]/dist/optimizely.browser.umd.min.js"></script> | |
<script src="https://cdn.optimizely.com/datafiles/V7kE2tbrJaYGmtRF5W5QXf.json/tag.js"></script> | |
</head> | |
<body> | |
<h1>Hello World</h1> | |
<p id="subtitle">This is a subtitle</p> | |
</body> | |
<script> |
#! /bin/bash | |
# ECHO COMMAND | |
# echo Hello World! | |
# VARIABLES | |
# Uppercase by convention | |
# Letters, numbers, underscores | |
NAME="Bob" | |
# echo "My name is $NAME" |
#!/usr/bin/env bash | |
# Assuming you have a master and dev branch, and that you make new | |
# release branches named as the version they correspond to, e.g. 1.0.3 | |
# Usage: ./release.sh 1.0.3 | |
# Get version argument and verify | |
version=$1 | |
if [ -z "$version" ]; then | |
echo "Please specify a version" |
<?php | |
// In a class constructor | |
$this->size_tax = wc_attribute_taxonomy_name( 'Size' ); | |
$this->color_tax = wc_attribute_taxonomy_name( 'Color' ); | |
// Insert the main product first | |
// It will be used as a parent for other variations (think of it as a container) | |
$product_id = wp_insert_post( array( |
People
![]() :bowtie: |
๐ :smile: |
๐ :laughing: |
---|---|---|
๐ :blush: |
๐ :smiley: |
:relaxed: |
๐ :smirk: |
๐ :heart_eyes: |
๐ :kissing_heart: |
๐ :kissing_closed_eyes: |
๐ณ :flushed: |
๐ :relieved: |
๐ :satisfied: |
๐ :grin: |
๐ :wink: |
๐ :stuck_out_tongue_winking_eye: |
๐ :stuck_out_tongue_closed_eyes: |
๐ :grinning: |
๐ :kissing: |
๐ :kissing_smiling_eyes: |
๐ :stuck_out_tongue: |
diff --git wp-includes/meta.php wp-includes/meta.php | |
index 8a9dad9..d3e4f82 100644 | |
--- wp-includes/meta.php | |
+++ wp-includes/meta.php | |
@@ -708,7 +708,7 @@ class WP_Meta_Query { | |
// Split out the meta_key only queries (we can only do this for OR) | |
if ( 'OR' == $this->relation ) { | |
foreach ( $this->queries as $k => $q ) { | |
- if ( ! isset( $q['value'] ) && ! empty( $q['key'] ) ) | |
+ if ( ( empty( $q['compare'] ) || 'NOT EXISTS' != $q['compare'] ) && ! isset( $q['value'] ) && ! empty( $q['key'] ) ) |
โ back to the gist-blog at jrw.fi
Or, 16 cool things you may not have known your stylesheets could do. I'd rather have kept it to a nice round number like 10, but they just kept coming. Sorry.
I've been using SCSS/SASS for most of my styling work since 2009, and I'm a huge fan of Compass (by the great @chriseppstein). It really helped many of us through the darkest cross-browser crap. Even though browsers are increasingly playing nice with CSS, another problem has become very topical: managing the complexity in stylesheets as our in-browser apps get larger and larger. SCSS is an indispensable tool for dealing with this.
This isn't an introduction to the language by a long shot; many things probably won't make sense unless you have some SCSS under your belt already. That said, if you're not yet comfy with the basics, check out the aweso
-- phpMyAdmin SQL Dump | |
-- version 2.11.6 | |
-- http://www.phpmyadmin.net | |
-- | |
-- Host: localhost:3306 | |
-- Generation Time: Jan 11, 2013 at 04:24 PM | |
-- Server version: 5.0.51 | |
-- PHP Version: 5.2.5 | |
SET SQL_MODE="NO_AUTO_VALUE_ON_ZERO"; |