Skip to content

Instantly share code, notes, and snippets.

View evanvolgas's full-sized avatar

Evan Volgas evanvolgas

  • Asheville, NC
View GitHub Profile
curl -X DELETE https://evan.is/wp-json/wp/v2/posts/725
<?xml version="1.0"?>
<methodResponse>
<params>
<param>
<value>
<array>
<data>
<value>
<struct>
<member>
@evanvolgas
evanvolgas / RPC-XML-comments.xml
Created May 21, 2016 20:33
Request Comments from WordPress
<?xml version="1.0"?>
<methodCall>
<methodName>wp.getComments</methodName>
<params>
<param>
<value>
<string>1</string>
</value>
</param>
<param>
@evanvolgas
evanvolgas / test.py
Last active November 12, 2015 15:34
import tldextract
from collections import Counter
extract = tldextract.TLDExtract()
test = ['ads.adiquity.com',
'ads.adiquity.com.',
' ads.adiquity.com.',
' ads.adiquity.com. ',
'ads.adiquity.com. ',
[9:56:49] peterevanvolgas:Downloads $ aws s3 ls fs-requeststream/2015/ --profile clickstre.am
PRE 06/
PRE 07/
PRE 08/
[9:57:08] peterevanvolgas:Downloads $ aws s3 ls fs-requeststream/2015/07/ --profile clickstre.am
PRE 01/
PRE 02/
PRE 03/
PRE 04/
PRE 05/
Everyone:
Slack
Gmail
WhatRunsWhere itself (the employee account)
Prodpad
Zach and Jay:
LastPass
Confluence
Everyone:
Slack
Gmail
WhatRunsWhere itself (the employee account)
Prodpad
Zach and Jay:
LastPass
Confluence

Contract Killer

The popular open-source contract for web designers and developers by Stuff & Nonsense

  • Originally published: 23/12/2008
  • Revised date: 15/12/2013
  • Original post

@evanvolgas
evanvolgas / bp-custom
Created October 25, 2013 20:29
This will set "Profile" as default tab when viewing a member (instead of activity)
<?php
// This file goes in /wp-content/plugins. You cannot rename the file. It must be bp-custom.php
//This will set "Profile" as default tab when viewing a member (instead of activity)
// BP hacks and mods go here
define( 'BP_DEFAULT_COMPONENT', 'profile' );
?>
@evanvolgas
evanvolgas / bp-custom-report
Last active December 26, 2015 13:49
BuddyPress and Genesis Framework: Query Custom Database with Member and Groups Scores
<?php
//*********************** */
//*********************** */
//The client is running a video game tournament website.
//Players will play multiple games. Teams can play one game.
//The goal is to record the total points earned per player/team
//And the the poist history of each player/team
//The data are input using the Participants Database for WordPress
//http://wordpress.org/plugins/participants-database/