Skip to content

Instantly share code, notes, and snippets.

View tolkadot's full-sized avatar

Dee Bryant tolkadot

View GitHub Profile
@tolkadot
tolkadot / triplej-song-plays
Created November 5, 2022 10:12
triplej-song-plays
{"id": 1006581308888375297, "conversation_id": "1006581308888375297", "created_at": "2018-06-13 02:57:40 AEST", "date": "2018-06-13", "time": "02:57:40", "timezone": "+1000", "user_id": 86848460, "username": "triplejplays", "name": "triple j Plays", "place": "", "tweet": "HINDS - The Club [02:55]", "language": "en", "mentions": [], "urls": [], "photos": [], "replies_count": 0, "retweets_count": 0, "likes_count": 0, "hashtags": [], "cashtags": [], "link": "https://twitter.com/triplejplays/status/1006581308888375297", "retweet": false, "quote_url": "", "video": 0, "thumbnail": "", "near": "", "geo": "", "source": "", "user_rt_id": "", "user_rt": "", "retweet_id": "", "reply_to": [], "retweet_date": "", "translate": "", "trans_src": "", "trans_dest": ""}
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",
@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/",
[
{
"city": "Sydney",
"lat": "-33.8650",
"lng": "151.2094",
"country": "Australia",
"iso2": "AU",
"admin_name": "New South Wales",
"capital": "admin",
"population": "5312163",
@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
@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 / Random Quote Machine III.markdown
Last active August 30, 2015 09:26
Random Quote Machine III
@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 / 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">