This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module End | |
class End | |
def initialize | |
@end = 'end' | |
end | |
def end(end_end) | |
return @end | |
end | |
end | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script> | |
<body> | |
<button id="click"/>Generate your spirit animal</button> | |
<p> | |
<svg> | |
<polygon id="polygon" points="200,10 250,190 160,210" fill="green" stroke="black" stroke-width="1"/> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Silverpop uses xml rulesets to display dynamic content in emails. When you have the content already created elsewhere, it can be a pain to create rulesets with more than one rule. This script goes out of its way to remove you from having to touch xml, instead opting for building the ruleset based on parameters in objects. | |
Mainly gisting this for retrieval later on by myself, however, if you want help using it contact me. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<a href="..."><img src="..."></a> <br> | |
<a href="...">Buy it now!</a><br> | |
<p>Description</p> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Generated by CoffeeScript 1.3.3 | |
(function() { | |
var app, bcv, fs, get_previous_osis, handle_extra, handle_extra_result, http, index_already_exists, p, qs, remove_parens, request_count, restore_parens, sort_osises, total_time; | |
fs = require("fs"); | |
http = require("http"); | |
qs = require("querystring"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Use this on The Ride's Live Maps page: | |
//http://www.theride.org/Schedules-Maps-and-Tools/Live-Maps | |
//Find an extension or plugin that let's you run your own javascript on a page | |
//I'm using "Custom JavaScript for websites" in Chrome. | |
//Replace the array with the route numbers you care about. Just the number | |
var routesYouCareAbout = [65, 23]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script type="text/javascript"> | |
/* | |
Walking through this page as a tutorial on how Javascripts object model works: | |
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Details_of_the_Object_Model#Class-Based_vs._Prototype-Based_Languages | |
*/ | |
//Function for Employee creates a constructor for Employee objects | |
function Employee() { | |
this.name = ""; | |
this.dept = "General"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<style> | |
body { | |
display: grid; | |
grid-template-columns:1fr 1fr; | |
} | |
header, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"> | |
<channel> | |
<title>{{ if eq .Title .Site.Title }}{{ .Site.Title }}{{ else }}{{ with .Title }}{{.}} on {{ end }}{{ .Site.Title }}{{ end }}</title> | |
<link>{{ .Permalink }}</link> | |
<description>Recent content {{ if ne .Title .Site.Title }}{{ with .Title }}in {{.}} {{ end }}{{ end }}on {{ .Site.Title }}</description> | |
<generator>Hugo -- gohugo.io</generator>{{ with .Site.LanguageCode }} | |
<language>{{.}}</language>{{end}}{{ with .Site.Author.email }} | |
<managingEditor>{{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}</managingEditor>{{end}}{{ with .Site.Author.email }} | |
<webMaster>{{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}</webMaster>{{end}}{{ with .Site.Copyright }} | |
<copyright>{{.}}</copyright>{{end}}{{ if not .Date.IsZero }} |