CKEditor – WYSIWYG Editor for Web

This is a quick guide about integrating CKEditor Download CKEditor from here – https://ckeditor.com/ckeditor-4/download/ I downloaded the full version. Call the scripts in your code <script src=”ckeditor_full/ckeditor.js”></script> … … <textarea required id=”content” name=”content”><?php echo strlen($content) ? $content : “” ?></textarea><br/> <script> var editor = CKEDITOR.replace(‘content’); //CKEDITOR.instances[‘content’].setData(“”); CKFinder.setupCKEditor(editor); //see below – this is for the CKFinder… Continue reading CKEditor – WYSIWYG Editor for Web

Web 3D experiments with ThreeJS

Here is an experiment where a fixed background (or texture) has been used behind an interact-able 3D model. The model was created using Blender. From Blender (or any other 3D software) export the model as FBX file. The code formatting is getting horribly misaligned when pasted here. So here is the whole folder. Run the… Continue reading Web 3D experiments with ThreeJS

PHP code for Amazon SNS Auto Subscription Confirmation (HTTPS)

Amazon Simple Notification Service or SNS is a messaging service which be used to send notifications by SMS, Email, Push notification or to a URL endpoint. For a quick on setting up Amazon SNS see this article Amazon SNS setup for HTTPS and Email Code for auto confirmation of subscriptions <?php $json_write_to_text = file_get_contents(“php://input”); //read… Continue reading PHP code for Amazon SNS Auto Subscription Confirmation (HTTPS)

Amazon SNS setup for HTTPS and Email

Login to AWS Console Goto Simple Notification Service Create a Topic Add a Subscription – the easy and safe way to do this is by clicking the ARN of the Topic (in the topic listing page ) and going to the Topic details page. Choose your subscription protocol (in simpler words in which way you… Continue reading Amazon SNS setup for HTTPS and Email