Skip to content

Instantly share code, notes, and snippets.

View nickhempsey's full-sized avatar

NHemps311 nickhempsey

View GitHub Profile
{"title":"⭐Server Rules","description":"**BE NICE**\n-No form of bullying, hate speech, discrimination, harassment, virtual stalking, or sexually explicit suggestion/material will be tolerated in any area of the server. We are a PG13+ community and all icons, language, and usernames must reflect as such.\n\n**YOUR NICKNAME SHOULD MATCH YOUR IN-GAME-NAME**\n-You're allowed to add extra stuff to your name (level, country). Just as long as we know who you are based on your IGN.\n-Additionally, your name and code must be set for PokeNav in order to raid and/or host.\n\n**NO SPOOFING**\n-Any conversation or app disclosure of spoofing (using modified software to fake your GPS location) will be banned.\n\n**DISCUSSING ACCOUNT SHARING IS STRICTLY PROHIBITED**\n\nSharing your account details can lead to your account being stolen, or being banned by Niantic for breaking their Terms of Service. Anyone found to be d\n\n**NO ADVERTISING**\n-That means advertising alternate communities (Discord, Facebook, Twitter, etc) If
@nickhempsey
nickhempsey / index.html
Created November 2, 2012 18:45
3D Profile Flip Card - From Codepen.io
<div id="wrap">
<h1>3D Profile Flip Card</h1>
<p>Click <span aria-hidden="true" data-icon="&#x69;"></span> to rotate the card</p>
<h2>Along the Y</h2>
<div class="card post">
<div class="wrap">
<div class="face front">
<img src="http://studio412design.com/flip-card/images/clooney.jpg">
<a aria-hidden="true" data-icon="&#x69;" class="flip"></a>
@nickhempsey
nickhempsey / reverse_relationship.php
Created June 18, 2012 14:25
Reverse Relationship ACF
<?php
/* --------------- COMMENTED ------------------- */
// Grab the permalink from current staff page.
// I tried using the post ID's but I ran into a lot of issues.
// The permalink was the most solid solution.
$post_permalink = get_permalink();
// Start the query for all portfolio items
$args = array(
@nickhempsey
nickhempsey / rss.xml.php
Created March 3, 2012 18:13
Wellspring Media XML
<?php
/**
Template Name: RSS Feed
**/
$numposts = -1;
function yoast_rss_date( $timestamp = null ) {
$timestamp = ($timestamp==null) ? time() : $timestamp;
echo date(DATE_RSS, $timestamp);
@nickhempsey
nickhempsey / custom-avatar.php
Created January 21, 2011 18:18
custom avatar for WP
// Add custom Avatar
add_filter( 'avatar_defaults', 'newgravatar' );
function newgravatar ($avatar_defaults) {
$myavatar = get_bloginfo('stylesheet_directory').'/images/IMAGENAME.png';
$avatar_defaults[$myavatar] = "AVATAR TITLE";
return $avatar_defaults;
}