Skip to content

Instantly share code, notes, and snippets.

View oddurs's full-sized avatar

Oddur Sigurdsson oddurs

View GitHub Profile
@oddurs
oddurs / fullstack-badge.md
Last active January 29, 2016 15:54
The Fullstack Badge of Honor

The Fullstack Badge of Honor

Instructions

Congratulations! You've made a project that warrants the Fullstack Badge of Honor. This means that you've succeeded in making something extraordinary.

To display your prize proudly, simply add the following markdown snippet into your README.md in the line directly underneath your title:

[](http://fullstackacademy.com/)
@oddurs
oddurs / gist:bf01a0a5d0a087bb7530
Last active August 29, 2015 14:13
REACTO January 7th 2014

OOP Calendar

Your task is to create a calendar using the object oriented programming paradigm. The requirements are the following:

  • Create events for a particular time range
  • Invite people to an event
  • Users can accept invitations to an event
  • Events cannot overlap
  • Extra: Register for a reminder

Note: There does not have to be any kind of user interface for this implementation

#box {
width: 50px;
height: 50px;
background: blue;
top: 150px;
left: 10px;
}
.normal {
background-color: white;
@oddurs
oddurs / fizzbuzz.html
Created April 28, 2014 15:59
FizzBuzz (Epicodus)
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>FizzBuzz</title>
<meta name="description" content="The FizzBuzz Exercise">
<meta name="author" content="Oddur Sigurdsson">
@oddurs
oddurs / fizzbuzz.js
Last active August 29, 2015 14:00
FizzBuzz (CodeAcademy)
/*
FizzBuzz / Javascript exercise
As instructed by CodeAcademy
Oddur Sigurdsson
26. april 2014
*/
// (starting variable, condition, execute each time)
for (i = 1; i <= 100; i++) {
// if i has no remainder when divided by 15 (or 3 AND 5)