Skip to content

Instantly share code, notes, and snippets.

@jswatson0
jswatson0 / shop-by-artists.html
Last active August 29, 2015 14:14
HDC artist shop-by page
<!doctype html>
<html>
<body>
<div>
<a href="http://test2.homedecorators.com/custom-art/#/search/artist=Sara%20Abbott">
<img src="http://gallerydirect.com/assets/images/artists_images/sara-abbott.jpg" style="width: 100px">
<span style="display: block">Sara Abbott</span>
</a>
</div><br><div>
<a href="http://test2.homedecorators.com/custom-art/#/search/artist=Arthur%20Albin">
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title></title>
<link rel="stylesheet" type="text/css" href="../styles/nep_widget.css" >
</head>
<body>
<div id="nep_widget" class="container">
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title></title>
<!--[if lt IE 9]>
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
</head>
<body>
@jswatson0
jswatson0 / to_do_genie.csv
Last active December 19, 2015 04:18
email a formatted .csv file Been working on this and am not getting anywhere. Any help would be great. Thanks
Name Description Due
A task The desscrption of the task dd/mm/yy
More tasks More descriptions of tasks dd/mm/yy
@jswatson0
jswatson0 / exercises.rb
Created June 24, 2013 16:00
Ruby Exercises
# Exercise 2
def calc_1(operator, num1, num2)
if operator == "*"
return num1.to_f * num2.to_f
elsif operator == "/"
return num1.to_f / num2.to_f
elsif operator == "+"
return num1.to_f + num2.to_f
elsif operator == "-"