Skip to content

Commit

Permalink
Merge pull request #38 from dimitrismistriotis/update_theme_deeper_pt1
Browse files Browse the repository at this point in the history
Update theme deeper pt1
  • Loading branch information
dimitrismistriotis authored Sep 12, 2024
2 parents 0196845 + 3fcd2dd commit 33c0f89
Show file tree
Hide file tree
Showing 7 changed files with 25 additions and 95 deletions.
9 changes: 0 additions & 9 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,22 +4,13 @@ gems: [jekyll-paginate, jekyll-gist]
paginate: 8
description: Dimitrios Mistriotis - Personal Site.
intro: Blog posts, contact, project, CV material
logo: ''
disqus_shortname:
# url: http://gotchacode.com
#Comment out url when working locally to resolve base urls correctly
#url:

# Owner/author information
owner:
name: Dimitrios Mistriotis
email: dimitrios@mistriotis.com
# Social networking links used in footer. Update and remove as you like.
# twitter: "@dimist"
github: https://github.com/dimitrismistriotis/
stackexchange: http://stackexchange.com/users/2bb7f437e24a4c13a3b4d6a8684303f0
# For Google Authorship https://plus.google.com/authorship
google_plus:

# Links to include in top navigation
# For external links add external: true
33 changes: 0 additions & 33 deletions _includes/footer.html

This file was deleted.

8 changes: 1 addition & 7 deletions _includes/head.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,9 @@

{% capture canonical %}{{ site.url }}{% if site.permalink contains '.html' %}{{ page.url }}{% else %}{{ page.url | remove:'index.html' | strip_slash }}{% endif %}{% endcapture %}
<link rel="canonical" href="{{ canonical }}">
<link href="{{ site.url }}/feed.xml" type="application/atom+xml" rel="alternate" title="{{ site.title }} Feed">
{% if site.owner.google_plus %}<link rel="author" href="{{ site.owner.google_plus }}?rel=author">{% endif %}
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="{{ site.url }}/css/base.min.css" type="text/css" />
<link rel="stylesheet" href="{{ site.url }}/css/github.min.css" type="text/css" />
<link rel="stylesheet" href="{{ site.url }}/css/octicons.css" type="text/css" />
<link rel="stylesheet" href="{{ site.url }}/css/mistriotis_dot_com.css" type="text/css" />
<link href="https://fonts.googleapis.com/css?family=Lato" rel="stylesheet" type="text/css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/yegor256/tacit@gh-pages/tacit-css-1.8.1.min.css"/>

<!-- Favicons and html generated from http://www.favicon-generator.org/ -->
<link rel="apple-touch-icon" sizes="57x57" href="/images/favicons/apple-icon-57x57.png">
Expand Down
18 changes: 9 additions & 9 deletions _includes/header.html
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<div class="header-container">
<header>
<ul class="nav">
<!--Change the URL here if working on an absolute domain-->
<li><a href="/"><span class="mega-octicon octicon-home" style="margin-right: 6px;"></span>Home</a></li>
<li><a href="/posts/about"><span class="mega-octicon octicon-person" style="margin-right: 6px;"></span>About</a></li>
</ul>
</header>
</div>
<header>
<nav>
<ul>
<li><a href="/">Home</a></li>
<li><a href="/posts/about">About</a></li>
<li><a href="mailto:dimitrios@mistriotis.com">Contact</a></li>
</ul>
</nav>
</header>
21 changes: 10 additions & 11 deletions _layouts/default.html
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
<!DOCTYPE html>
<html>
<head>
{% include head.html %}
</head>
<body>
{% include header.html %}
<div class="container">
{{ content }}
<head>
{% include head.html %}
</head>
<body>
<section>
{% include header.html %}

{% include footer.html %}
</div><!-- /.main -->
</body>
</html>
<article>{{ content }}</article>
</section>
</body>
</html>
23 changes: 0 additions & 23 deletions _layouts/post.html

This file was deleted.

8 changes: 5 additions & 3 deletions _posts/2011-01-01-tales_in_rubyland_part1.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
layout: post
layout: default
title: How to learn Ruby - Tales in Rubyland part 1.
permalink: /posts/tales_in_rubyland_part1
---
Expand All @@ -26,8 +26,9 @@ Say hi to <a href="railsforzombies.org" target="_blank">Rails for Zombies</a>. R

In the mean time the book arrived: <a href="http://headfirstlabs.com/books/hfrails/" target="_blank">Head First Rails</a> by being a long-term fan of the series. Armed though with the knowledge of having finished the game, the exercises got finished fast. What was tough was to do them o Rails3 which is not there by default nor in ubuntu or in os-x.
In order to do so:
* Ubuntu: <a href="http://ascarter.net/2010/05/10/rails-development-on-ubuntu-10.04.html" target="_blank">Rails Development on Ubuntu 10.04</a>
* <a href="http://ascarter.net/2010/05/10/rails-development-on-ubuntu-10.04.html" target="_blank"></a>and OS-X: <a href="http://www.bawdo.com/posts/42" target="_blank">ruby 1.9 and rails 3 on mac osx 10.5</a>

- Ubuntu: <a href="http://ascarter.net/2010/05/10/rails-development-on-ubuntu-10.04.html" target="_blank">Rails Development on Ubuntu 10.04</a>
- <a href="http://ascarter.net/2010/05/10/rails-development-on-ubuntu-10.04.html" target="_blank"></a>and OS-X: <a href="http://www.bawdo.com/posts/42" target="_blank">ruby 1.9 and rails 3 on mac osx 10.5</a>

Having to fix something broken apart from the initial frustration is an experience that exposes the internals of the system under repair. This time it got used as an introduction to gems, the Rails command line and other details and idiosyncrasies of the community and the languages approach.

Expand All @@ -40,6 +41,7 @@ After the first experiences the opportunity to dwell more into programming in th
> The Koans walk you along the path to enlightenment in order to learn Ruby. The goal is to learn the Ruby language, syntax, structure, and some common functions and libraries. We also teach you culture. Testing is not just something we pay lip service to, but something we live. It is essential in your quest to learn and do great things in the language.
Koans are essentially a list of tests that are designed to fail. The practitioner has to fill the gaps or write small chunks of code so that the tests will "pass". Evaluation is being achieved by a simple:

<pre lang="ruby"> rake</pre>

while at the same time the 263 tests are a tour de force of all language's features, conventions etc. At the end of the "challenge" you are being rewarded by a text adventure like screen (spoiler alert):
Expand Down

0 comments on commit 33c0f89

Please sign in to comment.