Skip to content

Instantly share code, notes, and snippets.

View tolkadot's full-sized avatar

Dee Bryant tolkadot

View GitHub Profile
@tolkadot
tolkadot / index.html
Last active August 29, 2015 14:27
tolkadot website
<nav class="navbar navbar-default">
<div class="container-fluid">
<div class="navbar-header">
<a class="navbar-brand" href="#">tolka dot</a>
</div>
<div>
<ul class="nav navbar-nav navbar-right">
<li><a href="#">home</a></li>
<li><a href="#">about</a></li>
@tolkadot
tolkadot / index.html
Created August 22, 2015 10:22
tolkadot website
<head>
<link href='http://fonts.googleapis.com/css?family=Poiret+One' rel='stylesheet' type='text/css'>
<link href='http://fonts.googleapis.com/css?family=Alegreya+Sans+SC:400,900' rel='stylesheet' type='text/css'>
</head>
<!-- NAV -->
<nav class="navbar navbar-default">
<div class="container-fluid">
@tolkadot
tolkadot / index.html
Created August 24, 2015 09:02
website background scroll
<head>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.4.0/css/font-awesome.min.css">
<link href='http://fonts.googleapis.com/css?family=Poiret+One' rel='stylesheet' type='text/css'>
<link href='http://fonts.googleapis.com/css?family=Alegreya+Sans+SC:400,900' rel='stylesheet' type='text/css'>
</head>
<!-- NAV -->
<nav class="navbar navbar-default">
<div class="container-fluid">
@tolkadot
tolkadot / Random Quote Machine III.markdown
Last active August 30, 2015 09:26
Random Quote Machine III
@tolkadot
tolkadot / gist:c3ebb1201b84122056b36bc758c4588f
Created June 3, 2016 06:00 — forked from salcode/gist:7164690
Genesis WordPress Framework adding custom classes to markup This gist was originally created as an example of what I perceived to be an inconsistent behavior, my error was failing to attach my code to action `genesis_setup`. Corrected version now appears below. 20131027 - merged Gary Jones's fork with corrections and refactoring
<?php
/*
* Examples to add custom classes to Genesis WordPress Framework Markup when using HTML5 output
*/
add_action( 'genesis_setup', 'srf_add_cust_classes', 15 ); // Priority 15 ensures it runs after Genesis itself has setup.
function srf_add_cust_classes() {
add_filter( 'genesis_attr_site-inner', 'srf_attr_site_inner' );
add_filter( 'genesis_attr_content-sidebar-wrap', 'srf_attr_content_sidebar_wrap' );
add_filter( 'genesis_attr_content', 'srf_attr_content' );
add_filter( 'genesis_attr_sidebar-primary', 'srf_attr_sidebar_primary' );
@tolkadot
tolkadot / woocommerce_rename_coupon_messages
Created February 12, 2017 05:15
woocommerce_rename_coupon_messages
// rename the coupon field on the cart page
function woocommerce_rename_coupon_messages( $translated_text, $text, $text_domain ) {
// bail if not modifying frontend woocommerce text
if ( is_admin() || 'woocommerce' !== $text_domain ) {
return $translated_text;
}
if (strpos($translated_text, 'Coupon') !== false) {
$translated_text = str_replace('Coupon', 'Promo Code', $translated_text);
}
else
[
{
"city": "Sydney",
"lat": "-33.8650",
"lng": "151.2094",
"country": "Australia",
"iso2": "AU",
"admin_name": "New South Wales",
"capital": "admin",
"population": "5312163",
@tolkadot
tolkadot / vic-covid-testing-sites.json
Last active October 19, 2021 23:07
List of Covid Testing sites
{
"meta": {
"releaseDate": "2021-10-20 10:01:58"
},
"sites": [
{
"Site_ID": "4489",
"Site_Name": "Aireys Inlet Medical Centre",
"Facility": "Pathology Collection Centre",
"Website": "https://aireysinletmc.com.au/",
This file has been truncated, but you can view the full file.
[
{
"conversation_id":"1487696863377592322",
"created_at":"2022-01-30 18:59:06 AEDT",
"date":"2022-01-30",
"time":"18:59:06",
"timezone":"+1100",
"user_id":"86848460",
"username":"triplejplays",
"name":"triple j Plays",