Skip to content

Instantly share code, notes, and snippets.

View AbhishekGhosh's full-sized avatar

Abhishek Ghosh AbhishekGhosh

View GitHub Profile
AbhishekGhosh / gist:5368861
Last active December 16, 2015 03:19 — forked from jocubeit/gist:1713910
Run only the commands without the Number sign (#), its not a script. This is thing that should be read...
# Install libxml2 using Homebrew
# If you don't have Homebrew, follow the instructions at:
# -------------------------------------------------------
brew install libxml2
# Install libxslt from source code
# If you don't have wget, follow the instructions at:
# Or use Homebrew:
AbhishekGhosh / gist:5688588
Created May 31, 2013 23:17
Example why we need HTML5 Shiv (Part 1)
<head> <style>
article {
font-size: 22px;
color: orange;
AbhishekGhosh / gist:5688597
Created May 31, 2013 23:20
Example usage of HTML5Shiv
<title>this is the title
<!--[if lt IE 9]>
<script src="html5shiv.js"></script>
article {
apt-get -y install python-setuptools python-genshi python-genshi-doc mysql-client-5.5 mysql-server-5.5 python-mysqldb python-babel python-docutils enscript subversion git apache2 libapache2-mod-python mercurial python-dev python-pygments
<a href="" class="twitter-follow-button" data-show-count="false" data-size="large">Follow @AbhishekCTRL</a>
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);;js.src=p+'://';fjs.parentNode.insertBefore(js,fjs);}}(document, 'script', 'twitter-wjs');</script>
AbhishekGhosh / gist:5713705
Last active December 18, 2015 02:48
API example
class RestRequest
protected $url;
protected $verb;
protected $requestBody;
protected $requestLength;
protected $username;
protected $password;
protected $acceptType;
<div id="hcard-Abhishek-Ghosh" class="vcard">
<span class="url fn" href="">Abhishek Ghosh</a></span>
(<span class="n">
<span class="honorific-prefix">Dr.</span>
<span class="given-name">Abhishek</span>
<abbr class="additional-name">Dr.Abhishek</abbr>
<span class="family-name">Ghosh</span>
<span class="honorific-suffix">M.S.</span></span>)
<div class="org">The Customize Windows</div>
<a class="email" href=""></a>
AbhishekGhosh / relatedposts.php
Created June 10, 2013 22:19
Related post schema
AbhishekGhosh / gist:5787301
Created June 15, 2013 07:43
YouTube normal iframe embedding
<iframe width="560" height="315" src="" frameborder="0" allowfullscreen></iframe>
AbhishekGhosh / gist:5787328
Last active December 18, 2015 13:08
Embed YouTube Audio only
<div style="position:relative;width:267px;height:25px;overflow:hidden;">
<div style="position:absolute;top:-276px;left:-5px">
<iframe width="300" height="300"