Skip to content

Commit

Permalink
Jekyllization.
Browse files Browse the repository at this point in the history
  • Loading branch information
rstacruz committed Oct 14, 2013
1 parent 6916d06 commit 85c46a3
Show file tree
Hide file tree
Showing 127 changed files with 1,289 additions and 1,059 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
_output
_site
4 changes: 0 additions & 4 deletions Gemfile

This file was deleted.

41 changes: 0 additions & 41 deletions Gemfile.lock

This file was deleted.

12 changes: 0 additions & 12 deletions Protonfile

This file was deleted.

3 changes: 0 additions & 3 deletions README.md

This file was deleted.

9 changes: 0 additions & 9 deletions Rakefile

This file was deleted.

6 changes: 6 additions & 0 deletions _includes/foot.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<script src="assets/jquery.js"></script>
<script src="assets/prettify.js"></script>
<script>$("pre").addClass("prettyprint");</script>
<script>prettyPrint();</script>
</body>
</html>
12 changes: 12 additions & 0 deletions _includes/head.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<title></title>
<link href="assets/style.css" rel="stylesheet" />
<link href='http://fonts.googleapis.com/css?family=Muli:400,100' rel='stylesheet' type='text/css'>
<link href='http://fonts.googleapis.com/css?family=Ubuntu+Mono:400' rel='stylesheet' type='text/css'>
</head>
<body>
<div class='background'></div>
<div class='all'>
33 changes: 9 additions & 24 deletions _layouts/default.html
Original file line number Diff line number Diff line change
@@ -1,25 +1,10 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<title></title>
<link href="style.css" rel="stylesheet" />
<link href='http://fonts.googleapis.com/css?family=Muli:400,100' rel='stylesheet' type='text/css'>
<link href='http://fonts.googleapis.com/css?family=Ubuntu+Mono:400' rel='stylesheet' type='text/css'>
</head>
<body>
<div class='background'></div>
<div class='all'>
<h1>
<%= page.meta.title || File.basename(page.file, '.*').capitalize %>
<a class='back' href='.'>Index</a>
</h1>
<%= yield %>
</div>
{% include head.html %}

<script src='http://cdnjs.cloudflare.com/ajax/libs/jquery/1.6.4/jquery.min.js'></script>
<script src="http://cachedcommons.org/cache/prettify/1.0.0/javascripts/prettify-min.js"></script>
<script>$("pre").addClass("prettyprint");</script>
<script>prettyPrint();</script>
</body>
</html>
<h1>
{{ page.title }}
<a class='back' href='.'>Index</a>
</h1>

{{ content }}

{% include foot.html %}
12 changes: 12 additions & 0 deletions _layouts/home.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{% include head.html %}

<h1>
{{ page.title }}
<a class='back' href='.'>Index</a>
</h1>

{% for page in site.pages %}
<a href="{{ page.url }}">{{ page.title }}</a>
{% endfor %}

{% include foot.html %}
122 changes: 0 additions & 122 deletions _prettify.scss

This file was deleted.

9 changes: 7 additions & 2 deletions animated_gif.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,16 @@
Convert mp4 to gif:
---
title: Animated gifs
layout: default
---

### Convert mp4 to gif

mkdir -p gif
mplayer -ao null -vo gif89a:outdir=gif $mp4
mogrify -format gif *.png
gifsicle --colors=256 --delay=4 --loopcount=0 --dither -O3 gif/*.gif > ${mp4%.*}.gif
rm -rf gif

Or a given range (-ss -endpos):
### Or a given range (-ss -endpos)

mplayer -ao null -ss 0:02:06 -endpos 0:05:00 -vo gif89a:outdir=gif videofile.mp4
5 changes: 4 additions & 1 deletion ansi.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
# Ansi codes
---
title: Ansi codes
layout: default
---

Format

Expand Down
File renamed without changes
6 changes: 6 additions & 0 deletions assets/jquery.js

Large diffs are not rendered by default.

Loading

0 comments on commit 85c46a3

Please sign in to comment.