New Microformats WordPress theme

Microformats WordPress theme use both worlds: Fixed size layout and responsive technique of scaling to fit the browser width when the browser width is less than 800px. It supports Article microformats for posts that can be tested from here: https://developers.google.com/structured-data/testing-tool/ (on this URL https://programming-review.com/find-grep/ for example). It also supports 500+ Google fonts and custom colors,…

Tagged ,

NPM cli commands info

CLI Commands access Set access level on published packages adduser Add a registry user account bin Display npm bin folder bugs Bugs for a package in a web browser maybe build Build a package bundle REMOVED cache Manipulates packages cache completion Tab Completion for npm config Manage the npm configuration files dedupe Reduce duplication deprecate…

Most popular Gulp plugins to work with

Sass compile (gulp-ruby-sass) Autoprefixer (gulp-autoprefixer) Minify CSS (gulp-cssnano) JSHint (gulp-jshint) Concatenation (gulp-concat) Uglify (gulp-uglify) Compress images (gulp-imagemin) LiveReload (gulp-livereload) Caching of images so only changed images are compressed (gulp-cache) Notify of changes (gulp-notify) Clean files for a clean build (del)

Tagged

Most wanted NPM packages

Most stared npm packages: express Fast, unopinionated, minimalist web framework gulp The streaming build system request Simplified HTTP request client. async Higher-order functions and common patterns for asynchronous code lodash Lodash modular utilities. browserify browser-side require() the node way pm2 Production process manager for Node.JS applications with a built-in load balancer. grunt The JavaScript Task…

Tagged ,

WP_Query eliminate memory overflow

Whenever WP_Query() runs on big blogs with many posts, it takes lot of memory, so we get memory overflow. $args = array( ‘post_status’ => ‘publish’, ‘post_type’ => array( ‘post’ ), ‘posts_per_page’ => -1 ); $query = null; wp_reset_query(); $query = new WP_Query($args); Why there is Memory Overflow? WP_Query actually loads every matching post into memory,…

Tagged , ,