Skip to content

Instantly share code, notes, and snippets.

View skeskali's full-sized avatar

Cecily Walker skeskali

View GitHub Profile
class Blog
attr_accessor :title, :all_blog_posts, :total_blog_posts
def initalize
@created_at = Time.now
puts "Name your blog:"
@title = gets.chomp
@all_blog_posts = []
@total_blog_posts = 0
end
@skeskali
skeskali / gist:3f7735e3c03f020d01a6
Last active August 29, 2015 14:05
Amazon S3 bucket policy for www.cecily.info
{
"Version": "2008-10-17",
"Statement": [
{
"Sid": "PublicReadForGetBucketObjects",
"Effect": "Allow",
"Principal": {
"AWS": "*"
},
"Action": "s3:GetObject",
@skeskali
skeskali / weather.rb
Created June 5, 2015 15:44
Skillcrush 104 Ruby Blueprint - Create a Weather App.
require 'yahoo_weatherman'
# get current location from user
def getLocation
puts "What is your location? Please enter city or postal code."
location = gets.chomp
end
# get current location from Yahoo Weatherman gem by looking it up

Keybase proof

I hereby claim:

  • I am skeskali on github.
  • I am skeskali (https://keybase.io/skeskali) on keybase.
  • I have a public key whose fingerprint is 912E E21F D951 B112 54E1 4298 F116 B332 663E 8717

To claim this, I am signing this object:

# -*- mode: ruby -*-
# vi: set ft=ruby :
# All Vagrant configuration is done below. The "2" in Vagrant.configure
# configures the configuration version (we support older styles for
# backwards compatibility). Please don't change it unless you know what
# you're doing.
Vagrant.configure("2") do |config|
# The most common configuration options are documented and commented below.
# For a complete reference, please see the online documentation at