Skip to content

Commit

Permalink
Initial import (copy of Woobius Scribbles)
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Tenner committed Mar 8, 2009
0 parents commit 5ce1a44
Show file tree
Hide file tree
Showing 76 changed files with 1,560 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
@@ -0,0 +1 @@
output
3 changes: 3 additions & 0 deletions .gitmodules
@@ -0,0 +1,3 @@
[submodule "content/css/blueprint"]
path = content/css/blueprint
url = git://github.com/joshuaclayton/blueprint-css.git
13 changes: 13 additions & 0 deletions README.textile
@@ -0,0 +1,13 @@
h3. What is this?

This is a blogging engine based on "Webby":http://webby.rubyforge.org/tutorial/. This repository contains all the files that are used to generate my blog, "http://danieltenner.com":http://danieltenner.com.

h3. Can I use this stuff?

All code is open to use for whatever purpose you have in mind (though I'd prefer if you used it for a good purposes). You can copy the content and images too (though I'd really rather you didn't copy the content, or if you do copy some of it, please include a link to my blog). If you want to use the danieltenner.com look/CSS/etc as a basis for your look, that's fine too (though I'd appreciate it if you evolved it over time rather than keeping it looking exactly the same).

If you do find it useful, do let me know via github or using one of the numerous listed contact mechanisms on "my blog":http://danieltenner.com.

h3. Credits

The initial code for this was copied from "Rein Henrichs":http://reinh.com/. His version of the code is available on github too, "here":http://github.com/ReinH/reinh-com/tree/master. Please note that Rein is _not_ ok with you using his look'n'feel as a basis for your own blog.
22 changes: 22 additions & 0 deletions Sitefile
@@ -0,0 +1,22 @@
require 'cgi'

task :default => :build

SITE.user = 'daniel'
SITE.host = 'danieltenner.com'
SITE.remote_dir = '/data/danieltenner'
SITE.rsync_args = ["-av", "--delete", "--exclude=.git/*", "--exclude=validate/*"]

desc 'deploy the site to the webserver'
task :deploy => [:build, 'deploy:doit']

namespace :deploy do
task :doit do
cmd = "rsync #{SITE.rsync_args.join(' ')} "
cmd << "#{SITE.output_dir} #{SITE.user}@#{SITE.host}:#{SITE.remote_dir}"
puts "Sending command: #{cmd}"
sh cmd
end
end # deploy

# EOF
20 changes: 20 additions & 0 deletions content/scribbles/archive/index.txt
@@ -0,0 +1,20 @@
---
title: Archive
created_at: 2008-10-30 16:56:58.326307 -04:00
layout: index
filter: haml
dirty: true
---
- articles = @pages.find(:all, :in_directory => 'scribbles/posts', :recursive => true, :sort_by => "created_at", :reverse => true){|p| p.path !~ /index\.txt$/}
- articles.delete(@page)
- articles.group_by{|a| a.created_at.strftime('%Y')}.each do |year, articles|
.post-list.section
%h2.recent= year
- articles.group_by{|p| p.created_at.strftime('%B<strong>%y</strong>')}.each do |month, pages|
.group
%h3.month= month.upcase
- pages.each do |page|
.title-summary
%h4.entry-title
%a{:href => page.url}= page.title
%p.entry-summary= page.summary
110 changes: 110 additions & 0 deletions content/scribbles/css/coderay.css
@@ -0,0 +1,110 @@
.CodeRay {
padding: 0;
margin-bottom: 18px;
font: 13px Monaco, 'Courier New', 'Terminal', monospace;
line-height: 18px;
color: #100;
}
.CodeRay pre {
padding: 0px;
margin: 0px;
overflow: auto;
background-color: transparent;
border: none;
}

div.CodeRay { }

span.CodeRay { white-space: pre; border: 0px; padding: 2px }

table.CodeRay { border-collapse: collapse; width: 100%; padding: 2px }
table.CodeRay td { padding: 2px 4px; vertical-align: top }

.CodeRay .line_numbers, .CodeRay .no {
/* background-color: #def;*/
color: #999;
text-align: right;
}
.CodeRay .line_numbers tt { font-weight: bold }
.CodeRay .no { padding: 0px 4px }

ol.CodeRay { font-size: 10pt }
ol.CodeRay li { white-space: pre }

.CodeRay .debug { color:white ! important; background:blue ! important; }

.CodeRay .af { color:#00C }
.CodeRay .an { color:#007 }
.CodeRay .av { color:#700 }
.CodeRay .aw { color:#C00 }
.CodeRay .bi { color:#509; font-weight:bold }
.CodeRay .c { color:#666; }

.CodeRay .ch { color:#04D }
.CodeRay .ch .k { color:#04D }
.CodeRay .ch .dl { color:#039 }

.CodeRay .cl { color:#088; font-weight:bold }
.CodeRay .co { color:#036; font-weight:bold }
.CodeRay .cr { color:#0A0 }
.CodeRay .cv { color:#369 }
.CodeRay .df { color:#099; font-weight:bold }
.CodeRay .di { color:#088; font-weight:bold }
.CodeRay .dl { color:black }
.CodeRay .do { color:#970 }:
.CodeRay .ds { color:#D42; font-weight:bold }
.CodeRay .e { color:#666; font-weight:bold }
.CodeRay .en { color:#800; font-weight:bold }
.CodeRay .er { color:#F00; /*background-color:#FAA*/ }
.CodeRay .ex { color:#F00; font-weight:bold }
.CodeRay .fl { color:#60E; font-weight:bold }
.CodeRay .fu { color:#06B; font-weight:bold }
.CodeRay .gv { color:#d70; font-weight:bold }
.CodeRay .hx { color:#058; font-weight:bold }
.CodeRay .i { color:#00D; font-weight:bold }
.CodeRay .ic { color:#B44; font-weight:bold }

.CodeRay .il { /*background: #eee*/ }
.CodeRay .il .il { /*background: #ddd*/ }
.CodeRay .il .il .il { /*background: #ccc*/ }
.CodeRay .il .idl { /*font-weight: bold; */color: #888 }

.CodeRay .in { color:#B2B; font-weight:bold }
.CodeRay .iv { color:#33B }
.CodeRay .la { color:#970; font-weight:bold }
.CodeRay .lv { color:#963 }
.CodeRay .oc { color:#40E; font-weight:bold }
.CodeRay .of { color:#000; font-weight:bold }
.CodeRay .op { }
.CodeRay .pc { color:#222; font-weight:bold }
.CodeRay .pd { color:#369; font-weight:bold }
.CodeRay .pp { color:#579 }
.CodeRay .pt { color:#339; font-weight:bold }
.CodeRay .r { color:#222; font-weight:bold }

.CodeRay .rx { /*background-color:#fff0ff*/ }
.CodeRay .rx .k { color:#808 }
.CodeRay .rx .dl { color:#404 }
.CodeRay .rx .mod { color:#C2C }
.CodeRay .rx .fu { color:#404; font-weight: bold }

.CodeRay .s { /*background-color:#fff0f0*/ }
.CodeRay .s .s { /*background-color:#ffe0e0*/ }
.CodeRay .s .s .s { /*background-color:#ffd0d0*/ }
.CodeRay .s .k { color:#920 }
.CodeRay .s .dl { color:#710 }

.CodeRay .sh { /*background-color:#f0fff0*/ }
.CodeRay .sh .k { color:#2B2 }
.CodeRay .sh .dl { color:#161 }

.CodeRay .sy { color:#A60 }
.CodeRay .sy .k { color:#A60 }
.CodeRay .sy .dl { color:#630 }

.CodeRay .ta { color:#070 }
.CodeRay .tf { color:#070; font-weight:bold }
.CodeRay .ts { color:#D70; font-weight:bold }
.CodeRay .ty { color:#339; font-weight:bold }
.CodeRay .v { color:#036 }
.CodeRay .xt { color:#444 }
86 changes: 86 additions & 0 deletions content/scribbles/css/facebox.css
@@ -0,0 +1,86 @@
#jq-facebox .b {
background:url(/images/b.png);
}

#jq-facebox .tl {
background:url(/images/tl.png);
}

#jq-facebox .tr {
background:url(/images/tr.png);
}

#jq-facebox .bl {
background:url(/images/bl.png);
}

#jq-facebox .br {
background:url(/images/br.png);
}

#jq-facebox {
position: fixed;
top: 50%;
left: 50%;
z-index: 100;
text-align: left;
}

#jq-facebox .popup {
position: relative;
z-index: 101;
background: #fff;
padding: 10px 5px;
}

#jq-facebox table {
margin: auto;
border-collapse: collapse;
border: 0;
}

#jq-facebox table td, #jq-facebox table tr {border: 0;}

#jq-facebox .body {
padding: 10px;
width: 370px;
}

#jq-facebox .loading {
text-align: center;
}

#jq-facebox .image {
text-align: center;
}

#jq-facebox img {
border: 0;
}

#jq-facebox .footer {
border-top: 1px solid #DDDDDD;
padding-top: 5px;
margin-top: 10px;
text-align: right;
}

#jq-facebox .tl, #jq-facebox .tr, #jq-facebox .bl, #jq-facebox .br {
height: 10px;
width: 10px;
overflow: hidden;
padding: 0;
}

/*#jq-facebox textarea { height:30em; }*/

#jq-facebox-backdrop {
position: fixed;
width: 100%;
height:100%;
top: 0;
left: 0;
z-index: 99;
background: #000;
opacity: .9;
}

0 comments on commit 5ce1a44

Please sign in to comment.