Skip to content

Commit c322998

Browse files
committed
Removed Steph and Added kabshab
1 parent 2eb66e1 commit c322998

21 files changed

+450
-284
lines changed

Demo/Platformer/levels.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -293,7 +293,7 @@ TempLevel.push(new platform(-2, 620, 108, 48, 'floor'));
293293
TempLevel.push(new platform(106, 264, 48, 236, 'floor'));
294294
TempLevel.push(new platform(106, 188, 538, 40, 'floor'));
295295
TempLevel.push(new platform(586, 260, 70, 228, 'floor'));
296-
TempLevel.push(new platform(732, 668, 230, 72, 'floor'));
296+
TempLevel.push(new platform(732, 800, 230, 72, 'floor'));
297297
TempLevel.push(new circlePlatform(922, 392, 30, 'goal'));
298298
TempLevel.push(new platform(106, 228, 548, 34, 'death'));
299299
TempLevel.push(new platform(644, 188, 10, 44, 'death'));

a18cec60dc4e/Banner.jpg

-125 KB
Binary file not shown.

a18cec60dc4e/index.html

Lines changed: 50 additions & 118 deletions
Original file line numberDiff line numberDiff line change
@@ -1,129 +1,61 @@
11
<!DOCTYPE html>
2-
<html lang="en" dir="ltr">
3-
2+
<html lang="en">
43
<head>
5-
<meta charset="utf-8">
6-
<link rel="stylesheet" type="text/css" href="style.css">
7-
<title>Surgical Care WA</title>
4+
<meta charset="UTF-8">
85
<meta name="viewport" content="width=device-width, initial-scale=1.0">
9-
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.0-beta1/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-giJF6kkoqNQ00vy+HMDP7azOuL0xtbfIcaT9wjKHr8RbDVddVHyTfAAsrekwKmP1" crossorigin="anonymous">
10-
6+
<link rel="preconnect" href="https://fonts.googleapis.com">
7+
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
8+
<link href="https://fonts.googleapis.com/css2?family=Cousine&display=swap" rel="stylesheet">
9+
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.6.4/jquery.min.js"></script>
10+
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-9ndCyUaIbzAi2FUVXJi0CjmCapSmO7SnpJef0486qhLnuZ2cdeRhO02iuK6FUUVM" crossorigin="anonymous">
11+
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/js/bootstrap.min.js"></script>
12+
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.10.5/font/bootstrap-icons.css">
13+
<title>Kab Shab - Web</title>
14+
<style>
15+
pre, h1, h5 {
16+
font-family: 'Cousine', monospace;
17+
}
18+
pre {
19+
text-align: right;
20+
}
21+
h1 {
22+
word-break: break-all;
23+
}
24+
.margin {
25+
margin-top: 10vh;
26+
}
27+
#quantity {
28+
text-align: center;
29+
}
30+
.chord {
31+
color: #77dd77;
32+
}
33+
</style>
1134
</head>
12-
1335
<body>
14-
<div class="jumbotron">
15-
<br/>
16-
<br/>
17-
<img class="Logo" src="logo.webp">
18-
</div>
19-
<div class="SeperatorBackground">
20-
<div class="Row">
21-
<div class="SeperatorText">
22-
<h1>Our Doctors</h1>
36+
<div class="fixed-top jumbotron text-center">
37+
<h1>Kabalat Shabbat Songs</h1>
38+
<div class="col-lg-2 mx-auto">
39+
<div class="input-group">
40+
<span class="input-group-btn">
41+
<button type="button" class="quantity-left-minus btn btn-danger btn-number" data-type="minus" data-field="">
42+
<i class="bi-dash"></i>
43+
</button>
44+
</span>
45+
<input type="text" id="quantity" name="quantity" class="form-control input-number" value="0" min="-12" max="12">
46+
<span class="input-group-btn">
47+
<button type="button" class="quantity-right-plus btn btn-success btn-number" data-type="plus" data-field="">
48+
<i class="bi-plus"></i>
49+
</button>
50+
</span>
2351
</div>
2452
</div>
2553
</div>
26-
<div class="Row">
27-
<article>
28-
<img src="stephanie.jpg" height="445px">
29-
</article>
30-
<article class="Right">
31-
<h2>Stephanie Chetrit</h2>
32-
<h3>General and Colorectal Surgeon</h3>
33-
<h6>MBBS FRACS</h6>
34-
<p>Dr Stephanie Chetrit is an experienced general surgeon specialising in colorectal surgery, laparoscopic management of colorectal cancer, irritable bowel disease and pelvic floor conditions such as incontinence and obstructive defecation. She
35-
also performs general and acute care surgery.<br/><br/> Dr Chetrit completed her training locally and commenced working as a general surgeon at Royal Perth Hospital (RPH). She then relocated overseas for two years of further training in
36-
colorectal surgery.<br/><br/>
37-
</article>
38-
</div>
39-
40-
<div class="Row">
41-
<article>
42-
<h2>General Surgery</h2>
43-
<h3>Mount Lawley</h3>
44-
<p>
45-
<a href="https://www.google.com/maps/dir/current+location/Suite%2011A,%20St%20John%20of%20God%20Medical%20Centre,%20Ellesmere%20Road,%20Mount%20Lawley%20WA%206050">Suite 11A, St John of God Medical Centre, Ellesmere Road, Mount Lawley WA 6050</a>
46-
<ul style="color:#07477d;">
47-
<li>Phone: <a href="tel:+61-861-693-069">(08) 6169 3069</a></li>
48-
<li>Fax: <a href="tel:08-6500-9929">(08) 6500 9929</a></li>
49-
<li>Email: <a href="mailto:scgeneralsurgery@outlook.com">scgeneralsurgery@outlook.com</a></li>
50-
</ul>
51-
</p>
52-
<p><strong>Opening times:</strong></p>
53-
<ul class="removeBullets">
54-
<li>
55-
<span>Monday:</span>
56-
<span>9:30am - 1:30pm</span>
57-
</li>
58-
<li>
59-
<span>Tuesday:</span>
60-
<span>9:30am - 1:30pm</span>
61-
</li>
62-
<li>
63-
<span>Wednesday:</span>
64-
<span>9:30am - 1:30pm</span>
65-
</li>
66-
<li>
67-
<span>Thursday:</span>
68-
<span>9:30am - 1:30pm</span>
69-
</li>
70-
</ul>
71-
72-
</article>
73-
<article class="Right PC">
74-
<iframe src="https://maps.google.com/maps?q=St%20John%20of%20God%20Medical%20Centre,%20Ellesmere%20Road,%20Mount%20Lawley%20WA%206050&amp;t=&amp;z=16&amp;ie=UTF8&amp;iwloc=&amp;output=embed" scrolling="no" style="width: 445px; height: 445px;" frameborder="0"></iframe>
75-
</div>
76-
</article>
77-
</div>
78-
<div class="Row">
79-
<article>
80-
<h2>Subiaco Colorectal Service</h2>
81-
<h3>Subiaco</h3>
82-
83-
<p><a href="https://www.google.com/maps/dir/current+location/St John of God Hospital, Suite 212, 12 Salvado Road, SUBIACO, WA, 6008 ">St John of God Hospital, Suite 212, 12 Salvado Road, SUBIACO, WA, 6008 </a>
84-
<ul style="color:#07477d;">
85-
<li>Phone: <a href="tel:+61-893-824-577">(08) 9382 4577</a></li>
86-
<li>Fax: <a href="tel:08-9382-2460">(08) 9382 2460</a></li>
87-
<li>Email: <a href="mailto:cplatell@cyllene.uwa.edu.au ">cplatell@cyllene.uwa.edu.au </a></li>
88-
</ul>
89-
</p>
90-
<p><strong>Opening times:</strong></p>
91-
<ul class="removeBullets">
92-
<li>
93-
<span>Monday:</span>
94-
<span>9:00am - 5:00pm</span>
95-
</li>
96-
<li>
97-
<span>Tuesday:</span>
98-
<span>9:00am - 5:00pm</span>
99-
</li>
100-
<li>
101-
<span>Wednesday:</span>
102-
<span>9:00am - 5:00pm</span>
103-
</li>
104-
<li>
105-
<span>Thursday:</span>
106-
<span>9:00am - 5:00pm</span>
107-
</li>
108-
<li>
109-
<span>Friday:</span>
110-
<span>9:00am - 5:00pm</span>
111-
</li>
112-
</ul>
113-
114-
</article>
115-
<article class="Right PC">
116-
117-
<iframe src="https://maps.google.com/maps?q=St+John+of+God+Subiaco+Hospital&amp;t=&amp;z=16&amp;ie=UTF8&amp;iwloc=&amp;output=embed" scrolling="no" style="width: 445px; height: 445px;" frameborder="0"></iframe>
118-
</article>
54+
<div class="margin container">
55+
<div class="row">
56+
<div id="songlist"></div>
57+
</div>
11958
</div>
120-
<footer>
121-
<nav>
122-
<ul>
123-
<li style="height: 100%;"><a href="https://doctormod.sytes.net">Website By David Golding</a></li>
124-
</ul>
125-
</nav>
126-
</footer>
59+
<script src="load.js"></script>
12760
</body>
128-
12961
</html>

