This file contains 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
{EVENTNAME}: Replace with Event Name | |
{EVENTDESC}: Replace with Event Description | |
{YYYYMMDD}T{HHMMSS}: Replace with date/time of Event start/end in exact format. Yahoo use duration instead of end date/time. | |
{VENUE}: Veneue of Event | |
https://calendar.google.com/calendar/render?action=TEMPLATE&trp=false&sprop=website%20address&sprop=name:website%20name&text={EVENTNAME}&dates={YYYYMMDD}T{HHMMSS}/{YYYYMMDD}T{HHMMSS}&details={EVENTDESC}&location={VENUE} | |
Hotmail | |
http://calendar.live.com/calendar/calendar.aspx?rru=addevent&dtstart={YYYYMMDD}T{HHMMSS}&TITLE={EVENTNAME}&DUR={HHMM}&VIEW=d&DESC={EVENTDESC}&in_loc={VENUE}&dtend={YYYYMMDD}T{HHMMSS}&summary={EVENTNAME}&location={VENUE} |
This file contains 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 | |
/** | |
* Class WebinarJam | |
* Implements the WebinarJam API as documented | |
* https://d3kcv4e58tsh6h.cloudfront.net/api/WebinarJamAPI.pdf | |
* Created Date : 03/02/2018 | |
*/ | |
class WebinarJam { | |
public static $API_URL = 'https://webinarjam.genndi.com/api/'; |
This file contains 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
/*function clientSideInclude(id, url) { | |
var req = false; | |
// For Safari, Firefox, and other non-MS browsers | |
if (window.XMLHttpRequest) { | |
try { | |
req = new XMLHttpRequest(); | |
} catch (e) { | |
req = false; | |
} | |
} else if (window.ActiveXObject) { |
This file contains 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
elms=document.getElementsByName("checkableitems[]");for (i=0;i<elms.length;i++){if (elms[i].type="checkbox" )elms[i].click()}; |
This file contains 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
<!-- put this at the top of the page --> | |
<?php | |
$mtime = microtime(); | |
$mtime = explode(" ",$mtime); | |
$mtime = $mtime[1] + $mtime[0]; | |
$starttime = $mtime; | |
?> | |
<!-- ******************************* --> | |
<!-- put other code and html in here --> |
This file contains 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 | |
add_filter( 'http_request_args', 'dm_prevent_update_check', 10, 2 ); | |
function dm_prevent_update_check( $r, $url ) { | |
if ( 0 === strpos( $url, 'http://api.wordpress.org/plugins/update-check/' ) ) { | |
$my_plugin = plugin_basename( __FILE__ ); | |
$plugins = unserialize( $r['body']['plugins'] ); | |
unset( $plugins->plugins[$my_plugin] ); | |
unset( $plugins->active[array_search( $my_plugin, $plugins->active )] ); | |
$r['body']['plugins'] = serialize( $plugins ); | |
} |
This file contains 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 | |
error_reporting(E_ALL); | |
ini_set("display_errors", 1); | |
?> |
This file contains 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
<h1>CSS Basic Elements</h1> | |
<p>The purpose of this HTML is to help determine what default settings are with CSS and to make sure that all possible HTML Elements are included in this HTML so as to not miss any possible Elements when designing a site.</p> | |
<hr /> | |
<h1 id="headings">Headings</h1> | |
<h1>Heading 1</h1> | |
<h2>Heading 2</h2> |