diff options
| author | Dennis Brentjes <d.brentjes@gmail.com> | 2014-05-20 23:50:22 +0200 |
|---|---|---|
| committer | Dennis Brentjes <d.brentjes@gmail.com> | 2014-05-21 00:03:51 +0200 |
| commit | 51ae35e198b80d9678f21d5413de14e51e90ff7f (patch) | |
| tree | 88803efe60947636f789b9afd65cb3e4da43b801 | |
| parent | 8dbe8de6dd5c0386044bf8778aefe92213d10a98 (diff) | |
| download | brentj.es-51ae35e198b80d9678f21d5413de14e51e90ff7f.tar.gz brentj.es-51ae35e198b80d9678f21d5413de14e51e90ff7f.tar.bz2 brentj.es-51ae35e198b80d9678f21d5413de14e51e90ff7f.zip | |
Pushes the site to the new format, not quite done but done enough.
| -rw-r--r-- | Blog/index.html | 24 | ||||
| -rw-r--r-- | CV/index.html | 7 | ||||
| -rw-r--r-- | Projects/index.html | 12 | ||||
| -rw-r--r-- | _config.yml | 3 | ||||
| -rw-r--r-- | _includes/dmp.markdown | 14 | ||||
| -rw-r--r-- | _includes/header.html | 5 | ||||
| -rw-r--r-- | _includes/video.html | 3 | ||||
| -rw-r--r-- | assets/cv.pdf | bin | 0 -> 185343 bytes | |||
| -rw-r--r-- | assets/dmpdemo.mp4 | bin | 0 -> 442583 bytes | |||
| -rw-r--r-- | assets/dmpdemo.ogv | bin | 0 -> 3403727 bytes | |||
| -rw-r--r-- | assets/dmpdemo.webm | bin | 0 -> 491801 bytes | |||
| -rwxr-xr-x | css/main.css | 14 | ||||
| -rw-r--r-- | index.html | 9 |
13 files changed, 81 insertions, 10 deletions
diff --git a/Blog/index.html b/Blog/index.html new file mode 100644 index 0000000..a0c5d1e --- /dev/null +++ b/Blog/index.html @@ -0,0 +1,24 @@ +--- +layout: default +--- + +<ul class="posts"> + {% for post in site.posts %} + <li><span>{{ post.date | date_to_string }}</span> » <a href="{{ post.url }}">{{ post.title }}</a></li> + {{ post.excerpt }} + <a href="{{ post.url }}">Read more...</a> + {% endfor %} + + <div class="pagination"> + {% if paginator.previous_page %} + <a href="/page{{ paginator.previous_page }}" class="previous">Previous</a> + {% endif %} + + {% if paginator.total_pages != 1 %} + <span class="page_number ">Page: {{ paginator.page }} of {{ paginator.total_pages }}</span> + {% endif %} + {% if paginator.next_page %} + <a href="/page{{ paginator.next_page }}" class="next">Next</a> + {% endif %} + </div> +</ul> diff --git a/CV/index.html b/CV/index.html new file mode 100644 index 0000000..66305f3 --- /dev/null +++ b/CV/index.html @@ -0,0 +1,7 @@ +--- +layout: default +--- + +<div class="dynamic"> + My Vurriculum Vitea is available as pdf: <a href="/assets/cv.pdf"> here </a> +</div> diff --git a/Projects/index.html b/Projects/index.html new file mode 100644 index 0000000..3227526 --- /dev/null +++ b/Projects/index.html @@ -0,0 +1,12 @@ +--- +layout: default +projects: + - name: dmp + file: dmp.markdown +--- + +{% for project in page.projects %} + {% capture text %}{% include {{project.file}} %}{% endcapture %} + {{ text | markdownify }} +{% endfor %} + diff --git a/_config.yml b/_config.yml index 87c0245..f6c441e 100644 --- a/_config.yml +++ b/_config.yml @@ -1,3 +1,6 @@ name: brentj.es markdown: redcarpet pygments: true + +paginate: 5 +paginate_path: "Blog/page:num" diff --git a/_includes/dmp.markdown b/_includes/dmp.markdown new file mode 100644 index 0000000..8eb08b6 --- /dev/null +++ b/_includes/dmp.markdown @@ -0,0 +1,14 @@ +DMP +=== + +The projects was started by me because I didn't like the fact that most crossplatform media player solutions didn't have a way to import other peoples librairies. DAAP shares are not widely supported and often a realy pain to setup. So I set out to build a media player focussed on a shared library between connected clients and shared playlists. + +As a couple of my sub-goals I was going to learn gui programming and master some techniques and libraries. For example; I use Boost.Asio for network communication and timers. This library takes some getting used to when you use the asynchronous calls. Another library I use and learned during this project is Boost.Fusion which can adapt c++ structs to become iterable and allows for some primitive reflection. I use this to generate the views for my model. + +Ofcourse GUI programming is one of the challanges aswell, I'm using the crossplatform Qt GUI library for this. Gui programming has some really interesting problems to solve that take a different approach that I normally would take. Gui programming always tend to become inheritence heavy instead of template heavy, and notifiying the gui of changes in a generic way is still something I haven't fully figured out yet. + +That being said the project is coming along nicely and I have a crude working program as we speak. It still needs lots of work before it is finished though. And being a single person project does not help either. + +Here is a (at the time of writing already) outdated demo of the software. +{% include video.html ogv='../assets/dmpdemo.ogv' webm='../assets/dmpdemo.webm' mp4='../assets/dmpdemo.mp4'%} + diff --git a/_includes/header.html b/_includes/header.html index 9a33f82..55b7461 100644 --- a/_includes/header.html +++ b/_includes/header.html @@ -1,4 +1,7 @@ <div class="header"> <h1 class="title"><a href="/">Welcome to {{ site.name }}</a></h1> - <a class="extra" href="/">home</a> + <a class="extra" href="/">Home</a> + <a class="extra" href="/Blog/">Blog</a> + <a class="extra" href="/Projects/">Projects</a> + <a class="extra" href="/CV/">CV</a> </div> diff --git a/_includes/video.html b/_includes/video.html new file mode 100644 index 0000000..48cba1c --- /dev/null +++ b/_includes/video.html @@ -0,0 +1,3 @@ +<center> + <video height="auto" width="100%" controls>{% if {{include.webm}} %}<source src="{{include.webm}}" type="video/webm">{% endif %}{% if {{include.mp4}} %}<source src="{{include.mp4}}" type="video/mp4">{% endif %}{% if {{include.ogv}} %}<source src="{{include.ogv}}" type="video/ogg">{% endif %}It seems your browser is unable to handle the html5 video tag with this type of video.</video> +</center> diff --git a/assets/cv.pdf b/assets/cv.pdf Binary files differnew file mode 100644 index 0000000..73b2bad --- /dev/null +++ b/assets/cv.pdf diff --git a/assets/dmpdemo.mp4 b/assets/dmpdemo.mp4 Binary files differnew file mode 100644 index 0000000..bc7d8b1 --- /dev/null +++ b/assets/dmpdemo.mp4 diff --git a/assets/dmpdemo.ogv b/assets/dmpdemo.ogv Binary files differnew file mode 100644 index 0000000..4ab4044 --- /dev/null +++ b/assets/dmpdemo.ogv diff --git a/assets/dmpdemo.webm b/assets/dmpdemo.webm Binary files differnew file mode 100644 index 0000000..eaa7c4a --- /dev/null +++ b/assets/dmpdemo.webm diff --git a/css/main.css b/css/main.css index 1a2c013..611307f 100755 --- a/css/main.css +++ b/css/main.css @@ -58,7 +58,7 @@ a:visited { color: #a0a; } .site { font-size: 115%; text-align: justify; - width: 42em; + width: 90%; margin: 3em auto 2em; line-height: 1.5em; } @@ -158,3 +158,15 @@ a:visited { color: #a0a; } .post pre.terminal code { background-color: #333; } + +/*****************************************************************************/ +/* +/* Dynamics +/* +/*****************************************************************************/ + +.dynamic div { + height:auto;i + overflow:scroll; + max-height:80%; +} @@ -1,14 +1,7 @@ --- layout: default -title: Your New Jekyll Site --- <div id="home"> - <h1>Blog Posts</h1> - <ul class="posts"> - {% for post in site.posts %} - <li><span>{{ post.date | date_to_string }}</span> » <a href="{{ post.url }}">{{ post.title }}</a></li> - {{ post.excerpt }} - {% endfor %} - </ul> +Welcome to the site of Dennis Brentjes. </div> |
