Skip to content

Instantly share code, notes, and snippets.

Avatar
😊
Happy

Abhishek Ghosh AbhishekGhosh

😊
Happy
View GitHub Profile
@AbhishekGhosh
AbhishekGhosh / gist:5368861
Last active Dec 16, 2015 — forked from jocubeit/gist:1713910
Run only the commands without the Number sign (#), its not a script. This is thing that should be read...
View gist:5368861
# Install libxml2 using Homebrew
# If you don't have Homebrew, follow the instructions at:
# https://github.com/mxcl/homebrew/wiki/Installation
# -------------------------------------------------------
brew install libxml2
# Install libxslt from source code
# If you don't have wget, follow the instructions at:
# http://www.mactricksandtips.com/2008/07/installing-wget-on-your-mac-for-terminal.html
# Or use Homebrew:
@AbhishekGhosh
AbhishekGhosh / gist:5688588
Created May 31, 2013
Example why we need HTML5 Shiv (Part 1)
View gist:5688588
<!DOCTYPE HTML>
<html>
<head> <style>
article {
font-size: 22px;
color: orange;
}
</style>
</head>
<body>
@AbhishekGhosh
AbhishekGhosh / gist:5688597
Created May 31, 2013
Example usage of HTML5Shiv
View gist:5688597
<!DOCTYPE HTML>
<html>
<title>this is the title
</title>
<head>
<!--[if lt IE 9]>
<script src="html5shiv.js"></script>
<![endif]-->
<style>
article {
View gist:5689549
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
View gist:5713640
<a href="https://twitter.com/AbhishekCTRL" 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.id=id;js.src=p+'://platform.twitter.com/widgets.js';fjs.parentNode.insertBefore(js,fjs);}}(document, 'script', 'twitter-wjs');</script>
View gist:5713705
class RestRequest
{
protected $url;
protected $verb;
protected $requestBody;
protected $requestLength;
protected $username;
protected $password;
protected $acceptType;
View gist:5737052
<div id="hcard-Abhishek-Ghosh" class="vcard">
<span class="url fn" href="http://thecustomizewindows.com/author/Abhishek/">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="mailto:dr.abhishek_ghosh@hotmail.com">dr.abhishek_ghosh@hotmail.com</a>
View relatedposts.php
@AbhishekGhosh
AbhishekGhosh / gist:5787301
Created Jun 15, 2013
YouTube normal iframe embedding
View gist:5787301
<iframe width="560" height="315" src="http://www.youtube.com/embed/az8U7wOrCmc" frameborder="0" allowfullscreen></iframe>
@AbhishekGhosh
AbhishekGhosh / gist:5787328
Last active Dec 18, 2015
Embed YouTube Audio only
View gist:5787328
<div style="position:relative;width:267px;height:25px;overflow:hidden;">
<div style="position:absolute;top:-276px;left:-5px">
<iframe width="300" height="300"
src="https://www.youtube.com/embed/az8U7wOrCmc?rel=0">
</iframe>
</div>
</div>
You can’t perform that action at this time.