…teStep'=> 15, 'showMeridian'=>true, //'pickerPosition' => 'bottom-left', 'startView'=>1, 'minView'=>0, 'maxView'=>1, // to do - format one day ahead //'initialDate'=> Date('Y-m-d'), // $( "th.switch" ).text( "Pick the time" ); ] ]);?> </div> <p></p> </div> <div class="col-xs-6 col-md-2 col-lg-2"> <?php $durationList = [1=>'1 hour',2=>'2 hours',3=>'3 hours',4=>'4 hours',5=>'5 hours',6=>'6 hours',12=>'12 hours',24=>'24 hours',48=>'48 hours',72=>'72 hours'];…
…test were 200 but none of the students scored more than 180 marks, the scale will most probably max out at 180. In such cases, the readers will have no way of knowing if the maximum marks were 180 or 200.Chart.js has multiple built-in options that let you control different…
…test things out, go into the admin panel and create a new user with a valid email address you can quickly check. If all went well, you'll receive an email with a verification link. The verification routine is not ready yet. Here's how to verify the account: from django.shortcuts import…
…test of time and has become the de facto standard: jQuery. In fact, jQuery is so popular that you would be hard pressed to find a website that doesn't use it!The jQuery function $() is the gateway to the whole jQuery library. In this short video from my course Introduction…
…test the index method to see things in action.Useful Goodies: Flashdata and TempdataIn the last section, we discussed the basics of session handling in CodeIgniter. In this section, we'll discuss couple of other utility methods provided by the session library.In your day-to-day development, you often need to display messages in…
…test Twitter API episodes on the early version of this platform, following friends on behalf of users and analyzing our followers. The site I described in those, Twixxr, forms the foundation of my Yii customization work.So adding core functionality like voting, comments and sharing makes so much sense. As you…
…test version of WP-CLI. The recommended way to do this is to download the WP-CLI as a Phar file via the command line. This is just a PHP archive file containing all the PHP files needed for the WP-CLI to run, all wrapped up in a single convenient file ready…
…test the API, but you can also use cURL:Here's the receiving API code that responded to the call above:public function actionRegister($app_id='', $source='',$firstname ='',$lastname='',$email = '',$oauth_token='',$sig='') { Yii::$app->response->format = Response::FORMAT_JSON; $sig_target = hash_hmac('sha256',$email.$firstname.$lastname.$oauth_token.$source,Yii::$app->params['app_secret']); if ($app_id != Yii::$app->params['app_id'] && $sig==$sig_target) { return 'it worked!'; } else { return 'failed!'; } Furthermore, as…
…test version of the library hosted on a CDN. <script src="path/to/anime.min.js"></script> After a successful installation, you are now ready to use this library to add interesting animation to your elements. We will start with the basics of the library, focusing on one particular area at a time. Specifying Target Elements…
…test default WordPress theme. So if you are following along then it's a good idea to have this installed before moving on.You can use a child theme based on another parent theme if you prefer, but you'll need to modify some of the code to make it work seamlessly with…