-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
249 lines (183 loc) · 10.5 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
<!DOCTYPE html>
<html prefix="og: http://ogp.me/ns# article: http://ogp.me/ns/article# " lang="en">
<head>
<meta charset="utf-8">
<meta name="description" content="Adventures of a programmer">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Sagar on Programming | Sagar on Programming</title>
<link href="assets/css/bootstrap.min.css" rel="stylesheet" type="text/css">
<link href="assets/css/rst.css" rel="stylesheet" type="text/css">
<link href="assets/css/code.css" rel="stylesheet" type="text/css">
<link href="assets/css/colorbox.css" rel="stylesheet" type="text/css">
<link href="assets/css/theme.css" rel="stylesheet" type="text/css">
<link rel="alternate" type="application/rss+xml" title="RSS" href="rss.xml">
<link rel="canonical" href="http://djsagarahire.github.io/index.html">
<!--[if lt IE 9]><script src="/assets/js/html5.js"></script><![endif]-->
</head>
<body>
<!-- Menubar -->
<nav class="navbar navbar-inverse navbar-fixed-top" role="navigation">
<div class="container">
<!-- This keeps the margins nice -->
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-ex1-collapse">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="http://djsagarahire.github.io/">
<span id="blog-title">Sagar on Programming</span>
</a>
</div>
<!-- /.navbar-header -->
<div class="collapse navbar-collapse navbar-ex1-collapse">
<ul class="nav navbar-nav">
<li>
<a href="archive.html">Archive</a>
</li>
<li>
<a href="categories/index.html">Tags</a>
</li>
<li>
<a href="stories/about.html">About</a>
</li>
<li>
<a href="rss.xml">RSS feed</a>
</li>
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown">About Me<b class="caret"></b></a>
<ul class="dropdown-menu">
<li>
<a href="https://github.com/DJSagarAhire">Github</a>
</li>
</ul>
</li>
</ul>
<ul class="nav navbar-nav navbar-right">
</ul>
</div>
<!-- /.navbar-collapse -->
</div>
<!-- /.container -->
</nav>
<!-- End of Menubar -->
<div class="container">
<div class="body-content">
<!--Body content-->
<div class="row">
<div class="postindex">
<article class="h-entry post-text">
<header>
<h1 class="p-name entry-title"><a href="posts/a-hello-world-webapp-in-flask.html" class="u-url">A "Hello World" Webapp in Flask</a></h1>
<div class="metadata">
<p class="byline author vcard"><span class="byline-name fn">Sagar Ahire</span></p>
<p class="dateline"><a href="posts/a-hello-world-webapp-in-flask.html" rel="bookmark"><time class="published dt-published" datetime="2015-06-28T20:34:57+05:30" itemprop="datePublished" title="Publication date">28 Jun, 2015</time></a></p>
<p class="commentline">
<a href="posts/a-hello-world-webapp-in-flask.html#disqus_thread" data-disqus-identifier="cache/posts/a-hello-world-webapp-in-flask.html">Comments</a>
</p>
</div>
</header>
<div class="p-summary entry-summary">
<p>In this post, we have a look at the Flask web framework for creating web applications in Python, and demonstrate its use by creating an example "Hello World" webapp which shows the basic components of a web application in Flask.</p>
<p class="more"><a href="posts/a-hello-world-webapp-in-flask.html">Read more…</a></p>
</div>
</article>
<article class="h-entry post-text">
<header>
<h1 class="p-name entry-title"><a href="posts/edit-distance.html" class="u-url">Edit Distance</a></h1>
<div class="metadata">
<p class="byline author vcard"><span class="byline-name fn">Sagar Ahire</span></p>
<p class="dateline"><a href="posts/edit-distance.html" rel="bookmark"><time class="published dt-published" datetime="2015-06-02T18:30:41+05:30" itemprop="datePublished" title="Publication date">02 Jun, 2015</time></a></p>
<p class="commentline">
<a href="posts/edit-distance.html#disqus_thread" data-disqus-identifier="cache/posts/edit-distance.html">Comments</a>
</p>
</div>
</header>
<div class="p-summary entry-summary">
<p>This post introduces the problem of finding the similarity between two strings and quantifying it using a measure called <em>Edit Distance</em>. Then, we see an efficient way of calculating the edit distance between two strings.</p>
<p class="more"><a href="posts/edit-distance.html">Read more…</a></p>
</div>
</article>
<article class="h-entry post-text">
<header>
<h1 class="p-name entry-title"><a href="posts/catalan-numbers.html" class="u-url">Catalan Numbers</a></h1>
<div class="metadata">
<p class="byline author vcard"><span class="byline-name fn">Sagar Ahire</span></p>
<p class="dateline"><a href="posts/catalan-numbers.html" rel="bookmark"><time class="published dt-published" datetime="2015-03-11T20:00:00+05:30" itemprop="datePublished" title="Publication date">11 Mar, 2015</time></a></p>
<p class="commentline">
<a href="posts/catalan-numbers.html#disqus_thread" data-disqus-identifier="cache/posts/catalan-numbers.html">Comments</a>
</p>
</div>
</header>
<div class="p-summary entry-summary">
<p>In this post, we will examine the Catalan number sequence and have a look at some of its vast applications in computer science and combinatorics in general. Then we will figure out an efficient way to compute the <tt class="docutils literal">n</tt> th Catalan number.</p>
<p class="more"><a href="posts/catalan-numbers.html">Read more…</a></p>
</div>
</article>
<article class="h-entry post-text">
<header>
<h1 class="p-name entry-title"><a href="posts/fibonacci-numbers.html" class="u-url">Fibonacci Numbers</a></h1>
<div class="metadata">
<p class="byline author vcard"><span class="byline-name fn">Sagar Ahire</span></p>
<p class="dateline"><a href="posts/fibonacci-numbers.html" rel="bookmark"><time class="published dt-published" datetime="2014-12-28T20:35:00+05:30" itemprop="datePublished" title="Publication date">28 Dec, 2014</time></a></p>
<p class="commentline">
<a href="posts/fibonacci-numbers.html#disqus_thread" data-disqus-identifier="cache/posts/fibonacci-numbers.html">Comments</a>
</p>
</div>
</header>
<div class="p-summary entry-summary">
<p>In this post, we'll examine the Fibonacci number sequence and deal with the problem of finding the <tt class="docutils literal">n</tt> th Fibonacci number. We'll examine various approaches that steadily increase in efficiency.</p>
<p class="more"><a href="posts/fibonacci-numbers.html">Read more…</a></p>
</div>
</article>
<article class="h-entry post-text">
<header>
<h1 class="p-name entry-title"><a href="posts/hello-world.html" class="u-url">Hello World!</a></h1>
<div class="metadata">
<p class="byline author vcard"><span class="byline-name fn">Sagar Ahire</span></p>
<p class="dateline"><a href="posts/hello-world.html" rel="bookmark"><time class="published dt-published" datetime="2014-12-09T18:00:00+05:30" itemprop="datePublished" title="Publication date">09 Dec, 2014</time></a></p>
<p class="commentline">
<a href="posts/hello-world.html#disqus_thread" data-disqus-identifier="cache/posts/hello-world.html">Comments</a>
</p>
</div>
</header>
<div class="p-summary entry-summary">
<pre class="code python literal-block">
<span class="k">print</span><span class="p">(</span><span class="s">"Hello World!"</span><span class="p">)</span>
</pre>
<p>In true programming tradition, let's begin the journey of this page with a "Hello World" greeting. Hello, I'm Sagar Ahire, and this is my new blog which will discuss stuff related to programming.</p>
<p class="more"><a href="posts/hello-world.html">Read more…</a></p>
</div>
</article>
</div>
<script>var disqus_shortname="djsagarahire";(function(){var a=document.createElement("script");a.async=true;a.src="//"+disqus_shortname+".disqus.com/count.js";(document.getElementsByTagName("head")[0]||document.getElementsByTagName("body")[0]).appendChild(a)}());</script>
<script type="text/x-mathjax-config">
MathJax.Hub.Config({tex2jax: {inlineMath: [['$latex ','$'], ['\\(','\\)']]}});</script>
<script src="assets/js/mathjax.js"></script>
</div>
<!--End of body content-->
<footer>
Contents © 2015 <a href="mailto:[email protected]">Sagar Ahire</a> - Powered by <a href="http://getnikola.com" rel="nofollow">Nikola</a>
</footer>
</div>
</div>
<script src="assets/js/jquery.min.js"></script>
<script src="assets/js/bootstrap.min.js"></script>
<script src="assets/js/jquery.colorbox-min.js"></script>
<script>jQuery("a.image-reference").colorbox({rel:"gal",maxWidth:"100%",maxHeight:"100%",scalePhotos:true});</script>
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-58151563-1', 'auto');
ga('send', 'pageview');
</script>
<script type="text/javascript">stLight.options({publisher: "cc28ec22-596f-486d-be72-e8af3d2cce29", doNotHash: false, doNotCopy: false, hashAddressBar: false});</script>
<script>
var options={ "publisher": "cc28ec22-596f-486d-be72-e8af3d2cce29", "position": "left", "ad": { "visible": false, "openDelay": 5, "closeDelay": 0}, "chicklets": { "items": ["facebook", "twitter", "googleplus", "linkedin", "reddit", "pocket", "email", "sharethis"]}};
var st_hover_widget = new sharethis.widgets.hoverbuttons(options);
</script>
</body>
</html>