Skip to content

Instantly share code, notes, and snippets.

View agrtechnology's full-sized avatar

AGR Technology agrtechnology

View GitHub Profile
<html>
<head>
<style>
.calculator-main{
width: 100%;
display: flex;
justify-content: center;
}
.calculator-container{
width: 320px;
@agrtechnology
agrtechnology / ABCNewsAustralianRSSFeedWidget
Created November 15, 2021 02:35
Another demo of our RSS feed pulling in Australian news from the ABC: https://agrtech.com.au/rss-feed-widget/
<div style="text-align: left; overflow-y: auto; overflow-x: hidden; width: 100%; background-color: transparent; border: 1px solid #333333;">
<div id="rsswidget" style="height: 500px;"><iframe id="rssOutput" style="border: 0; padding: 0; margin: 0; width: 100%; height: 500px;" src="https://agrtech.com.au/wp-content/plugins/rssgen/rssgen.php?rssurl=https://www.abc.net.au/news/feed/8057136/rss.xml&amp;rsstitle=ABC%20News%20(Australian%20News)&amp;rssamount=10&amp;rssthumbnails=Yes" frameborder="no" marginwidth="0" marginheight="0">Reading RSS Feed ...</iframe></div>
<div id="widgetbottom" style="text-align: right; margin-bottom: 0; border-top: 1px solid #333333;"><span style="font-size: 70%;"><a href="https://agrtech.com.au/">Powered by agrtech</a></span></div>
</div>
@agrtechnology
agrtechnology / TheGuardianRSSFeedWidget
Created November 15, 2021 02:33
A demo of our RSS feed widget of The Guardian news: https://agrtech.com.au/rss-feed-widget/
<div style="text-align: left; overflow-y: auto; overflow-x: hidden; width: 100%; background-color: transparent; border: 1px solid #333333;">
<div id="rsswidget" style="height: 500px;"><iframe id="rssOutput" style="border: 0; padding: 0; margin: 0; width: 100%; height: 500px;" src="https://agrtech.com.au/wp-content/plugins/rssgen/rssgen.php?rssurl=https://www.theguardian.com/world/rss&amp;rsstitle=The%20Guardian%20-%20Global%20News&amp;rssamount=10&amp;rssthumbnails=No" frameborder="no" marginwidth="0" marginheight="0">Reading RSS Feed...</iframe></div>
<div id="widgetbottom" style="text-align: right; margin-bottom: 0; border-top: 1px solid #333333;"><span style="font-size: 70%;"><a href="https://agrtech.com.au/">Powered by agrtech</a></span></div>
</div>
@agrtechnology
agrtechnology / CSS_Code_Block_Example
Created June 29, 2021 08:31
Example of CSS code, see our glossary entry for more information: https://agrtech.com.au/glossary/css-cascading-style-sheet/
body{
font-size: 15px;
font-family: Helvetica, "Helvetica Neue", Arial, "Lucida Grande", sans-serif !important;
font-style: normal;
font-weight: 400 ;
color: #3a3a3a;
line-height: 1.5;
}
a {
color: #3a3a3a !important;
@agrtechnology
agrtechnology / HTML_Code_Example
Last active June 20, 2021 02:17
A random example of HTML code as part of our glossary page: https://agrtech.com.au/glossary/html-hyper-text-markup-language/
h1>An example title</h1>
<p>The quick brown fox jumped over the lazy dog and then proceeded to run a lap around a <strong>large football oval</strong> before returning home.</p>
<p>The <em>brown fox</em> later went outside again to collect some food and this time encounted a cat which unlike the dog was very active and enjoyed sport.</p>
<h3>Here is a map of the oval:</h3>
<iframe src="https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d3151.867830880028!2d144.94531681445739!3d-37.81656467975194!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x6ad65d452b97c1ef%3A0xf0456760532d9f0!2sMarvel%20Stadium!5e0!3m2!1sen!2sau!4v1624155178635!5m2!1sen!2sau" width="200" height="150" style="border:0;" allowfullscreen="" loading="lazy"></iframe>
@agrtechnology
agrtechnology / RSS_XML_Example
Last active June 15, 2021 04:45
An example of a RSS feed shown in XML Part of the following page on our tech glossary: https://agrtech.com.au/glossary/rss-really-simple-syndication/ Source/credit: “Rss” Wikipedia, 27 Sept. 2002, en.wikipedia.org/wiki/RSS#Example. Accessed 15 June 2021.
<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0">
<channel>
<title>RSS Title</title>
<description>This is an example of an RSS feed</description>
<link>http://www.example.com/main.html</link>
<copyright>2020 Example.com All rights reserved</copyright>
<lastBuildDate>Mon, 06 Sep 2010 00:01:00 +0000 </lastBuildDate>
<pubDate>Sun, 06 Sep 2009 16:20:00 +0000</pubDate>
<ttl>1800</ttl>
@agrtechnology
agrtechnology / adobe_flash_player_archive_hashes_by_agrtech
Last active February 25, 2021 19:10
A archived copy of the Adobe Flash Player software published by Adobe which was discontinued on the 31st of December 2020: https://agrtech.com.au/adobe-flash-player-archive/ you can also get a copy from archive.org here: https://archive.org/details/adobe-flash-player-archive_202012
All filenames and hashes:
Windows:
Filename: flashplayer32_a_install.exe
MD5 hash: 6331a3bfe47233560a72da2855616285
Filename: flashplayer32pp_a_install.exe
MD5 hash: 4b3f96b3138ff834f8673efde9bb771f
@agrtechnology
agrtechnology / FAQ_Schema_Example
Created September 3, 2020 01:06
Example FAQ Schema Markup code referenced from: https://agrtech.com.au/schema-markup-generator/
<!-- Schema markup generated by agrtech (agrtech.com.au) -->
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "FAQPage",
"mainEntity": [{
"@type": "Question",
"name": "How do I contact support?",
"acceptedAnswer": {
"@type": "Answer",
@agrtechnology
agrtechnology / Base64_Encoded_Text_Example
Created August 21, 2020 07:42
Example of encoded Base64 string for our free online tool: https://agrtech.com.au/base64-decode-encode/
dGhlIHF1aWNrIGJyb3duIGZveCBqdW1wZWQgb3ZlciB0aGUgbGF6eSBkb2c=
service cups restart
Alternatively you can use this command if the above isn't supported:
/etc/init.d/cups restart
Distro's using systemctl:
sudo systemctl restart cups