This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>comment</key> | |
<string>Created by Luke Woodward.</string> | |
<key>author</key> | |
<string>Luke Woodward</string> | |
<key>name</key> | |
<string>ultraLight</string> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
user www-data; | |
worker_processes 4; | |
pid /var/run/nginx.pid; | |
events { | |
worker_connections 768; | |
# multi_accept on; | |
} | |
env RMT_PORT_9000_TCP_ADDR; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Non jQuery | |
function closeSomething( event ) { | |
var id = 'ID-of-container'; | |
function traverseDOM( el ) { | |
if ( null === el.parentNode ) { | |
return true; | |
} else if ( id === el.id ) { | |
return false; | |
} else { | |
return traverseDOM( el.parentNode ); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
function eg_title_bodyclass( $classes ) { | |
$classes[] = sanitize_html_class( get_the_title() ); | |
return $classes; | |
} | |
add_filter( 'body_class', 'eg_title_bodyclass' ); |
NewerOlder