Skip to content

Instantly share code, notes, and snippets.

Jacob E. Shore DewofyourYouth

View GitHub Profile
DewofyourYouth /
Created Nov 7, 2018
A scheduler for studying tractate Nazir
function onEdit(e) {
// Interact with Sheets App
var app = SpreadsheetApp;
// get current active sheet
var activeSheet = app.getActiveSpreadsheet().getActiveSheet();
// gets the amount of blatt in Nazir
var blattInNazir = activeSheet.getRange("B2").getValue();
// Log blattInNazir
Logger.log("There are " + blattInNazir + " blatt in Nazir");
DewofyourYouth / date_object_snippets.js
Created Nov 6, 2018
Some quick code snippets for tutorial on working with the JavaScript date object.
View date_object_snippets.js
//iterate date
var myDate = new Date();
var dateInMS = myDate.getTime();
// day in milliseconds = 1000 (milliseconds in a second) * 60 (seconds in a minute) * 60 (minutes in an hour) * 24 (hours in a day) = 86400000 (millseconds in a day)
// the getTime() method gets the time in milliseconds since January 1, 1970.
var tomorrow = new Date(datInMS + 86400000);
DewofyourYouth / index.html
Last active Oct 29, 2018
Time Calculator
View index.html
<!DOCTYPE html>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>JS Bin</title>
<input type="text" id="time">
<h1 id="display"></h1>
DewofyourYouth / index.html
Created Oct 18, 2018
Multiplication Table - Web School
View index.html
<div class="container">
<div class="row">
<div class="col-12">
<div id="multi-table"> </div>
View gematria-converter.markdown

Gematria Converter

Converts integers between 499 to gematria strings.

Part of an app I'm developing to keep track of your progress through Shas.

View 3-modal-youtube-videos.markdown

3 Modal YouTube Videos

A layout for 3 modal videos from YouTube, Uses Bootstrap4, jQuery and feather icons.

The YouTube videos stop playing when you close the modal.

A Pen by Yaakov Shore on CodePen.


View index.html
<div class="container">
<div class="row">
<div class="col-md-12">
<h1 class="text-primary">Event Videos</h1><br>
<div class="row">
<div class="col-md-4 event"><button type="button" class="gradient-css" role="button" data-toggle="modal" data-target="#myModal"><i data-feather="play-circle"></i> Play</button></div>
You can’t perform that action at this time.