This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| * these are two alternative settings for wp-config.php don't use both! | |
| **/ | |
| /** | |
| * super shush any errors or warnings | |
| **/ | |
| ini_set('display_errors','Off'); | |
| ini_set('error_reporting', E_ALL ); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| h1, | |
| h2, | |
| h3, | |
| h4, | |
| h5, | |
| .h1 { | |
| font-family: Domine, georgia, serif; | |
| } | |
| #app-header { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "options": { | |
| "bookmarkThumbHeight": 150, | |
| "bookmarkThumbWidth": 90, | |
| "leftPanelEnabled": true, | |
| "limitLocales": true, | |
| "minWidthBreakPoint": 610, | |
| "navigatorEnabled": true, | |
| "openTemplate": "http://universalviewer.io?manifest={0}", | |
| "overrideFullScreen": false, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # full path | |
| data = open("../../test/test.php", "w") | |
| phpheader = ["<?php \n", "defined( 'ABSPATH' ) || exit; \n", "$bar = '"] | |
| data.writelines(phpheader) | |
| # regular csv stuff to populate the variable |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| section.part header h1, section.front-matter header h1.entry-title, section.back-matter header h1.entry-title, | |
| .front-matter h5, | |
| .part h5, | |
| .chapter h5, | |
| .back-matter h5, | |
| body#tinymce.wp-editor h5, | |
| .front-matter h2, | |
| .part h2, | |
| .chapter h2, | |
| .back-matter h2, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| javascript: (() => {var tableRows = document.querySelector('.session-list').querySelectorAll('tr');tableRows.forEach((row) => {if(row.dataset){var dlUrl = 'https://midd.hosted.panopto.com/Panopto/Podcast/Download/'+row.dataset.id+'.mp4?mediaTargetType=videoPodcast';window.open(dlUrl);}});})(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| //simple GF merge field modifier that replaces the space with a dash | |
| add_filter( 'gform_merge_tag_filter', function ( $value, $merge_tag, $modifier, $field, $raw_value, $format ) { | |
| if ( $merge_tag != 'all_fields' && $modifier == 'urlmaker' ) { | |
| $value = str_replace(" ", "-", $value); | |
| } | |
| return $value; | |
| }, 10, 6 ); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| add_action( 'gform_after_submission_3', function ( $entry ) { | |
| if ( ! function_exists( 'tribe_create_event' ) ) { | |
| return; | |
| } | |
| $start_date = rgar( $entry, '2' ); | |
| $start_time = rgar( $entry, '3' ); | |
| $end_date = rgar( $entry, '4' ); | |
| $end_time = rgar( $entry, '5' ); | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <h1>SensusAccess Stats Index</h1> | |
| <?php | |
| function create_file_name($string){ | |
| $name = str_replace('middlebury-report-','', $string); | |
| $name = substr($name,0,10); | |
| return $name; | |
| } | |
| $files = scandir('.'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| /** | |
| * UnderStrap functions and definitions | |
| * | |
| * @package UnderStrap | |
| */ | |
| // Exit if accessed directly. | |
| defined( 'ABSPATH' ) || exit; |