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
<div id="city"> | |
<input type="text" class="typeahead" placeholder="Search for city"> | |
</div> |
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 lang="en"> | |
<head> | |
<title>Jewish Calendar</title> | |
<link href="hebcal-styles.css" rel="stylesheet"> | |
</head> | |
<body> | |
<div id="calendar"></div> | |
<script src="https://cdn.jsdelivr.net/npm/fullcalendar@6.1.9/index.global.min.js" integrity="sha384-wv6yRjQC0TqzEnAjFQVXM2V0JrF6Nk0dh6QAGf1RwzTqPArdwU3luBZjVCi2YSVH" crossorigin="anonymous"></script> | |
<script src="https://cdn.jsdelivr.net/npm/@popperjs/core@2.11.8/dist/umd/popper.min.js" integrity="sha384-I7E8VVD/ismYTF4hNIPjVp/Zjvgyol6VFvRkX/vR+Vc4jQkC+hVqc2pM8ODewa9r" crossorigin="anonymous"></script> |
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" charset="utf-8" | |
src="https://www.hebcal.com/etc/hdate-en.js"></script> |
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
{ | |
"title": "Hebcal São Paulo May 2015", | |
"date": "2020-12-14T22:41:48.008Z", | |
"location": { | |
"title": "São Paulo, Sao Paulo, Brazil", | |
"city": "São Paulo", | |
"tzid": "America/Sao_Paulo", | |
"latitude": -23.5475, | |
"longitude": -46.63611, | |
"cc": "BR", |
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
{ | |
"gy": 2011, | |
"gm": 6, | |
"gd": 2, | |
"hy": 5771, | |
"hm": "Iyyar", | |
"hd": 29, | |
"hebrew": "כ״ט בְּאִיָיר תשע״א", | |
"events": [ | |
"Parashat Nasso", |
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" charset="utf-8" | |
src="http://www.hebcal.com/hebcal/?v=1&cfg=e2&nh=on&nx=on&year=now&month=x&ss=on&mf=on"> | |
</script> | |
<script type="text/javascript" | |
src="http://www.hebcal.com/i/calendar-2.0-min.js"> | |
</script> | |
<link type="text/css" rel="stylesheet" | |
href="http://www.hebcal.com/i/jec-grey-min.css"> | |
<style type="text/css"> | |
#myCalendarContainer table { width: 800px } |
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
<form method="post" action="https://www.hebcal.com/yahrzeit"> | |
<input type="hidden" name="ref_url" value="http://www.tbala.org"> | |
<input type="hidden" name="ref_text" value="Temple Beth Am"> | |
<select name="t1" class="form-control"> | |
<option selected value="Yahrzeit">Yahrzeit</option> | |
<option value="Birthday">Birthday</option> | |
<option value="Anniversary">Anniversary</option> | |
<option value="Other">Other</option> | |
</select> | |
<div class="form-group"> |
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
{ | |
"title":"São Paulo, Brazil", | |
"date":"2015-02-20T19:37:54-00:00", | |
"link":"https://www.hebcal.com/shabbat?geonameid=3448439;m=50;c=on;maj=on;nx=on;geo=geoname", | |
"location":{ | |
"city":"São Paulo", | |
"longitude":-46.63611, | |
"title":"São Paulo, Brazil", | |
"geonameid":3448439, | |
"tzid":"America/Sao_Paulo", |
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
import org.apache.spark.rdd.RDD | |
def winsorize(data: RDD[Double], limits:(Double,Double)): RDD[Double] = { | |
val r = data.sortBy(x => x) | |
val c = r.count() | |
if (c <= 2) r | |
else { | |
val n0 = limits._1 * (c + 1d) | |
val n1 = limits._2 * (c + 1d) | |
val k0 = n0.toLong |
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
.hebcal-container { | |
font-family: "Gill Sans MT","Gill Sans",GillSans,Arial,Helvetica,sans-serif; | |
font-size: small; | |
} | |
.hebcal-container h3 { | |
font-family: Georgia,Palatino,"Times New Roman",Times,serif; | |
} | |
ul.hebcal-results { list-style-type:none } | |
ul.hebcal-results li { | |
margin-bottom: 11px; |
OlderNewer