Name | Deployed | Code |
---|---|---|
Live Tweets in email in Sinatra | Description / Email | Github Gist |
Ruby script for merging CSV files, incl. test suite | - | Github Repo |
Add and vote on best newsletters - (Rails project - TDD) | Heroku | Github Repo |
Yelp clone - (Rails project - TDD) | Heroku | Github Repo |
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
{% for category in page.categories %} | |
[<a class="post-meta" href="/{{category}}">{{category}}</a>] | |
{% endfor %} |
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
--- | |
layout: default | |
--- | |
<div class="home"> | |
<h1 class="page-heading">Posts in the category [coding]</h1> | |
<ul class="post-list"> | |
{% for post in site.categories.coding %} |
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 code is based on the explanations by Kevin Thompson (http://kevinthompson.info/) here https://gist.github.com/kevinthompson/c3023df8e2c904ad00d9 | |
# See the email here: http://www.mailerbob.com/live-tweets/email.html | |
require 'sinatra' | |
require 'twitter' | |
helpers do | |
def twitter | |
@twitter ||= Twitter::REST::Client.new do |config| | |
config.consumer_key = ENV.fetch("TWITTER_CONSUMER_KEY") |
NewerOlder