From 810785deb3f419e692a63ad90c8f9d8e0036c554 Mon Sep 17 00:00:00 2001 From: Roan Horning Date: Sun, 3 Jul 2022 22:00:11 -0400 Subject: [PATCH] Update test data insert script Add dynamic generation of release dates for episodes released in the last 7 days, the last 5 weeks, and older than the last 5 weeks. --- _sql/Insert_Test_Data.sql | 102 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 102 insertions(+) diff --git a/_sql/Insert_Test_Data.sql b/_sql/Insert_Test_Data.sql index 593a9eb..4ddc67b 100644 --- a/_sql/Insert_Test_Data.sql +++ b/_sql/Insert_Test_Data.sql @@ -4,7 +4,11 @@ VALUES(1, 'droops', 'droops.nospam@nospam.gmail.com', '1.png', 'CC-BY-NC-SA', 'n INSERT INTO Contributors (id, handle, email, avatar, default_license, profile) VALUES(3, 'dosman', 'dosman.nospam@nospam.packetsniffers.org', 'hpr_logo.png', 'CC-BY-SA', 'packetsniffers.org'); +INSERT INTO Contributors +(id, handle, email, avatar, default_license, profile) +VALUES(73, 'deepgeek', 'hpr.nospam@nospam.deepgeek.us', 'hpr_logo.png', 'CC-BY-SA', 'linkpot.net/vogueing/'); +-- Older than 5 weeks INSERT INTO Episodes (id, correspondent_id, is_explicit, submitted, published, license, title, summary, series, show_notes) VALUES(6, 3, 1, '2008-01-08', '2008-01-08', 'CC-BY-NC-SA', 'Part 15 Broadcasting', 'dosman and zach from the packetsniffers talk about Part 15 Broadcasting which is low power', NULL, '

dosman and zach from the packetsniffers talk about Part 15 Broadcasting which is low power broadcasting for the local area. Used to do community radio around an event, a church, concerts etc. They discuss what the regulations are in the US, what you need, how to get started, what things to consider. All in all great introduction to the topic. @@ -25,3 +29,101 @@ droops interviews John Whaley from +

+A few well-placed links... +

+ +'); + +INSERT INTO Episodes +(id, correspondent_id, is_explicit, submitted, published, license, title, summary, series, show_notes) +VALUES (1459,73,1,'2014-03-06',date('now', '-14 days'),'CC-BY-SA','Locational Privacy with retrotech-the lowly pager','deepgeek advocates the use of a pager for privacy reasons','Privacy and Security','

+In this episode, deepgeek suggests that adding and old, and perhaps laughable +by modern standards, device to your mobile lifestyle. Deepgeek reveals that +said device is the pager, but he eventually gives good reasons for doing so. +

+

+The primary reason is that the paging company does not know where you are, +so they can''t tell "the man" where you are. Other reasons are redundancy +and trouble interpreting audio. But in the end, you find out why first +responders and medical and fire personal still use these devices, and how you, +as a privacy lover, may reap benefits from using this technology also. +

+

+Some links mentioned in case you want to follow them... +

+

+Duck Duck Go search on locational privacy +https://duckduckgo.com?q=locational+privacy +

+

+"privacy is dead" audio +

+ + + +

+USA''s two remaining paging companies +

+ + + +

don''t forget to check out resellers for deals, like "free pager with one year prepaid

+ +

+A good sms via email webpage +

+ +' +); + +--Within the last 7 days +INSERT INTO Episodes +(id, correspondent_id, is_explicit, submitted, published, license, title, summary, series, show_notes) +VALUES (2376,73,0,'2017-09-11',date('now', '-3 days'),'CC-BY-SA','Information Underground: 21st Century Superstar','Deepgeek, Lostnbronx, and Klaatu talk about iconless culture','Information Underground','

Deepgeek, Lostnbronx, and Klaatu talk about cultural iconography.

'); +INSERT INTO Episodes +(id, correspondent_id, is_explicit, submitted, published, license, title, summary, series, show_notes) +VALUES (3276,73,0,'2021-02-22',date('now','-1 days'),'CC-BY-SA','Deepgeek''s thoughts about HD Radio','Klaatu reads a post by Deepgeek','Information Underground','

+Deepgeek, Klaatu, and Lostnbronx discuss things. +

+ +

+Deepgeek''s thoughts about HD radio. +

+ +

Links

+ +');