I hereby claim:
- I am wdehaes on github.
- I am willemdehaes (https://keybase.io/willemdehaes) on keybase.
- I have a public key whose fingerprint is 6648 C7B4 9F0C ED7F 88CD 7E67 B14B 20DA 1F58 5A0C
To claim this, I am signing this object:
#PrimeIt is a command line program that uses an improved version of the sieve of Eratosthenes to generate prime numbers based on the user's input. | |
puts "Welcome to PrimeIt!" | |
def main_flow(input = nil) | |
until input == 0 | |
puts "Pick any integer greater than 4, and the program will PrimeIt if for you. Press 0 to exit." | |
input = Integer(gets.chop) rescue false | |
until !!input and (input > 4 or input == 0) do | |
puts "Oops! I am afraid #{gets.chop} not an input that can be used by PrimeIt. Let's try again." |
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Puzzle</title> | |
<style> | |
canvas { | |
position: absolute; | |
top: 50%; | |
left: 50%; | |
transform: translate(-50%,-50%); |
I hereby claim:
To claim this, I am signing this object:
// Run this example by adding <%= javascript_pack_tag 'hello_react' %> to the head of your layout file, | |
// like app/views/layouts/application.html.erb. All it does is render <div>Hello React</div> at the bottom | |
// of the page. | |
import React from 'react' | |
import ReactDOM from 'react-dom' | |
import PropTypes from 'prop-types' | |
const Hello = props => ( | |
<div>Hello {props.name}!</div> |
I hereby claim:
To claim this, I am signing this object: