Since WordPress uses MyISAM for it's storage engine, we don't get foreign keys - thus orphan rows can show themselves.
SELECT * FROM wp_posts
LEFT JOIN wp_posts child ON (wp_posts.post_parent = child.ID)
<?php | |
/* This part goes in your functions.php */ | |
/** | |
* Get Some Posts | |
* | |
* Use get_posts to get an array of posts matching a set of criteria. | |
* The category_name is passed to the function. | |
* get_posts uses the same parameters as WP_query. See the Codex for the full details.. | |
* http://codex.wordpress.org/Template_Tags/get_posts |
<?php | |
/** | |
* Remove a given term from the specified post | |
* | |
* Helper function since this functionality doesn't exist in core | |
*/ | |
function my_remove_post_term( $post_id, $term, $taxonomy ) { | |
if ( ! is_numeric( $term ) ) { |
Download FFmpeg https://www.ffmpeg.org/download.html FFmpeg is a command line tool, which means there is no GUI. You are going to have to input commands via the keyboard instead of clicking the mouse.
Current Limitations for WebM files on 4chan are:
Maximum file size is 4096KB.
Maximum duration is 300 seconds.
###SSH into a remote machine###
ssh [email protected]
#or by ip address
ssh [email protected]
exit: exit
###Install Something###
#If it's a new server, update apt-get first thing
/******************************************************************************* | |
1. DEPENDENCIES | |
*******************************************************************************/ | |
var gulp = require('gulp'); // gulp core | |
sass = require('gulp-sass'), // sass compiler | |
uglify = require('gulp-uglify'), // uglifies the js | |
jshint = require('gulp-jshint'), // check if js is ok | |
rename = require("gulp-rename"); // rename files | |
concat = require('gulp-concat'), // concatinate js |