32f7e97605e9

Add some sample content.
[view raw] [browse files]
author Steve Losh <steve@stevelosh.com>
date Wed, 16 Dec 2009 19:01:12 -0500
parents 7883e682a44f
children 5c26a85d5e33
branches/tags (none)
files content/about/about.html content/archives/archives.html content/archives/list.html content/resume/resume.html fabfile.py settings.py

Changes

--- a/content/about/about.html	Wed Dec 16 18:41:07 2009 -0500
+++ b/content/about/about.html	Wed Dec 16 19:01:12 2009 -0500
@@ -1,17 +1,49 @@
 {% extends "_about.html" %}
+
 {%hyde
     title: "About"
 %}
+
 {% block article %}
 
-Hyde is a static website generator using django templates & an "extensible generation engine". 
+<a href="http://www.flickr.com/photos/sjl7678/2332680141/" title="074/365 by Steve Losh, on Flickr"><img src="http://farm3.static.flickr.com/2378/2332680141_533362e5db_m.jpg" width="173" height="240" alt="074/365" /></a>
+
+I'm Steve.  I'm from Rochester, NY.  I do a lot of different things.  If you want to get in touch with me, email me at <steve@stevelosh.com> or find me on [Twitter](http://twitter.com/stevelosh) or [Flickr](http://flickr.com/photos/sjl7678/).
+
+Music
+-----
+I play electric and upright bass.  I've played in a metal band in the past, but right now my focus is on jazz and blues.  I'm taking lessons with a wonderful teacher and hope to be skilled enough to play at dances and such in the near future.
+
+I DJ at swing and blues dances fairly often.  My taste is pretty broad, and I'll cater to whatever the floor wants, but I tend to personally enjoy slightly down-tempo, small-group music.  Let me know if you need a DJ for a dance.
+
+Dancing
+-------
+I've been swing dancing for a little more than five years.  My first love is Lindy Hop; I go to classes, workshops and exchanges as often as my schedule and budget will allow.  I also give lessons; I'm not *the* most skilled dancer but I do have teaching experience and I'm relatively cheap.
+
+In the past year or two I've started learning about blues dancing.  I'm not great at it yet but I'm getting there.  I think I might enjoy it even more than Lindy.  My favorite aspect of dancing in general is connection and blues seems to bring that out more than any other dance.
+
+Lately I've also started getting my feet wet in tango.  Whether it'll ever become as important to me as blues or Lindy remains to be seen.
 
-Read more about Hyde [here:]({{content}}/{{links.introducing_hyde}})
+Photography
+----------
+I like photographing people.  Other things as well, but especially people.  They're the most interesting subject to me.  I tend to gravitate toward the "art" aspects of photography more than the "journalism" aspects, but I can appreciate both.
+
+I shoot digital and film (35mm and medium format) depending on my time limits and mood.  I develop film in my bathroom and print it in a rented darkroom.  When I print digital I use a lab nearby; I don't have the money for a professional printer just yet.
+
+I don't make my living from photography but I do take small jobs.
+
+Programming
+-----------
+I graduated from [Rochester Institute of Technology](http://rit.edu/) with a degree in Computer Science.
+
+I've done a lot of different things in the field so far.  Right now the things that are captivating me are artificial intelligence and clean, simple, *useful* web applications.
+
+I find programming beautiful.  That might sound strange, but there are aspects of programming and math that I can't describe any other way.
+
+About the Site
+-----------
+
+If you want to know more about the website itself, check out the [project page](/projects/stevelosh-com/).
 
     
 {% endblock %}
-
-
-
-
-
--- a/content/archives/archives.html	Wed Dec 16 18:41:07 2009 -0500
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,5 +0,0 @@
-{% extends "skeleton/_listing.html" %}
-{%hyde
-    title: "Archives"
-    exclude: True
-%}
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/content/archives/list.html	Wed Dec 16 19:01:12 2009 -0500
@@ -0,0 +1,5 @@
+{% extends "skeleton/_listing.html" %}
+{%hyde
+    title: "Archives"
+    exclude: True
+%}
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/content/resume/resume.html	Wed Dec 16 19:01:12 2009 -0500
@@ -0,0 +1,175 @@
+{% extends "_about.html" %}
+
+{%hyde
+    title: "Résumé"
+%}
+
+{% block article %}
+
+I'm Steve.  I'm a programmer from Rochester, NY.  I graduated from [Rochester Institute of Technology][] in 2008 with a Bachelor's degree in [Computer Science][].
+
+I'm currently most interested in rapid web development, version control, and artificial intelligence.  I'm open to both freelance and full-time work.
+
+If you'd *really* like to get to know me you should look at the [projects][] and [blog posts][] I've written, or cut to the chase and look at my [code][].
+
+[Rochester Institute of Technology]: http://rit.edu/
+[Computer Science]: http://www.cs.rit.edu/
+[projects]: /projects/
+[blog posts]: /blog/
+[code]: http://bitbucket.org/sjl/
+
+## Skills & Interests
+
+I'm passionate about programming.  It may sound odd, but there are aspects of programming that I find beautiful (in every sense of the word).
+
+### Languages
+
+My favorite programming language at the moment is [Python][].  It's elegant, readable, powerful, and makes it easy to *get things done*.
+
+I've also had experience with [Java][], [C][], [C++][], [Lisp][], [SQL][] and [PL/SQL][], [JavaScript][], [Groovy][], and [bash scripting][].  I'm familiar with a number of markup and templating languages, including [XHTML][], [XML][], [CSS][], [JSON][], [Markdown][], [Django][]'s template system, and [Jinja2][].
+
+In my free time I'm working on learning [R][].
+
+[Python]: http://www.python.org/
+[Java]: http://java.sun.com/
+[C]: http://en.wikipedia.org/wiki/C_(programming_language)
+[C++]: http://en.wikipedia.org/wiki/C%2B%2B
+[Lisp]: http://en.wikipedia.org/wiki/Lisp_(programming_language)
+[SQL]: http://en.wikipedia.org/wiki/SQL
+[PL/SQL]: http://en.wikipedia.org/wiki/PL/SQL
+[JavaScript]: http://en.wikipedia.org/wiki/JavaScript
+[Groovy]: http://groovy.codehaus.org/
+[bash scripting]: http://www.gnu.org/software/bash/
+[XHTML]: http://www.w3.org/TR/xhtml1/
+[XML]: http://www.w3.org/XML/
+[CSS]: http://www.w3.org/TR/CSS/
+[JSON]: http://www.json.org/
+[Markdown]: http://daringfireball.net/projects/markdown/
+[Jinja2]: http://jinja.pocoo.org/2/
+[R]: http://www.r-project.org/
+
+### Web Development
+
+For web development I gravitate toward the [Django][] framework.  Django bills itself as "The Web framework for professionals with deadlines" and this strikes a chord with me.
+
+I've used the [CherryPy][] framework for smaller (but still dynamic) projects that don't need the additional functionality of Django.
+
+I hate writing repetitive, difficult-to-maintain code.  Even when writing completely static websites I prefer to take advantage of templating languages.  To do that I use [Hyde][] and [Blatter][], both of which generate static HTML from templates.
+
+I've used several CSS frameworks including [Blueprint][], [Tripoli][] and [aardvark legs][].  Of these I now prefer aardvark legs because it makes setting up a beautiful vertical rhythm simple and doesn't impose itself on the horizontal layout.
+
+When writing [JavaScript][] I use [jQuery][] to eliminate a lot of the tediousness and create elegant code.
+
+[Django]: http://www.djangoproject.com/
+[CherryPy]: http://www.cherrypy.org/
+[Blueprint]: http://www.blueprintcss.org/
+[Tripoli]: http://devkick.com/lab/tripoli/
+[aardvark legs]: http://fecklessmind.com/2009/01/20/aardvark-css-framework/
+[Hyde]: http://github.com/lakshmivyas/hyde
+[Blatter]: http://bitbucket.org/jek/blatter/
+[jQuery]: http://jquery.com/
+
+### Version Control
+
+I believe version control is essential for a project of almost any size, and lately the concepts behind it have captured my interest.
+
+In my personal work I use [Mercurial][] (usually with [BitBucket][]).  I've [contributed][] several minor patches to the Mercurial core and written two extensions: [hg-prompt][] and [hg-paste][].
+
+I know my way around [Subversion][], [CVS][], and [git][] as well.
+
+[Mercurial]: http://www.selenic.com/mercurial/
+[BitBucket]: http://bitbucket.org/
+[Subversion]: http://subversion.tigris.org/
+[CVS]: http://www.nongnu.org/cvs/
+[git]: http://git-scm.com/
+[contributed]: http://selenic.com/repo/hg/log?rev=Steve+Losh
+[hg-prompt]: /projects/hg-prompt/
+[hg-paste]: /projects/hg-paste/
+
+### How I Work
+
+For my personal work I use [Mac OS X][].  I'm comfortable in [Linux][] and can deal with [Windows][] (though I don't enjoy it).
+
+I use [TextMate][] and [vim][] for coding, [CSSEdit][] when designing, [Mercurial][] for version control, [t][] to manage my personal tasks, and deploy through [SSH][] with [fabric][].
+
+[Mac OS X]: http://www.apple.com/macosx/
+[TextMate]: http://macromates.com/
+[SSH]: http://en.wikipedia.org/wiki/Secure_Shell
+[fabric]: http://www.nongnu.org/fab/
+[Linux]: http://www.linux.org/
+[Windows]: http://www.microsoft.com/WINDOWS/
+[vim]: http://www.vim.org/
+[CSSEdit]: http://macrabbit.com/cssedit/
+[t]: /projects/t/
+
+## Personal Projects
+
+You can find some of my pet projects on the [projects][] page.
+
+Lately I've been working on a few new things that aren't quite ready for general use, but are getting close:
+
+* [hg-review][]: a code-review extension for Mercurial.
+* [LindyHub][]: a site like BitBucket or GitHub for dancers.
+* [hg-letterpress][]: a new theme for [Mercurial][]'s hgweb system.
+* [tinpan][]: a language-agnostic, vcs-agnostic continuous integration system.
+
+[hg-review]: http://bitbucket.org/sjl/hg-review/
+[LindyHub]: http://test.lindyhub.com/
+[hg-letterpress]: http://hg.stevelosh.com/hg-letterpress/
+[tinpan]: http://bitbucket.org/sjl/tinpan/
+
+## Full-Time Work Experience
+
+I completed two six-month [co-ops][] while at [RIT][].  Since I graduated I've worked full time for about a year.
+
+[co-ops]: https://www.rit.edu/about/coop_careers.html
+[RIT]: http://rit.edu/
+
+### Software Engineer at [PAETEC][]
+
+*Fairport, NY from June 2008 to the present.*
+
+At [PAETEC][] I contribute to a number of projects.  I maintain and implement new features for web applications in [Java][] using the [Oracle E-Business Suite][] and work on underlying [SQL][] and [PL/SQL][] code for our databases.
+
+[PAETEC]: http://paetec.com/
+[Oracle E-Business Suite]: http://www.oracle.com/applications/e-business-suite.html
+
+### Data Architecture Co-op at [Excellus BlueCross BlueShield][]
+
+*Rochester, NY from June 2007 to November 2007.*
+
+At [Excellus][] I developed software in [Java][] to interact with and manage databases of customer and provider information stored on a mainframe.  I also created and updated [JUnit][] and [Jemmy][] tests for this software.
+
+[Excellus BlueCross BlueShield]: https://www.excellusbcbs.com/
+[Excellus]: https://www.excellusbcbs.com/
+[JUnit]: http://www.junit.org/
+[Jemmy]: http://jemmy.dev.java.net/
+
+### Managed Services Programmer at [RightNow Technologies][]
+
+*Pittsford, NY from June 2006 to November 2006.*
+
+During my co-op at [RightNow][] I developed a set of tools to test the effectiveness of voice-automated telephone systems.  These tools were written in a combination of [bash scripting][] and [Python][].  I assisted in generating statistics about the effectiveness of these systems for customers.
+
+[RightNow Technologies]: http://www.rightnow.com/
+[RightNow]: http://www.rightnow.com/
+
+## Contact Me
+
+If you'd like to get in touch with me, you can use any method you like.
+
+My **email address** is: <steve@stevelosh.com>  
+My **phone number** is: (570) 417-1392  
+My **skype username** is: steve.losh  
+My **mailing address** is: 150 Park Avenue, Apartment 7, Rochester, NY 14607
+
+You can also find me on [Twitter][], [Flickr][], [BitBucket][], [GitHub][], [BrightKite][], or [DjangoPeople][].
+
+[Twitter]: http://twitter.com/stevelosh/
+[Flickr]: http://www.flickr.com/photos/sjl7678/
+[BitBucket]: http://bitbucket.org/sjl/
+[GitHub]: http://github.com/sjl/
+[BrightKite]: http://brightkite.com/people/stevelosh/
+[DjangoPeople]: http://djangopeople.net/stevelosh/
+
+{% endblock %}
\ No newline at end of file
--- a/fabfile.py	Wed Dec 16 18:41:07 2009 -0500
+++ b/fabfile.py	Wed Dec 16 19:01:12 2009 -0500
@@ -1,7 +1,15 @@
 from fabric.api import *
 
+def clean():
+    local('rm -rf ./deploy')
+
 def regen():
+    clean()
     local('hyde -g -s .')
 
 def serve():
     local('hyde -w -s .')
+
+def reserve():
+    regen()
+    serve()
--- a/settings.py	Wed Dec 16 18:41:07 2009 -0500
+++ b/settings.py	Wed Dec 16 19:01:12 2009 -0500
@@ -2,7 +2,6 @@
 
 ROOT_PATH = os.path.abspath(os.path.dirname(__file__))
 
-#Directories
 LAYOUT_DIR = os.path.join(ROOT_PATH, 'layout')
 CONTENT_DIR = os.path.join(ROOT_PATH, 'content')
 MEDIA_DIR = os.path.join(ROOT_PATH, 'media')
@@ -13,31 +12,20 @@
 BACKUP = False
 
 SITE_ROOT = "/"
-SITE_WWW_URL = "http://www.yoursite.com"
-SITE_NAME = "Hyde"
-
-#Url Configuration
-GENERATE_ABSOLUTE_FS_URLS = False
+SITE_WWW_URL = "http://stevelosh.com"
+SITE_NAME = "Steve Losh"
+SITE_AUTHOR = "Steve Losh"
 
-# Clean urls causes Hyde to generate urls without extensions. Examples:
-# http://example.com/section/page.html becomes
-# http://example.com/section/page/, and the listing for that section becomes
-# http://example.com/section/
-# The built-in CherryPy webserver is capable of serving pages with clean urls
-# without any additional configuration, but Apache will need to use Mod_Rewrite
-# to map the clean urls to the actual html files.  The HtaccessGenerator site
-# post processor is capable of automatically generating the necessary
-# RewriteRules for use with Apache.
-GENERATE_CLEAN_URLS = False
+GENERATE_ABSOLUTE_FS_URLS = False
+GENERATE_CLEAN_URLS = True
 
 # A list of filenames (without extensions) that will be considered listing
 # pages for their enclosing folders.
-# LISTING_PAGE_NAMES = ['index']
-LISTING_PAGE_NAMES = []
+LISTING_PAGE_NAMES = ['list']
 
 # Determines whether or not to append a trailing slash to generated urls when
 # clean urls are enabled.
-APPEND_SLASH = False
+APPEND_SLASH = True
 
 # {folder : extension : (processors)}
 # The processors are run in the given order and are chained.
@@ -101,10 +89,9 @@
 #HSS_PATH = "./lib/hss-1.0-osx"
 HSS_PATH = None # if you don't want to use HSS
 
-#Django settings
+# Django settings
 
 TEMPLATE_DIRS = (LAYOUT_DIR, CONTENT_DIR, TMP_DIR, MEDIA_DIR)
-
 INSTALLED_APPS = (
     'hydeengine',
     'django.contrib.webdesign',