Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

91 lines (77 sloc) 3.503 kb
!!!
%html
%head
%title Andrew Cholakian
%link{:rel => 'stylesheet', :href => 'stylesheets/main.css'}
%script{:type => 'text/javascript', :src =>"http://use.typekit.com/bdt6jhf.js"}
:javascript
try{Typekit.load();}catch(e){}
%script{:type => 'text/javascript', :src => 'https://ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.min.js'}
%script{:type => 'text/javascript', :src => 'js/main.js'}
:erb
<script type='text/javascript'>
var galleryPhotos = <%= @photos.map {|p| {:filename => p.filename,
:cssId => "photo-#{p.filename.chomp(File.extname(p.filename))}",
:title => p.title,
:fullUrl => url_for_photo(p,:large)} }.to_json %>;
</script>
%body
%h1#main-graphic
%a{:href => '/'}
%img{:src => 'images/main-graphic.png', :alt => 'Andrew Cholakian'}
#h1-text Andrew Cholakian
#about
%h2 About Andrew:
%p I've been shooting for years, it's one of my genuine passions, along with computing. I currently work as a programmer, generally Ruby and Javascript, and still shoot when time is permitting.
%h2 Photographic Notes
%p All photos are shot with either Canon digital cameras or vintage 35mm or 120mm film cameras.
%h2 Code:
%p
The most up to date listing of my code is on
%a{:href => 'https://github.com/andrewvc', :target => '_blank'} Github
, but I have a less frequently updated, and more curated list below:
%ul#code
%li
%a{:href => 'https://github.com/andrewvc/parbench'} Parbench
\: HTTP Load Tester / Visualization tool (Clojure)
%li
%a{:href => 'http://github.com/andrewvc/dripdrop'} DripDrop
\: ZeroMQ / EventMachine based concurrency framework (Ruby).
%li
%a{:href => 'http://github.com/andrewvc/em-zeromq'} em-zeromq
\: EventMachine zeromq bindings (Ruby).
%li
%a{:href => 'http://github.com/andrewvc/little_hat'} Little Hat
\: What generates this site (Ruby)
%li
%a{:href => 'http://github.com/andrewvc/node-streamlogger'} Node Streamlogger
\: Logging library for Node JS with a focus on customization (node.js).
%p
\--
%strong
%em
Andrew Cholakian
#photo-thumbs
%h2 Photography
- @photos.every(4).each do |row|
.photo-row
- row.each do |photo|
.photo-frame
.photo-container
%a{:title => photo.title, :rel => 'gal', :href => url_for_photo(photo, :large), :id => "photo-#{photo.filename[0...-4]}", :target => '_blank'}
%img{:src => url_for_photo(photo, :index), :alt => photo.title}
#full-photo-cont{:style => 'display: none'}
#photo-meta
%span#full-photo-title
%a#prev-photo{:href => '#'} &laquo; Prev.
%a#next-photo{:href => '#'} Next &raquo;
#blog
%h2 Programming
- @blog_posts.each do |post|
.blog-post
- ttext = post[:title].length > 52 ? "#{post[:title][0..52]}..." : post[:title]
%a.title{:href => post[:link], :target => '_blank'}= "#{ttext} &rArr;"
// Used during gallery view only, so hidden till then
#return-home{:style => 'display: none'}
%a{:href => '/', :id => 'go-home'}
\&larr; Return Home
Jump to Line
Something went wrong with that request. Please try again.