forked from crtr0/seattlehacks
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Carter Rabasa
committed
Mar 28, 2013
1 parent
c83fa5c
commit 5a403ab
Showing
13 changed files
with
365 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
_site |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
meta: | ||
site_title: "Seattle Hacks" | ||
site_subtitle: "For Seattle developers, by Seattle developers" | ||
site_language: "en" | ||
absolute_baseurl: http://seattlehacks.com | ||
domain: seattlehacks.com | ||
|
||
tag_dir: tag | ||
pygments: true | ||
markdown: rdiscount | ||
permalink: pretty |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
--- | ||
layout: default | ||
title: Event Calendar | ||
--- | ||
<h1>Calendar</h1> | ||
<div class="calendar"> | ||
{% for event in page.events %} | ||
<div class="event"> | ||
<h2><a href="{{ event.url }}">{{ event.name] }}</a> @ {{ event.venue }}</h2> | ||
<ul> | ||
<li>Start: {{ event.start }}</li> | ||
<li>End: {{ event.start }}</li> | ||
</ul> | ||
</div> | ||
{% endfor %} | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,119 @@ | ||
<!DOCTYPE html> | ||
<!-- | ||
_____ _____ | ||
/\ \ /\ \ | ||
/::\ \ /::\____\ | ||
/::::\ \ /:::/ / | ||
/::::::\ \ /:::/ / | ||
/:::/\:::\ \ /:::/ / | ||
/:::/__\:::\ \ /:::/____/ | ||
\:::\ \:::\ \ /::::\ \ | ||
___\:::\ \:::\ \ /::::::\ \ _____ | ||
/\ \:::\ \:::\ \ /:::/\:::\ \ /\ \ | ||
/::\ \:::\ \:::\____\ /:::/ \:::\ /::\____\ | ||
\:::\ \:::\ \::/ / \::/ \:::\ /:::/ / | ||
\:::\ \:::\ \/____/ \/____/ \:::\/:::/ / | ||
\:::\ \:::\ \ \::::::/ / | ||
\:::\ \:::\____\ \::::/ / | ||
\:::\ /:::/ / /:::/ / | ||
\:::\/:::/ / /:::/ / | ||
\::::::/ / /:::/ / | ||
\::::/ / /:::/ / | ||
\::/ / \::/ / | ||
\/____/ \/____/ | ||
--> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="utf-8"> | ||
<title>{{ page.title }}</title> | ||
<link rel="stylesheet" href="http://twitter.github.com/bootstrap/1.4.0/bootstrap.min.css"> | ||
<link rel="stylesheet" href="/stylesheets/site.css"> | ||
<meta name="description" content=""> | ||
<link href="/atom.xml" rel="alternate" title="{{ site.meta.site_title }} (Atom)" type="application/atom+xml" /> | ||
<link href="/rss.xml" rel="alternate" title="{{ site.meta.site_title }} (RSS)" type="application/rss+xml" /> | ||
<link rel="shortcut icon" href="/favicon.ico"/> | ||
<meta name="google-site-verification" content="xxx" /> | ||
<script src="http://code.jquery.com/jquery-1.9.1.min.js"></script> | ||
</head> | ||
<body> | ||
<a href="https://github.com/crabasa/seattlehacks"><img style="position: absolute; top: 0; right: 0; border: 0; z-index:999999" src="https://s3.amazonaws.com/github/ribbons/forkme_right_red_aa0000.png" alt="Fork me on GitHub"></a> | ||
<div class="topbar"> | ||
<div class="fill"> | ||
<div class="container"> | ||
<a class="brand" href="/">{{ site.meta.site_title }}</a> | ||
<ul class="nav"> | ||
<li><a href="/">Home</a></li> | ||
<li><a href="/calendar">Calendar</a></li> | ||
<li><a href="/archive">Archive</a></li> | ||
<li><a href="/submit">Submit</a></li> | ||
<li><a href="/search">Search</a></li> | ||
</ul> | ||
</div> | ||
</div> | ||
</div> | ||
|
||
<div class="container"> | ||
<div class="content"> | ||
<div class="row"> | ||
<div class="span10"> | ||
{{ content }} | ||
</div> | ||
<div class="span4"> | ||
<h3>About Us</h3> | ||
<p>Seattle Hacks is a community-driven resource for the developer community in Seattle, maintained by developers for developers. <a href="/submit">Contributing is easy</a>, just submit a pull request! Hit us up @seattlehacks if you have any questions or feedback.</p> | ||
<h3>Local Meetups</h3> | ||
<ul> | ||
<li><a href="http://www.meetup.com/seattlejs/">Seattle JS</a></li> | ||
<li><a href="http://www.meetup.com/MobileDevelopment/">Seattle Mobile Web Apps</a></li> | ||
<li><a href="http://www.netda.net/">.NET Developers Association</a></li> | ||
<li><a href="http://www.meetup.com/Appy-Hour/">Appy Hour</a></li> | ||
<li><a href="http://www.meetup.com/CloudTalk/">CloudTalk</a></li> | ||
<li><a href="http://www.dotnetstartup.com/">Dot Net Startup Group</a></li> | ||
<li><a href="http://www.meetup.com/Ember-js-Seattle-Meetup/">Ember.js Seattle</a></li> | ||
<li><a href="http://www.meetup.com/North-Side-Front-End-Devs/">North Side Front End Devs</a></li> | ||
<li><a href="http://www.meetup.com/TheOcho/">The Ocho</a></li> | ||
<li><a href="http://www.meetup.com/OpenStack-Seattle/">OpenStack Seattle</a></li> | ||
<li><a href="http://www.meetup.com/Seattle-Android-Developers/">Seattle Android Developers</a></li> | ||
<li><a href="http://www.meetup.com/seattle-backbone/">Seattle Backbone</a></li> | ||
<li><a href="http://www.meetup.com/seattle-gdg/">Seattle Google Developer Group </a></li> | ||
<li><a href="http://www.meetup.com/Seattle-Grab-Beers-and-Talk-Web-Development/">Seattle Grab Beers and Talk Webdev</a></li> | ||
<li><a href="http://www.meetup.com/Seattle-iPhone-iPad-Android-SURF-Incubator/">Seattle iOS & Android Incubator</a></li> | ||
<li><a href="http://www.meetup.com/gamedevjs/">Seattle JavaScript Game Development</a></li> | ||
<li><a href="http://www.meetup.com/seajsws/">Seattle JavaScript Workshop</a></li> | ||
<li><a href="http://www.meetup.com/Seattle-Node-js/">Seattle Node.js</a></li> | ||
<li><a href="http://www.meetup.com/php-49/">Seattle PHP</a></li> | ||
<li><a href="http://www.meetup.com/Seattle-Py/">Seattle Py</a></li> | ||
<li><a href="http://www.meetup.com/The-Seattle-Ruby-on-Rails-Developers-Meetup-Group/">Seattle Ruby on Rails Developers</a></li> | ||
<li><a href="http://www.meetup.com/SASSlang/">Seattle Sass ∓ Compass</a></li> | ||
<li><a href="http://www.meetup.com/Seattle-Hadoop-HBase-NoSQL-Meetup/">Seattle Scalability</a></li> | ||
<li><a href="http://www.meetup.com/StudentRND-Meetups/">StudentRND Meetups</a></li> | ||
</ul> | ||
</div> | ||
</div> | ||
</div> | ||
|
||
<footer> | ||
<p>© Event Loop LLC 2010-2013</p> | ||
</footer> | ||
</div> <!-- /container --> | ||
|
||
<section id="javascript"> | ||
|
||
<script type="text/javascript"> | ||
var _gaq = _gaq || []; | ||
_gaq.push(['_setAccount', 'UA-75426-11']); | ||
_gaq.push(['_trackPageview']); | ||
(function() { | ||
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; | ||
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; | ||
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); | ||
})(); | ||
</script> | ||
|
||
</section> | ||
|
||
</body> | ||
</html> | ||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
--- | ||
layout: default | ||
--- | ||
<div id="post" class="markdown-body"> | ||
<h1>{{ page.title }}</h1> | ||
{{ content }} | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
module Jekyll | ||
|
||
class CalendarGenerator < Generator | ||
safe true | ||
|
||
def generate(site) | ||
events = site.tags['event'] | ||
if events | ||
site.pages << CalendarPage.new(site, events) | ||
end | ||
end | ||
end | ||
|
||
class CalendarPage < Page | ||
|
||
def initialize(site, events) | ||
@site = site | ||
@base = site.source | ||
@dir = '/calendar/' | ||
@name = 'index.html' | ||
|
||
self.process(@name) | ||
self.read_yaml(File.join(@base, '_layouts'), 'calendar.html') | ||
|
||
# start building a proper list of events to display | ||
calendar = [] | ||
|
||
events.each do |event| | ||
event.tags.each do |tag| | ||
puts tag | ||
if tag.start_with?('cal:') | ||
key = tag.split('cal:')[1].split('=')[0] | ||
value = tag.split('cal:')[1].split('=')[1] | ||
event.data[key] = value | ||
end | ||
end | ||
|
||
if (Date.parse(event.data['start']) >= Date.today) | ||
calendar << event | ||
end | ||
end | ||
|
||
self.data['events'] = calendar.sort{|a, b| Date.parse(a.data['start']) <=> Date.parse(b.data['start'])} | ||
end | ||
|
||
end | ||
|
||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
--- | ||
title: Seattle JS - Test the Web Forward and Fun With Angular.js | ||
layout: post | ||
tags: | ||
- event | ||
- cal:name=Seattle JS - Test the Web Forward and Fun With Angular.js | ||
- cal:allday=false | ||
- cal:start=2013-04-11T18:30:00-08:00 | ||
- cal:end=2013-04-11T20:00:00-08:00 | ||
- cal:venue=Makers Space | ||
- cal:website=http://www.meetup.com/seattlejs/events/110183332/ | ||
--- | ||
Agenda | ||
------ | ||
|
||
*6:00 - 6:30pm:* Pizza, beer & catching up | ||
*6:30 - 7:00pm:* Testing the Web Forward (TBD) | ||
|
||
The Internet Explorer Developer Relations Team is hosting a Test the Web Forward event in Seattle April 12–13.The focus of this event is on learning, hacking, and writing tests for W3C specifications. During the event, experts will teach you about W3C specs & W3C testing and will guide you as you help make the Web a better, more interoperable place. Better tests for a better Web! | ||
|
||
They'll be at SeattleJS to discuss this event and answer any questions you have! | ||
|
||
*7:00 - 8:30pm:* Angular.js (TBD) | ||
|
||
The remainder of the time will be spent on some short talks involving Angular.js. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
--- | ||
layout: default | ||
title: Archive | ||
--- | ||
<h2>Archives</h2> | ||
<ul class="posts"> | ||
{% for post in site.posts %} | ||
<li><span class="ddMMMyyyy">{{ post.date | date_to_string }}</span> » <a href="{{ post.url }}">{{ post.title }}</a></li> | ||
{% endfor %} | ||
</ul> |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
--- | ||
layout: default | ||
title: Search | ||
--- | ||
<h2>Search</h2> | ||
<div id="cse" style="width: 100%;">Loading</div> | ||
<script src="http://www.google.com/jsapi" type="text/javascript"></script> | ||
<script type="text/javascript"> | ||
google.load('search', '1', {language : 'en', style : google.loader.themes.MINIMALIST}); | ||
google.setOnLoadCallback(function() { | ||
var customSearchControl = new google.search.CustomSearchControl( | ||
'011229841708764099387:0ppwh9slobo'); | ||
|
||
customSearchControl.setResultSetSize(google.search.Search.FILTERED_CSE_RESULTSET); | ||
customSearchControl.draw('cse'); | ||
}, true); | ||
</script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
/* Override some defaults */ | ||
html, body { | ||
background-color: #eee; | ||
} | ||
body { | ||
padding-top: 40px; /* 40px to make the container go all the way to the bottom of the topbar */ | ||
} | ||
|
||
/* good lord, rename this class */ | ||
h1.foo { | ||
font-size:30px; | ||
margin-bottom:10px; | ||
border-bottom: thin dotted #aaa; | ||
} | ||
|
||
.topbar .fill { | ||
background-color: #5B9C64; | ||
background-image: -webkit-linear-gradient(top, #5B9C64, #517B58); | ||
} | ||
|
||
/* The white background content wrapper */ | ||
.content { | ||
background-color: #fff; | ||
padding: 20px; | ||
margin: 0 -20px; /* negative indent the amount of the padding to maintain the grid system */ | ||
border-radius: 0 0 6px 6px; | ||
box-shadow: 0 1px 2px rgba(0,0,0,.15); | ||
} | ||
|
||
.logo { | ||
font-family: 'Courier New'; | ||
white-space: pre; | ||
font-size:6px; | ||
line-height:6px; | ||
font-weight:bold; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
--- | ||
layout: default | ||
title: Submit | ||
--- | ||
<h2>Submitting a Post</h2> | ||
<p>Submitting a post is as simple as sending a pull request:</p> | ||
<ol> | ||
<li>Fork this repo</li> | ||
<li>Compose your post using Markdown syntax</li> | ||
<li>Name the file YYYY-MM-DD-title.md and copy to _posts directory</li> | ||
<li>Submit a pull request for this new file</li> | ||
</ol> | ||
<p>Please make sure you include a YAML header at the top of the file that defines the <code>title</code> or your post and specifies the <code>post</code> layout.</p> | ||
<pre> | ||
--- | ||
title: Test | ||
layout: post | ||
--- | ||
</pre> | ||
<h2>Submitting an Event</h2> | ||
<p>Submitting an event is just like submitting a post. Follow the instructions above and you're 90% of the way there. Consider the content of the post to both be an announcement of your event and the core information that people need to know to find your event.</p> | ||
<p>The only difference is that in order for your event to make it into our <a href="/calendar">calendar</a> you need to define some additional tags. All of these tags are required:</p> | ||
<pre> | ||
--- | ||
tags: | ||
- event | ||
- cal:name=Test Event #1 | ||
- cal:allday=false | ||
- cal:start=2013-03-28T14:10:04+00:00 | ||
- cal:end=2013-03-28T14:10:04+00:00 | ||
- cal:venue=Hub Seattle | ||
- cal:website=http://test.event.com | ||
--- | ||
</pre> |