Skip to content

Instantly share code, notes, and snippets.

View andiaziz's full-sized avatar

Andi Aziz andiaziz

  • Yogyakarta
View GitHub Profile
@rjyo
rjyo / slideshare.js
Created April 13, 2013 15:17
node.js version to download slide from slideshare.net.
var fs = require('fs'),
request = require('request'),
sys = require('sys'),
exec = require('child_process').exec;
var url = 'http://image.slidesharecdn.com/leanstartupmetricsandanalytics-120929084139-phpapp01/95/';
var tmpPath = './slides/';
var pages = 115;
var workers = 10;
var count = 0;
@yankiara
yankiara / oxygen-repeater-dynamic-query.php
Last active July 15, 2024 15:17
Use dynamic queries with Oxygen's repeater
/* I'll put here different examples of dynamic query for Oxygen repeater :
* - Use one of the following repeater_dynamic_query definitions
* in code block just BEFORE the repeater
* - Set the repeater custom query settings : post type, number of posts, order...
* - Add the remove_action in a code block AFTER the repeater
*/
/****************************************************************************************************
* Display related posts for any CPT with taxonomy: