Skip to content

Instantly share code, notes, and snippets.

View Ebeta's full-sized avatar

Eric Betancourt Ebeta

  • wyncode
  • Miami, FL
View GitHub Profile
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width" />
<title>Market - responsive Newsletter with Template Builder</title>
</head>
<body>
<style type="text/css">
@Ebeta
Ebeta / gist:e5f2c935b0442f08da91
Last active August 29, 2015 14:21
thank you email
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width" />
<title>Market - responsive Newsletter with Template Builder</title>
</head>
<body>
<style type="text/css">
@Ebeta
Ebeta / gist:6250b584612e34ef77ee
Created February 8, 2015 22:20
wyncodeOrNot.css
input{
}
@Ebeta
Ebeta / gist:30b8ac9d4b741eb5eb75
Created February 8, 2015 22:19
wyncodeOrNot.js
$( "form" ).submit(function( event ) {
if ( $( "input:first" ).val() === "Wyncode" ) {
$( "span" ).text().show();
event.preventDefault();
}
$("input").css({'background-color' : 'red'});
event.preventDefault();
});
@Ebeta
Ebeta / gist:19d146c45acd31848eb7
Created February 8, 2015 22:17
WyncodeOrNot.html
<html>
<head>
<meta charset="UTF-8">
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js" type="text/javascript"></script>
<title>title</title>
</head>
<body>
<form>
<span>
class Game
def initialize
main_menu
end
end
class Human
attr_accessor :name
def initialize(name)
class Quadrilateral
attr_accessor :top, :bottom, :left, :right
def initialize(left, top, right, bottom)
@left = left
@right = right
@bottom = bottom
@top = top
class Array
def togeather
self.inject{|sum,x| sum + x }
end
end
[[1, 2], [3, 4]].togeather
def max(a,b)
a < b ? b : a
end
puts max(44,23)
puts <<END
_________(█)
_______██████
_____ ████████
____███████████_
__ (░░░░░░░)░░░)
__(░(░█░░█░)░░░)
__(░░(░░●░░░)░░░)
__ (░░░░◡░░)░░░░) # # ##### # # # # ## # #
_██(░░░░░░░░░░)██ # # # # # # # # # # ## ##