Skip to content

Instantly share code, notes, and snippets.

@dashalom
dashalom / gist:1adb1a76f45a5b20c91f
Created May 15, 2015 16:46
Dalit HTML CSS JS MDV
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Info Window</title>
<link rel="stylesheet" href="style.css">
<link href="http://fonts.googleapis.com/css?family=Merriweather:700" rel="stylesheet" type="text/css">
<!--CSS-->
<style>
body {
<!--CSS-->
body {
}
.infowin {
width: 320px;
padding: 7px;
border: solid;
border-color: #b3b3b3;
@dashalom
dashalom / gist:ac03f2d03005de05823a
Created May 14, 2015 22:18
HTML + JAVASCRIPT MDV Dalit
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Info Window</title>
<link rel="stylesheet" href="style.css">
<link href="http://fonts.googleapis.com/css?family=Merriweather:700" rel="stylesheet" type="text/css">
<!--Load jquery:-->
<script src="http://code.jquery.com/jquery-2.1.3.min.js"></script>
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Info Window</title>
<link rel="stylesheet" href="style.css">
<link href="http://fonts.googleapis.com/css?family=Merriweather:700" rel="stylesheet" type="text/css">
<!--Load jquery:-->
<script src="http://code.jquery.com/jquery-2.1.3.min.js"></script>
{
"type": "FeatureCollection",
"features": [
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [
-73.9654,
40.779631
@dashalom
dashalom / Closest to Rome
Last active August 29, 2015 14:18
Closest amphitheaters and cities to Rome
#load libraries
library(curl)
library(igraph)
library(rgeos)
library(rgdal)
library(maptools)
library(sp)
library(ggplot2)
library(leaflet)
@dashalom
dashalom / Plotting Networks using igraph package in R
Created April 1, 2015 12:30
Plotting Networks using igraph package in R
---
title: "Week 9 HW"
author: "Dalit Shalom"
date: "March 31, 2015"
output: html_document
---
###Require packages
require(curl)
require(igraph)
@dashalom
dashalom / gist:ccc93064e1193599a288
Created March 11, 2015 12:48
Homework March 11
---
title: "Homework"
author: "Dalit Shalom"
date: "March 10, 2015"
output: html_document
---
```{r}
@dashalom
dashalom / Recipe Search by Item - CSS
Created December 15, 2014 16:54
Recipe Search by Item
/* CSS Mini Reset */
html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{border:0;font-size:100%;font:inherit;vertical-align:baseline;margin:0;padding:0}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}body{line-height:1}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:before,blockquote:after,q:before,q:after{content:none}table{border-collapse:collapse;border-spacing:0}
.clear{clear:both; width:100%; display:inline-block; height:0; visibility: hidden;}
/* begin css */
#megacontainer{
width: 100%;