OVSTechTips


https://www.siteground.com/kb/how_to_clear_the_local_dns_cache_in_mac_os/

When we switch over to a new Moodle site for the next semester, here is how to flush my DNS cache so that 'moodle.ovs.org' redirects to the correct copy of Moodle:

  • Go to Applications -> Utilities -> Terminal

  • Type the following command and press Enter:

dscacheutil -flushcache
  • After that type the second command and press Enter:

sudo killall -HUP mDNSResponder

When embedding a Google Slide show into Moodle, if you want the size of the slideshow to be responsive, use the code suggested here:

.google-slides-container{ position: relative; width: 100%; padding-top: 60%; overflow: hidden; } .google-slides-container iframe{ position: absolute; top: 0; left: 0; width: 100%; height: 100%; }

where you've added a <div> around the embed iframe code like:

<div class="google-slides-container> ... </div>

Practically speaking, here's the code you want to copy-paste, with embedded styles:

<div class="google-slides-container" style="position: relative; width: 100%; padding-top: 60%; overflow: hidden;"> <iframe style="position: absolute; top: 0; left: 0; width: 100%; height: 100%;"

Also, to hide navigation in embedded Google Slides, add the following to the embed src link:

&amp;rm=minimal

A Kwiki bug is causing the above code to display wrong sometimes, it should be an ampersand followed by the text "amp;rm=minimal".