173 lines
5.4 KiB
HTML
173 lines
5.4 KiB
HTML
|
<!doctype html>
|
||
|
<html lang="en">
|
||
|
<head>
|
||
|
<meta charset="utf-8" />
|
||
|
<title>Qasim</title>
|
||
|
|
||
|
<link rel="stylesheet" href="/qasim//bootstrap.min.css">
|
||
|
<link rel="stylesheet" href="/qasim//css.css">
|
||
|
</head>
|
||
|
<body>
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
<header>
|
||
|
<h1><a href="/qasim/">Qasim</a></h1>
|
||
|
</header>
|
||
|
|
||
|
<div class="container">
|
||
|
|
||
|
|
||
|
|
||
|
<div class="span11 content">
|
||
|
<div class="page-header">
|
||
|
<h3 class="title"><a href="/qasim//2011/introducing-jekyll-bootstrap/">Introducing Jekyll Bootstrap</a></h3>
|
||
|
</div>
|
||
|
<div class="post_content">
|
||
|
|
||
|
|
||
|
<p>Jekyll bootstrap is a theme for jekyll which uses the <a href='https://github.com/twitter/bootstrap'>twitter bootstrap css framework</a>. The advantage of jekyll is that it is self hosted (or hosted on github) and that you can write in markdown on a text editor and just git push new posts to a server which produces html files. The advantage of this theme is so that you can start blogging almost right away without having to worry about making a theme.</p>
|
||
|
|
||
|
<h3 id='setting_up'>Setting up</h3>
|
||
|
|
||
|
<p>To start you own blog, simply <code>git clone</code> the <a href='https://github.com/nhoss2/jekyll-bootstrap'>repository on github</a>. You could also press the “fork” button on github.</p>
|
||
|
|
||
|
<pre><code>git clone git://github.com/nhoss2/jekyll-bootstrap.git</code></pre>
|
||
|
|
||
|
<p>If you want to have your blog on github, make sure you change to the <code>gh-pages</code> branch.</p>
|
||
|
|
||
|
<pre><code>git checkout gh-pages</code></pre>
|
||
|
|
||
|
<p>Then you will need to edit the <code>_config.yml</code> file at the root of repository.</p>
|
||
|
|
||
|
<p>To add your own posts, add a file to the <code>_posts</code> directory which has the name <code>year-month-day-title.md</code>. Note - the file does not have to markdown.</p>
|
||
|
|
||
|
<p>To publish the post, just <code>git push</code> it to your own github repo and your set!</p>
|
||
|
|
||
|
<h3 id='things_to_change_on_'>Things to change on <code>_config.yml</code></h3>
|
||
|
|
||
|
<p>There is a config file at the root called <code>_config.yml</code>. By Default it looks like:</p>
|
||
|
|
||
|
<pre><code>permalink: /:year/:title/
|
||
|
paginate: 10
|
||
|
exclude:
|
||
|
name: Jekyll Bootstrap
|
||
|
baseurl: /jekyll-bootstrap/</code></pre>
|
||
|
|
||
|
<p>You will need to change the <code>name</code> and <code>baseurl</code> fields. The others are optional. The <code>baseurl</code> field is used for the css files and pagination, if you are hosting the blog on github, you will need to change it to your repository name unless your repository is the same name as your github user name, which means you will need to have no value for <code>baseurl</code>.</p>
|
||
|
|
||
|
<p>For more information on Jekyll, visit their <a href='https://github.com/mojombo/jekyll/wiki'>wiki on github</a>.</p>
|
||
|
|
||
|
<p>For more information on github pages: <a href='http://pages.github.com'>http://pages.github.com</a>.</p>
|
||
|
|
||
|
|
||
|
</div>
|
||
|
</div><!--content-->
|
||
|
|
||
|
<div class="span5 sidebar">
|
||
|
<h4>Published on 03 September 2011</h4>
|
||
|
|
||
|
</div>
|
||
|
|
||
|
|
||
|
|
||
|
<div class="span11 content">
|
||
|
<div class="page-header">
|
||
|
<h3 class="title"><a href="/qasim//2011/testing-markdown/">Testing Markdown</a></h3>
|
||
|
</div>
|
||
|
<div class="post_content">
|
||
|
|
||
|
|
||
|
<h3 id='testing_some_markdown_this_is_h3'>Testing some markdown this is h3</h3>
|
||
|
|
||
|
<p>So, <em>time</em> for <strong>some</strong> <code>lists</code></p>
|
||
|
|
||
|
<ul>
|
||
|
<li>this</li>
|
||
|
|
||
|
<li>is a</li>
|
||
|
|
||
|
<li>list</li>
|
||
|
</ul>
|
||
|
|
||
|
<blockquote>
|
||
|
<p>block quote.</p>
|
||
|
|
||
|
<p>another line</p>
|
||
|
</blockquote>
|
||
|
|
||
|
<p>This is a <a href='#'>link</a>.</p>
|
||
|
|
||
|
<pre><code>jekyll --server</code></pre>
|
||
|
|
||
|
|
||
|
</div>
|
||
|
</div><!--content-->
|
||
|
|
||
|
<div class="span5 sidebar">
|
||
|
<h4>Published on 02 September 2011</h4>
|
||
|
|
||
|
</div>
|
||
|
|
||
|
|
||
|
|
||
|
<div class="span11 content">
|
||
|
<div class="page-header">
|
||
|
<h3 class="title"><a href="/qasim//2011/second/">Second</a></h3>
|
||
|
</div>
|
||
|
<div class="post_content">
|
||
|
|
||
|
|
||
|
<p>in circuit theory, thevanin theorem for linear electrical networks states that any combination of voltage sources, current sources, and resistors with two terminals is electrically equivalent to a single voltage source v and a single series resistor r. for single frequency ac systems the theorem can also be applied to general impedances, not just resistors. the theorem was first discovered by german scientist hermann von helmholtz in 1853, but was then rediscovered in 1883 by french telegraph engineer charles Thevanin (1857.1926). This theorem states that a circuit of voltage sources and resistors can be converted into a Thevanin equivalent, which is a simplification technique used in circuit analysis. the Thevanin equivalent can be used as a good model for a power supply or battery (with the resistor representing the internal impedance and the source representing the electromotive force). the circuit consists of an ideal voltage source in series with an ideal resistor.</p>
|
||
|
|
||
|
|
||
|
</div>
|
||
|
</div><!--content-->
|
||
|
|
||
|
<div class="span5 sidebar">
|
||
|
<h4>Published on 01 September 2011</h4>
|
||
|
|
||
|
</div>
|
||
|
|
||
|
|
||
|
|
||
|
<div class="span11 content">
|
||
|
<div class="page-header">
|
||
|
<h3 class="title"><a href="/qasim//2011/first-post/">This is the title</a></h3>
|
||
|
</div>
|
||
|
<div class="post_content">
|
||
|
|
||
|
|
||
|
<p>This is the first post woohoo</p>
|
||
|
|
||
|
|
||
|
</div>
|
||
|
</div><!--content-->
|
||
|
|
||
|
<div class="span5 sidebar">
|
||
|
<h4>Published on 03 August 2011</h4>
|
||
|
|
||
|
<h6>first-category</h6>
|
||
|
|
||
|
<h6>second</h6>
|
||
|
|
||
|
</div>
|
||
|
|
||
|
|
||
|
|
||
|
<div class="pagination" id="bottom_page">
|
||
|
<ul>
|
||
|
|
||
|
<li><p>Page 1 of 1</p></li>
|
||
|
|
||
|
</ul>
|
||
|
</div>
|
||
|
|
||
|
</div><!--container-->
|
||
|
|
||
|
</body>
|
||
|
</html>
|
||
|
|