Skip to content

Instantly share code, notes, and snippets.

View Vinsanity's full-sized avatar

Vinny Listrani Vinsanity

View GitHub Profile
@Vinsanity
Vinsanity / slack_invite.php
Created April 17, 2017 16:12 — forked from Topener/slack_invite.php
Simple PHP script to invite slack users
<?php
/**
* This is a simple script to invite users to your slack
* Replace the subdomain and token in the variables below.
* Upload a logo called "logo.png" to the same directory for your group
* Upload a logo called "slack.png" to the same directory for slack
*/
define('SUBDOMAIN','{YOUR SUBDOMAIN HERE}');
define('TOKEN','{YOUR API TOKEN HERE}');
?>
@Vinsanity
Vinsanity / gist:2377530
Created April 13, 2012 15:05 — forked from luetkemj/wp-query-ref.php
WP: Query $args
<?php
/**
* WordPress Query Comprehensive Reference
* Compiled by luetkemj - luetkemj.com
*
* CODEX: http://codex.wordpress.org/Class_Reference/WP_Query
* Source: http://core.trac.wordpress.org/browser/tags/3.3.1/wp-includes/query.php
*/
$args = array(