Skip to content

Instantly share code, notes, and snippets.

@woodwardtw
woodwardtw / sensusaccess_iframe.html
Created March 4, 2021 19:52
sensus access iframe
<iframe src="https://www.sensusaccess.com:347/web3/middlebury/" width="100%" height="2000px"></iframe>
@woodwardtw
woodwardtw / ns_cloner_options.txt
Last active February 28, 2021 13:52
NS Cloner options
on: ns_cloner_process_init
clone_mode: core
teleport_full_network:
source_id: 5 //source site ID
target_title: text clone //destination title
target_name: testclone //destination url element
tables_to_clone[]: wp_5_commentmeta //default tables for a site with ID 5
tables_to_clone[]: wp_5_comments
tables_to_clone[]: wp_5_links
tables_to_clone[]: wp_5_options
@woodwardtw
woodwardtw / tklb.css
Last active April 2, 2021 13:49
tlkb.middcreate.net customization
.thing-archive {
border-radius: 0;
border: 0;
box-shadow: 0 4px 8px 0 rgb(0 0 0 / 20%), 0 6px 20px 0 rgb(0 0 0 / 19%);
-webkit-box-shadow: 0 4px 8px 0 rgb(0 0 0 / 20%), 0 6px 20px 0 rgb(0 0 0 / 19%)
}
a{
color: #0D395F;
}
@woodwardtw
woodwardtw / macal.css
Last active February 10, 2021 18:21
macal site custom css
/* remove the gray overlay in the header image */
.site-header:after { display: none; }
/* Adding custom RRU font */
h1, h2, h3, h4, h5, h6 {
font-family: "Auto1Regular", sans serif;
}
@woodwardtw
woodwardtw / default-wordpress-theme.css
Created January 27, 2021 13:29
hopefully I'll add more here when I think of it
//not sure this really does anything but doesn't hurt
html {
-webkit-font-smoothing: antialiased;
}
//keeps the long urls or words from messing stuff
body {
overflow-wrap: break-word;
word-wrap: break-word;
-ms-word-break: break-all;
* /home/stats/public_html/core/Columns/Updater.php:
Error trying to execute the migration 'ALTER TABLE `piwi_log_visit` MODIFY COLUMN `visitor_count_visits` INT(11) UNSIGNED NOT NULL DEFAULT 0, MODIFY COLUMN `visit_total_interactions` MEDIUMINT UNSIGNED DEFAULT 0, MODIFY COLUMN `referer_name` VARCHAR(255) NULL, MODIFY COLUMN `referer_url` VARCHAR(1500) NULL, MODIFY COLUMN `config_browser_name` VARCHAR(40) NULL, ADD COLUMN `config_client_type` TINYINT( 1 ) NULL DEFAULT NULL, MODIFY COLUMN `location_region` char(3) DEFAULT NULL, MODIFY COLUMN `location_region` char(3) DEFAULT NULL;'.
The error was: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'location_region' in 'piwi_log_visit'
* /home/stats/public_html/core/Columns/Updater.php:
Error trying to execute the migration 'ALTER TABLE `piwi_log_visit` MODIFY COLUMN `visitor_count_visits` INT(11) UNSIGNED NOT NULL DEFAULT 0, MODIFY COLUMN `visit_total_interactions` MEDIUMINT UNSIGNED DEFAULT 0, MODIFY COLUMN `referer_name` VARCHAR(255) NULL, MODIFY CO
<p><span style="font-size: 18pt;">My son and I have been watching Crash Course videos throughout the pandemic. He is 15. I am... older. I have learned as much from Crash Course as he has. These videos do a great job of explaining some basic concepts that are critical to understand before we begin exploring how the law applies to education.</span></p>
<p><span style="font-size: 14pt;">[NOTE: In total, there are ~37 minutes worth of video here, so plan accordingly]</span></p>
<p>&nbsp;</p>
<p><iframe src="https://player.pbs.org/viralplayer/2365622700/" width="512" height="332" allowfullscreen="allowfullscreen"></iframe> <iframe src="https://player.pbs.org/viralplayer/2365622697/" width="512" height="332" allowfullscreen="allowfullscreen"></iframe> <iframe src="https://player.pbs.org/viralplayer/2365622697/" width="512" height="332" allowfullscreen="allowfullscreen"></iframe> <iframe src="https://player.pbs.org/viralplayer/2365621395/" width="512" height="332" allowfullscreen="allowfullscreen"></iframe> <iframe
var buttons = document.querySelectorAll("button.status");
console.log(buttons);
var state = true;
buttons.forEach((button) => {
button.addEventListener('click', () => {
if( button.innerText === 'Not Completed'){
button.innerText = 'Course Completed';
}
else {
<div id="contents"><div><p class="c56 c106"><span class="c49 c22"></span></p></div><p class="c45"><span class="c6 c38"><a class="c8" href="https://www.google.com/url?q=https://docs.google.com/document/d/1qciG2ndN2dOfg4KDgL9LwCOl8HUZP5liSKtwRcJ_Ah4/edit?usp%3Dsharing&amp;sa=D&amp;ust=1597863595242000&amp;usg=AOvVaw3GzPl7MMvZ4RNVKfjYspJO">Premodern Women Artists and Patrons:</a></span></p><p class="c45"><span class="c6 c38"><a class="c8" href="https://www.google.com/url?q=https://docs.google.com/document/d/1qciG2ndN2dOfg4KDgL9LwCOl8HUZP5liSKtwRcJ_Ah4/edit?usp%3Dsharing&amp;sa=D&amp;ust=1597863595243000&amp;usg=AOvVaw14DrGfvdx3CXcvecdf8IKm">A Global Bibliography</a></span></p><p class="c45"><span class="c6 c38"><a class="c8" href="https://www.google.com/url?q=https://docs.google.com/document/d/1qciG2ndN2dOfg4KDgL9LwCOl8HUZP5liSKtwRcJ_Ah4/edit?usp%3Dsharing&amp;sa=D&amp;ust=1597863595244000&amp;usg=AOvVaw0fzzj8gkciLhnEa0lIoYUU">Ancient, Medieval, and Renaissance/Early Modern</a></span></p><p class="c15"><span cla
.boxes {
display: flex;
flex-wrap: wrap;
}
.box {
width: 22%;
height: 250px;
border: 2px solid;
margin: 14px auto;