a18cec60dc4e/load.js

Lines changed: 119 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,119 @@
1+
function loadfile(filename,index) {
2+
console.log(`Loading ${filename}.`);
3+
var fileref = document.createElement('div');
4+
fetch(filename).then((res) => res.text()).then((song) => {
5+
fileref.innerHTML = prettify(song);
6+
songs[index] = fileref;
7+
console.log(`Loaded ${filename}.`);
8+
})
9+
.catch((e) => console.error(e));
10+
}
11+
12+
var chords = ["A#","A ","B ","C#","C ","D#","D ","E ","F#","F ","G#","G "];
13+
14+
function transpose() {
15+
chords.sort();
16+
var newtranspose = Number($('#quantity').val());
17+
modifyChords = chords.concat(chords).concat(chords);
18+
for (let i = 0; i < chords.length; i++) {
19+
currentLetter = document.getElementsByClassName(chords[i]);
20+
for (let j = 0; j < currentLetter.length; j++) {
21+
const element = currentLetter[j];
22+
element.innerText = modifyChords[i+12+newtranspose];
23+
}
24+
}
25+
}
26+
27+
function prettify(input) {
28+
29+
var songList = input.replace(/\[.*?\]/g, "").split(/\r?\n/).filter(n => n);
30+
31+
var songStart = -1;
32+
33+
for (let i = 0; i < songList.length; i++) {
34+
var element = songList[i] + " ";
35+
if (songStart == -1) {
36+
if (element == '<pre class="song"> ') {songStart = i - 1;}
37+
} else {
38+
if ((songStart - i) % 2 == 0) {
39+
for (let j = 0; j < chords.length; j++) {
40+
element = element.replaceAll(chords[j],`<span class='${chords[j]} chord'>${chords[j]}</span>`);
41+
}
42+
}
43+
}
44+
songList[i] = element;
45+
}
46+
47+
output = songList.join("<br/>");
48+
return output;
49+
}
50+
51+
var songs = []
52+
var songNames = [
53+
"niggun",
54+
"yedid",
55+
"mayamganim",
56+
"dodinetzeh",
57+
"kolainu",
58+
"arbaim",
59+
"yismechu",
60+
"yaaloz",
61+
"harim",
62+
"emek",
63+
"ayalah",
64+
"lechadodi1",
65+
"lechadodi2"
66+
];
67+
68+
for (let i = 0; i < songNames.length; i++) {
69+
loadfile(`songs/${songNames[i]}.html`,i);
70+
}
71+
72+
var startupLoop = setInterval(function() {
73+
if (songs.length == songNames.length) {
74+
songs.forEach(element => {
75+
document.getElementById('songlist').appendChild(element);
76+
});
77+
chords.sort();
78+
clearInterval(startupLoop);
79+
}
80+
},50);
81+
82+
83+
$(document).ready(function(){
84+
85+
var quantitiy=0;
86+
$('.quantity-right-plus').click(function(e){
87+
88+
// Stop acting like a button
89+
e.preventDefault();
90+
// Get the field name
91+
var quantity = parseInt($('#quantity').val());
92+
93+
// If is not undefined
94+
if(quantity<12){
95+
$('#quantity').val(quantity + 1);
96+
transpose();
97+
}
98+
// Increment
99+
100+
});
101+
102+
$('.quantity-left-minus').click(function(e){
103+
// Stop acting like a button
104+
e.preventDefault();
105+
// Get the field name
106+
var quantity = parseInt($('#quantity').val());
107+
108+
// If is not undefined
109+
110+
// Decrement
111+
if(quantity>-12){
112+
$('#quantity').val(quantity - 1);
113+
transpose();
114+
}
115+
});
116+
117+
$('#quantity').on("update",transpose);
118+
$('#quantity').val(0);
119+
});

