Permalink
Browse files

Added trainings page.

  • Loading branch information...
1 parent 697b7f9 commit 773db0a325b000da245ed9d9ccadb897aa285da9 @anandology committed Jun 23, 2012
Showing with 195 additions and 10 deletions.
  1. +1 −0 .gitignore
  2. +2 −0 _config.yml
  3. +18 −0 _includes/upcoming.html
  4. +23 −6 _layouts/default.html
  5. +7 −0 _layouts/page.html
  6. +23 −0 about/index.markdown
  7. +67 −4 css/style.css
  8. +3 −0 index.html
  9. +51 −0 trainings/index.markdown
View
@@ -1 +1,2 @@
_site
+*~
View
@@ -1,3 +1,5 @@
permalink: /blog/:title
pygments: true
+plugins: ./_plugins
+
View
@@ -0,0 +1,18 @@
+<!--
+ <div class="promo">
+ <h2 class="promo-title">Upcoming Public Trainings</h2>
+
+ <div class="promo-item">
+ <a href="/trainings/#python">Python Programming</a>
+ <p class="meta" style="color: #555;">August 4-5, 2012 &#8211; Bangalore</p>
+
+ <div>
+ Two day course on python programming language. [<a href="/trainings/#python">read more...</a>]
+ <br/>
+ <br/>
+
+ <a href='#'><img src='http://doattend.com/assets/btnw-reg-now.png'/></a>
+ </div>
+ </div>
+ </div>
+-->
View
@@ -27,20 +27,37 @@
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
+
+ function setup_contact() {
+ console.log("setup_contact");
+ var elems = document.getElementsByClassName("contact");
+ for (var i=0; i< elems.length; i++) {
+ var href = elems[i].getAttribute("href").split("/");
+ console.log([i, href, elems[i]]);
+ elems[i].setAttribute("href", "mailto:" + href[href.length-1] + "@gmail.com");
+ }
+ }
+
+ window.onload = setup_contact;
</script>
</head>
<body>
<div class="site">
+
<div class="title">
- <a href="/">Anand Chitipothu</a>
- <!--
- <a class="extra" href="/">home</a>
- -->
+ <h1><a href="/">Anand Chitipothu</a></h1>
+ <div class="nav">
+ <a class="" href="/">home</a>
+ <a class="" href="/about/">about</a>
+ <a class="" href="/trainings/">trainings</a>
+ </div>
+ </div>
+
+ <div class="content">
+ {{ content }}
</div>
-
- {{ content }}
<div class="footer">
Powered by <a href="">Jekyll</a>
View
@@ -0,0 +1,7 @@
+---
+layout: default
+---
+<div id="page">
+{{ content }}
+</div>
+
View
@@ -0,0 +1,23 @@
+---
+layout: default
+title: About
+---
+
+# About Me
+
+
+Hi, I'm Anand Chitipothu. I live in Bangalore, India.
+
+I work for [Internet Archive][ia], a non-profit digital library offering access to [millions of free books][ol], movies, and audio files, plus an [archive of 170+ billion web pages][wb].
+
+I conduct [public training classes](/trainings/) in Bagnalore on a semi-regular basis.
+
+You can contact me at
+<a href="#contact/anandology" class="contact"><span class="x">anand</span><span class="y">foo</span><span class="x">ology@gm</span><span class="y">bar</span><span class="x">ail.com</span></a>.
+
+
+[ia]: http://archive.org/
+[ol]: http://openlibrary.org/
+[wb]: http://web.archive.org/
+
+
View
@@ -73,7 +73,7 @@ ul.posts {
.site {
font-size: 110%;
text-align: justify;
- width: 40em;
+ width: 60em;
margin: 1em auto;
line-height: 1.5em;
}
@@ -82,19 +82,43 @@ ul.posts {
.title {
border-bottom: 2px solid #dddddd;
- padding: 10px 0px;
- margin: 10px 0px;
- text-align: right;
+ padding: 10px 0px 0px 0px;
+ margin: 10px 0px 20px 0px;
+ text-align: left;
+}
+
+.title h1 {
+ font-family: helvetica, arial, clean, sans-serif;
+ font-size: 2.0em;
+ margin: 0px 0px 10px 0px;
}
.title a {
+ /*
font-size: 1.1em;
font-weight: bold;
+ */
text-decoration: none;
padding: 10px;
color: #00a;
}
+.title .nav a {
+ padding: 0px 10px -10px 10px;
+}
+
+
+ .site .title a.extra {
+ color: #aaa;
+ text-decoration: none;
+ margin-left: 1em;
+ }
+
+ .site .title a.extra:hover {
+ color: black;
+ }
+
+
/* Footer */
.footer {
@@ -122,3 +146,42 @@ pre {
border: 1px solid #ddd;
word-wrap: break-word;
}
+
+.y {
+ display: none;
+}
+
+.x {
+ font-weight: bold;
+}
+
+.promo {
+ float: right;
+ width: 300px;
+ background: #eee;
+ border: 1px solid #ddd;
+ border-radius: 10px;
+ padding: 10px;
+ text-align: left;
+}
+
+.promo-item {
+ padding: 10px 0px;
+}
+
+a.anchor {
+ max-height: 1px;
+ margin: -10px;
+}
+
+#page h1 {
+ font-size: 1.5em;
+}
+
+#page h2 {
+ font-size: 1.2em;
+}
+
+#page h3 {
+ font-size: 1.1em;
+}
View
@@ -4,6 +4,9 @@
---
<div id="home">
+
+ {% include upcoming.html %}
+
<h1>Blog Posts</h1>
<ul class="posts">
{% for post in site.posts %}
View
@@ -0,0 +1,51 @@
+---
+layout: page
+title: Trainings
+---
+
+# Trainings
+
+I offer the following public training classes in Bangalore in semi-regular basis.
+
+Please look at the [home page](/) for upcoming trainings.
+
+<a class="anchor" name="python">&nbsp;</a>
+## Python Programming
+
+Two day course on Python programming language.
+
+This course assumes that the participants are already familiar with
+some programming language. Prior exposure to Python is not required.
+
+**Syllabus:**
+
+**1. Getting Started**
+
+Covers basics of Python programming language. Includes, using
+interterperter, running scripts and introduction to basic data types.
+
+**2. Working with Data**
+
+Introduction to Python's powerful datastuctures including, lists and
+dictionaries. Also covers working with files.
+
+**3. Modules**
+
+Introduction to Python module system. Covers imports, docstrings,
+pydoc and quick tour of standard library.
+
+**4. Classes and Objects**
+
+Introduction to object-oriented programming with Python. Covers
+writing classes, object creation, inheritence and exception handling.
+
+**5. Working with Third-party Modules**
+
+Introduction to installing third-party modules from PyPI and
+virtualenv.
+
+**6. Testing Python Programs**
+
+Introduction automated testing using unitest and doctest modules.
+
+

0 comments on commit 773db0a

Please sign in to comment.