Instantly share code, notes, and snippets.

View responsiveRightDivFloat.html
.wrapper {
position: relative;
.buttons {
height: 150px;
background: tomato;
@media screen and (min-width: 48em) {
#!/bin/shxmodmap -e "keycode 12 = NoSymbol"
xmodmap -e "keycode 127 = numbersign"
xmodmap -e "keycode 118 = 3"
View address.js
var bob = {
firstName: "Bob",
lastName: "Jones",
phoneNumber: "(650) 777-7777",
email: ""
var mary = {
firstName: "Mary",
lastName: "Johnson",
""" Input file: .csv with kw1, kw2, biz name, location, ST
Output: 160 chars or less of word-replaced random combo of 1st, 2nd, 3rd sentence. Length <= 160 chars
import random
import csv
firstSentence = ["Interested in KW1? ", "Looking for KW1? ", "Considering KW1? ", "Searching for KW1 in LOCATION, ST? "];
secondSentence = ["BIZNAME specializes in KW2 in the LOCATION area. ","BIZNAME is an expert in KW2 in LOCATION, ST. ","BIZNAME performs this procedure in the LOCATION, ST area. ","Explore the website BIZNAME, who performs KW2 in the LOCATION area. "];
thirdSentence = ["Click here for photos!","Click here for before and after photos!","Find more info here!","Contact us today!"];
View locationStyle.css
/* Form styling --------------*/
.special_form_container {
border:1px solid #4abc44;
-webkit-border-radius: 10px;
border-radius: 10px; background-color: #EFEFEF;
box-shadow: none;
overflow: hidden;
box-sizing: border-box;
View redirect.js
// similar behavior as an HTTP redirect
// similar behavior as clicking on a link
window.location.href = "";
View videoSitemap.xml
<urlset xmlns=""
<video:title>Grilling steaks for summer</video:title>
<video:description>Alkis shows you how to get perfectly done steaks every
View Video-Script.html
<!-- Schema Markup for embedded video -->
<div itemprop="video" itemscope itemtype="">
<h2>Video: <span itemprop="name">Title</span></h2>
<meta itemprop="duration" content="T1M33S" />
<meta itemprop="thumbnailUrl" content="thumbnail.jpg" />
<meta itemprop="contentURL" content="" />
<meta itemprop="embedURL" content="" />
<meta itemprop="uploadDate" content="2011-07-05T08:00:00+08:00" />
<meta itemprop="expires" content="2012-01-30T19:00:00+08:00" />
<meta itemprop="height" content="400" />