a18cec60dc4e/logo.webp

-65.8 KB
Binary file not shown.

a18cec60dc4e/songs.md

Lines changed: 81 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,81 @@
1+
Niggun [✔️]
2+
ACDA
3+
4+
p.g. 2 [✔️]
5+
Yedid Nefesh - ידִיד נֶפֶשׁ
6+
ידִיד נֶפֶשׁ, אָב הָרַחֲמָן, מְשׁוְֹ עַבְדֶָ אֶל רְצוֹנָ יָרוּץ עַבְדֶָּ, כְְּמוֹ אַיָָּל, יִשְׁתַּחוֲֶֶה אֶל מוּל הדָרֶָ יֶעֱֱרַב לוֹ, יְדִידוֹתֶיָ, מִנּוֹפֶת צוּף וְכַל טָעַם
7+
הָדוּר נָאֶהֶ, זִיו הָעוֹלָםָ, נַפְשִִׁי חוֹלַת אהֲַבָתֶָ אָנָא אֵל נָא, רְפָא נָא לָהּ, בּהְַרְַאוֹת לָהָּ נוֹעַםַ זִיוֶָ אָז תִּתחְַזֵק, וְתִתְרַפֵֵּא, וְהָיְתָה לָהּ שִׂמְחַת עוֹלָם
8+
וָתִיק יהֱֶמֱוּ נָא, רַחֲמֶיָ, וְחוּסָהָ נָא עַל בֵּןֵ אֲהוּבֶָ כִּי זֶה כַּמָָּה, נִכְסוֹף נִכְסַפתְִּי, לִרְאוֹת בְּתִפְאֶרֶת עֻזֶָ אֵלּהֶ חָמְדָה לבִּי, וְחוּסָה נָא וְאַל תּתְִעַלָָּם
9+
הִגָּלֶה נָא וּפְרוֹס חֲבִיבִי עָלַי אֶתֶ סֻכַַּת שְׁלוֹמָ תָּאִיר אֶרֶץ מִכְּבוֹדֶָ נָגִילָה ונִשׂמְחָה בְָּ מַהֵר אֱֱהוּב כִּי בָא מוֹעֵד וְחָנֵנוּ כִּימֵי עוֹלָם
10+
11+
p.g. 5, 1st song [✔️]
12+
Mayam Ganim / Hinei Zebah - מעין גנים
13+
מעין גנים באר מים חיים ונזלים מן-לבנון
14+
הנה-זה בא
15+
16+
p.g. 5, 2nd song [✔️]
17+
Lecha Dodi Netzeh - לכה דודי נצא
18+
לכה דודי נצא השדה נלינה בכפרים
19+
נשכימה, לכרמים
20+
נראה אם-פרחה הגפן פתח הסמדר, הנצו
21+
הרמונים; שם אתן את-דדי, לך
22+
23+
p.g. 6, 2nd song [✔️]
24+
Koleinu Ya’aleh - קוֹלֵנוּ יָעֲלֶה
25+
מִקּוֹלוֹת מַיִם רַבִּים אדִַּירִים מִשְׁבְְּרֵי יָם, קוֹלֵנוּ יָעֲלֶה מַעֲלָה
26+
27+
p.g. 6, last song [✔️]
28+
Arba’im Shana - אַרְבָּעִים שׁנָה
29+
ארְַבּעִִָים שָׁנָהָ אָקוּט בְְּדוֹר וָאמַֹרַ עַםַ תּעֵֵֹי לֵבָב הֵם וְהֵם לֹא יָדְעוּדְרָכָי
30+
31+
p.g. 7, 1st song [✔️]
32+
Yismechu - יִשְׂמְחוּ
33+
יִשְׂמְחוּ הַשָּׁמַיִם, וְתָגֵל הָאָרֶץ יִרְעַם הַיָָּם, וּמְלוֹאוֹ
34+
35+
p.g. 7, 2nd song [✔️]
36+
Ya'aloz Sadai - יעלוז שדי
37+
יעלוז שדי, וכל-אשר-בו; אז ירננו, כל-עצי-יער
38+
39+
p.g. 7, 3rd song [✔️]
40+
Harim - הרים
41+
הרים כדונג נמסו מלפני יי
42+
מלפני אדון כל הארץ
43+
44+
p.g. 9 [✔️]
45+
Shir Ha’emek - שִִׁיר הַעֵמֶק
46+
בָּאָה מְנוּחָהָ לַיָּגעֵַ וּמרְַגּוֹעַ לעֶמֵֵָל
47+
לַיְלָהָ חוִֵּרֵ מִשׂתְּרֵָעַ עַל שְְׂדוֹת עמֵֶֶק יִזרְעֶאל טַל מִלּמְַטָָּה וּלְבָנָהָ מעֵַַל, מִבֵֵּית אַלְפָא עַד נהֲַלָל
48+
מַהַ, מַהַ לַּיְלָה מִלֵֵּיל? דּמְמָהָ בְּיִזרְעֶאל נוּמָה עמֵֶֶק, אֶרֶץ תִּפְאֶרֶת, אָנוּ לְָ מִשְׁמֶרֶת
49+
יָםָ הַדָּגָןָ מתְִנוֹעעֵַ, שִִׁיר העֵֵָדֶר מצְַלְצֵל זוֹהִי ארְַצִי ושְׂדוֹתֶיהָ, זֶהֶוּ עמֵֶֶק יִזְרְעֶאל
50+
תְּבֹרְַ אַרְצִי ותְִתְהַלַַּל, מִבֵֵּית אַלְפָא עַד נהֲַלָל
51+
אֹפֶל בּהְַרַ הַגִּלְבּוֹעַ, סוּס דּוֹהֵרֵ מצִֵֵּל אֶל צֵל קוֹל זעְָָקָה עָף גָּבוֹהַּ, מִשְְּׂדוֹת עֵמֶק יִזְרְעֶאל מִי יָרָה וּמִי זֶה שָם נָפַל. בֵֵּין בֵֵּית אַלְפָא וְנַהֲלָל
52+
53+
p.g. 10, 1st song [✔️]
54+
Ayala / Benakik - איילה
55+
בנקיק נסתר בצוקים איילה שותה מים מה לי ולה אלא צוקי ליב אלא מעין חיי אלא הנסתר איילה, מה לי ולה?
56+
איילה ?מה לי ולה .אלא אהבתי
57+
58+
p.g. 12 [✔️]
59+
Lecha Dodi - לְכָה דוֹדִי
60+
(Carlebach)
61+
לכְָָה דוֹדִי לִקְרַאת כַּלּהָ. פְּנֵי שׁבַּתָ נְקַבְּלָה
62+
שׁמָוֹר וְזָכוֹר בּדְִבּוּר אֶחָד, הִשְמִיעָֽֽנוּ אֵל המְַּיֻחָד ה' אחֶָָד וּשְמוֹ אחֶָָד. לְשׁםֵ וּלתְִפְאֽרֶֽת וְלתְִהִלּהָ
63+
לִקְרַאת שַׁבּתָ לְכְוּ וְנֵלכְָהָ. כִּי הִיא מְקוֹר הַבּרְָכָה
64+
מֵרֵֹאשׁ מִקּדֶֽם נסְוּכָהָ. סוֹף מעֲַשֶׂה בְּמחֲַשָׁבָהָ תְּחִלָּה
65+
מִקְדַּשׁ מֶֽלְֶ עִיר מְלוּכָהָ. קֽוּמִי צְאִי מתִּוְֹ ההֲַפכֵָהָ
66+
רַב לְָ שֶֽׁבֶת בְּעֵֽמֶק הַבָּכָא. וְהְוּא יחֲֲַמוֹל עָלַֽיְִ חמְֶלָה
67+
התְִנעֲַרֲִי מֵעָפָרָ קוּמִי. לִבְשִׁי בִּגְדֵי תִפְאַרְַתְֵּ עַמִּי עַל יַד בֶּן יִשַׁי בֵּית הַלַּחמְִִי. קָרְבָהָ אֶל נַפְשִׁי גְאָלָהָּ
68+
הִתְעוֹרְרִי הִתְעוֹרְרִי. כִּי בָא אוֹרְֵ קֽוּמִי אֽוֹרִי
69+
עֽוּרִי עֽוּרִי שִׁיר דַבּרִֵֽי. כּבְוֹד ה' עָלַֽיְִ נִגְלָה
70+
לֹא תֵבֽוֹשִׁי וְלֹא תכִָּלמְִִי. מַהַ תִּשְתּוֹחֲחִי וּמַהַ תֶּהמֱִִי בְָּ יֶחֱֱסוּ עֲנִיֵּי עמִַּי, וְנִבְנְתָה עִיר עַל תִּלּהָּ
71+
וְהָיוּ לִמְשׁסִּהָ שׁאֹסָֽיְִ. וְרָחֲֲקוּ כָּל מְבַלְּעָֽיְִ יָשִׂישׂ עָלַֽיְִ אֱלֹהָֽיְִ. כּמְִשׂוֹשׂ חָתָן עַל כַּלּהָ
72+
יָמִין וּשׂמְֹאל תִּפְרֽוֹצִי. וְאֶת־ה' תּעֲַרִֽיצִי
73+
עַל יַד אִישׁ בּןֶ פַּרְצִי. וְנִשׂמְחָה וְנָגִֽילָה
74+
בּֽוֹאִי בְשָׁלוֹם עֲטֶרֶת בּעְַלָהּ. גּםַ בְּשִׂמחְָָה וּבְצָהֳלָה תּוְֹ אֱמוּנֵי עַם סְגֻּלּהָ. בּֽוֹאִי כַלּהָ, בּֽוֹאִי כַלּהָ
75+
76+
p.g. 13, 1st song [ ]
77+
Leach Dodi - לְכָה דוֹדִי
78+
(Yoel)
79+
לכְָָה דוֹדִי לִקְרַאת כַּלּהָ. פְּנֵי שׁבַּתָ נְקַבְּלָה
80+
שׁמָוֹר וְזָכוֹר בּדְִבּוּר אֶחָד, הִשְמִיעָֽֽנוּ אֵל המְַּיֻחָד
81+
ה' אחֶָָד וּשְמוֹ אחֶָָד. לְשׁםֵ וּלתְִפְאֽרֶֽת וְלתְִהִלּהָ

0 commit comments

Comments
 (0)