Posts

Showing posts from August, 2017

Installing OBS ? You better have DirectX installed on your system first

Image
Like always cutting the crap short: Quick Note: For those who didn't landed here searching for resolutions of error that they are facing during installation of OBS, OBS stands for Open Broadcaster Software which is free and open source software for video recording and live streaming.   For those who are looking to Resolve Errors: If you don't have DirectX installed on your computer system OBS will simply fail to install or may not work if by any chance it gets installed. The other piece of software that's required for proper functioning of OBS is Visual C++ Redistributable now the thing to note here is you might be already having this supporter installed on your system but just like like fate has many different ways to screw us and our plans so does Windows and installers but the good news is we do have different versions of Redistributable available like 2012 2013 and 2015 etc to fix our fate for free in this case ,so yes few more other simple installations are re

Adding code prettify to Blogger

Image
Cutting the crap short: You simply need  to add this line of code in your blogger/blogspot HTML template any where inside header tag <head>Add code Here</head> just before </body> tag this will not block page from loading and your site will stay as fast as it was without Syntax Higlighting: <script src="https://cdn.rawgit.com/google/code-prettify/master/loader/run_prettify.js?skin=sunburst"></script> New url: <script src="https://cdn.jsdelivr.net/gh/google/code-prettify@master/loader/run_prettify.js?lang=css&skin=sunburst"></script> And then whenever you have post that involves somekind of code that needs to be pretty printed you wrap that code like shown below in HTML editor of your post editor dont forget to replace the Your code here with your actual code: <pre class="prettyprint linenums">Your code here</pre> If you want more theme options and styling you need to follow this