Skip to content

RawGit is shutting down, replace it with jsDelivr #1

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion day-10/js/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ let idata = ctx.createImageData(canvas.width, canvas.height);
let buffer32 = new Uint32Array(idata.data.buffer);

let tape = new Howl({
src: ['https://cdn.rawgit.com/ManzDev/codevember2017/master/assets/tape-play.mp3?1']
src: ['https://cdn.jsdelivr.net/gh/ManzDev/codevember2017/assets/tape-play.mp3?1']
});

//let cursors = [];
Expand Down
2 changes: 1 addition & 1 deletion day-11/babel/index.babel
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ canvas.width = innerWidth * 2;
canvas.height = innerHeight;

let music = new Howl({
src: ['https://cdn.rawgit.com/ManzDev/codevember2017/master/assets/tron-by-mcklain.mp3?1']
src: ['https://cdn.jsdelivr.net/gh/ManzDev/codevember2017/assets/tron-by-mcklain.mp3?1']
}).play();

let gridY = {
Expand Down
2 changes: 1 addition & 1 deletion day-11/js/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ canvas.width = innerWidth * 2;
canvas.height = innerHeight;

var music = new Howl({
src: ['https://cdn.rawgit.com/ManzDev/codevember2017/master/assets/tron-by-mcklain.mp3?1']
src: ['https://cdn.jsdelivr.net/gh/ManzDev/codevember2017/assets/tron-by-mcklain.mp3?1']
}).play();

var gridY = {
Expand Down
2 changes: 1 addition & 1 deletion day-14/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ <h2>#Codevember</h2>

</div>

<audio autoplay src="https://rawgit.com/ManzDev/codevember2017/master/assets/space-odyseey-by-dj-otaking-333.mp3"></audio>
<audio autoplay src="https://cdn.jsdelivr.net/gh/ManzDev/codevember2017/assets/space-odyseey-by-dj-otaking-333.mp3"></audio>

<script src="js/index.js"></script>

Expand Down
2 changes: 1 addition & 1 deletion day-17/babel/index.babel
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ let music2 = new Howl({
})

let music = new Howl({
src: ['https://cdn.rawgit.com/ManzDev/codevember2017/master/assets/playing-power.mp3?3'],
src: ['https://cdn.jsdelivr.net/gh/ManzDev/codevember2017/assets/playing-power.mp3?3'],
onend: function() {
if (player.turbo)
music2.play();
Expand Down
2 changes: 1 addition & 1 deletion day-17/js/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ var music2 = new Howl({
});

var music = new Howl({
src: ['https://cdn.rawgit.com/ManzDev/codevember2017/master/assets/playing-power.mp3?3'],
src: ['https://cdn.jsdelivr.net/gh/ManzDev/codevember2017/assets/playing-power.mp3?3'],
onend: function onend() {
if (player.turbo) music2.play();else this.play();
}
Expand Down
2 changes: 1 addition & 1 deletion day-18/babel/index.babel
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ let motor = new Howl({
});

let startmotor = new Howl({
src: ['https://cdn.rawgit.com/ManzDev/codevember2017/master/assets/start-motor.mp3?4']
src: ['https://cdn.jsdelivr.net/gh/ManzDev/codevember2017/assets/start-motor.mp3?4']
});

setTimeout(function() { startmotor.play() }, 5000);
Expand Down
2 changes: 1 addition & 1 deletion day-18/js/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ var motor = new Howl({
});

var startmotor = new Howl({
src: ['https://cdn.rawgit.com/ManzDev/codevember2017/master/assets/start-motor.mp3?4']
src: ['https://cdn.jsdelivr.net/gh/ManzDev/codevember2017/assets/start-motor.mp3?4']
});

setTimeout(function () {
Expand Down
2 changes: 1 addition & 1 deletion day-19/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ <h2>#Codevember</h2>

</div>

<audio id="song" src="https://cdn.rawgit.com/ManzDev/codevember2017/master/assets/ocean-side-by-jjayberthume.mp3"></audio>
<audio id="song" src="https://cdn.jsdelivr.net/gh/ManzDev/codevember2017/assets/ocean-side-by-jjayberthume.mp3"></audio>

<script src="js/index.js"></script>

Expand Down
2 changes: 1 addition & 1 deletion day-2/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ <h2>#Codevember</h2>
</div>
</div>

<audio src="https://cdn.rawgit.com/ManzDev/codevember2017/04e3bd18/assets/still-alive-8-bits-by-michaelaker.mp3?raw=true" autoplay></audio>
<audio src="https://cdn.jsdelivr.net/gh/ManzDev/codevember2017@04e3bd18/assets/still-alive-8-bits-by-michaelaker.mp3?raw=true" autoplay></audio>


</body>
Expand Down
4 changes: 2 additions & 2 deletions day-22/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@ <h2>#Codevember</h2>
</div>

<audio autoplay>
<source src="https://cdn.rawgit.com/ManzDev/codevember2017/master/assets/futurama-by-plastiware.mp3">
<source src="https://cdn.rawgit.com/ManzDev/codevember2017/master/assets/futurama-by-plastiware.ogg">
<source src="https://cdn.jsdelivr.net/gh/ManzDev/codevember2017/assets/futurama-by-plastiware.mp3">
<source src="https://cdn.jsdelivr.net/gh/ManzDev/codevember2017/assets/futurama-by-plastiware.ogg">
</audio>

<script src="js/index.js"></script>
Expand Down
10 changes: 5 additions & 5 deletions day-23/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -126,8 +126,8 @@

<div class="third plant">
<div class="door">
<img class="cubeposter" src="https://cdn.rawgit.com/ManzDev/codevember2017/master/assets/cube-company.jpg"/>
<img class="wheatfield" src="https://cdn.rawgit.com/ManzDev/codevember2017/master/assets/wheatfield.jpg"/>
<img class="cubeposter" src="https://cdn.jsdelivr.net/gh/ManzDev/codevember2017/assets/cube-company.jpg"/>
<img class="wheatfield" src="https://cdn.jsdelivr.net/gh/ManzDev/codevember2017/assets/wheatfield.jpg"/>
</div>
<div class="upside">
<div class="light"></div>
Expand Down Expand Up @@ -170,16 +170,16 @@ <h2>#Codevember</h2>
</div>

<div class="first plant">
<img class="poster" src="https://cdn.rawgit.com/ManzDev/codevember2017/master/assets/cake-is-a-lie.png"/>
<img class="poster" src="https://cdn.jsdelivr.net/gh/ManzDev/codevember2017/assets/cake-is-a-lie.png"/>
<div class="elevator"></div>

<div class="floor"></div>
</div>
</div>

<audio autoplay>
<source src="https://cdn.rawgit.com/ManzDev/codevember2017/master/assets/portal2-cara-mia.mp3">
<source src="https://cdn.rawgit.com/ManzDev/codevember2017/master/assets/portal2-cara-mia.ogg">
<source src="https://cdn.jsdelivr.net/gh/ManzDev/codevember2017/assets/portal2-cara-mia.mp3">
<source src="https://cdn.jsdelivr.net/gh/ManzDev/codevember2017/assets/portal2-cara-mia.ogg">
</audio>

<script src="js/index.js"></script>
Expand Down
4 changes: 2 additions & 2 deletions day-24/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ <h2>#Codevember</h2>
</div>

<audio autoplay>
<source src="https://cdn.rawgit.com/ManzDev/codevember2017/master/assets/wonderful.mp3">
<source src="https://cdn.rawgit.com/ManzDev/codevember2017/master/assets/wonderful.ogg">
<source src="https://cdn.jsdelivr.net/gh/ManzDev/codevember2017/assets/wonderful.mp3">
<source src="https://cdn.jsdelivr.net/gh/ManzDev/codevember2017/assets/wonderful.ogg">
</audio>

<script src="js/index.js"></script>
Expand Down
4 changes: 2 additions & 2 deletions day-26/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@ <h2>#Codevember</h2>
</div>

<audio autoplay>
<source src="https://cdn.rawgit.com/ManzDev/codevember2017/master/assets/weather-girl-by-radix.mp3"/>
<source src="https://cdn.rawgit.com/ManzDev/codevember2017/master/assets/weather-girl-by-radix.ogg"/>
<source src="https://cdn.jsdelivr.net/gh/ManzDev/codevember2017/assets/weather-girl-by-radix.mp3"/>
<source src="https://cdn.jsdelivr.net/gh/ManzDev/codevember2017/assets/weather-girl-by-radix.ogg"/>
</audio>


Expand Down
4 changes: 2 additions & 2 deletions day-27/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@ <h2>#Codevember</h2>
</div>

<audio autoplay>
<source src="https://cdn.rawgit.com/ManzDev/codevember2017/master/assets/polka-by-rainbowdragoneyes.mp3"/>
<source src="https://cdn.rawgit.com/ManzDev/codevember2017/master/assets/polka-by-rainbowdragoneyes.ogg"/>
<source src="https://cdn.jsdelivr.net/gh/ManzDev/codevember2017/assets/polka-by-rainbowdragoneyes.mp3"/>
<source src="https://cdn.jsdelivr.net/gh/ManzDev/codevember2017/assets/polka-by-rainbowdragoneyes.ogg"/>
</audio>

<script src="js/index.js"></script>
Expand Down
4 changes: 2 additions & 2 deletions day-28/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@ <h2>#Codevember</h2>
</div>

<audio autoplay loop>
<source src="https://cdn.rawgit.com/ManzDev/codevember2017/master/assets/bonetrousle-tobyfox-by-bulby.mp3"/>
<source src="https://cdn.rawgit.com/ManzDev/codevember2017/master/assets/bonetrousle-tobyfox-by-bulby.ogg"/>
<source src="https://cdn.jsdelivr.net/gh/ManzDev/codevember2017/assets/bonetrousle-tobyfox-by-bulby.mp3"/>
<source src="https://cdn.jsdelivr.net/gh/ManzDev/codevember2017/assets/bonetrousle-tobyfox-by-bulby.ogg"/>
</audio>


Expand Down
2 changes: 1 addition & 1 deletion day-3/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ <h2>#Codevember</h2>

</div>

<audio src="https://cdn.rawgit.com/ManzDev/codevember2017/master/assets/ewof-sad-8-bits-by-finn-formiga.mp3" autoplay></audio>
<audio src="https://cdn.jsdelivr.net/gh/ManzDev/codevember2017/assets/ewof-sad-8-bits-by-finn-formiga.mp3" autoplay></audio>

<script src="js/index.js"></script>

Expand Down
8 changes: 4 additions & 4 deletions day-4/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,15 +28,15 @@ <h2>#Codevember</h2>
<div class="animated top top3 sprite"></div>
</div>
<div id="screen">
<img class="animated chest chest1 sprite" data-num="1" src="https://rawgit.com/ManzDev/codevember2017/master/assets/closed-chest.png">
<img class="animated chest chest2 sprite" data-num="2" src="https://rawgit.com/ManzDev/codevember2017/master/assets/closed-chest.png">
<img class="animated chest chest3 sprite" data-num="3" src="https://rawgit.com/ManzDev/codevember2017/master/assets/closed-chest.png">
<img class="animated chest chest1 sprite" data-num="1" src="https://cdn.jsdelivr.net/gh/ManzDev/codevember2017/assets/closed-chest.png">
<img class="animated chest chest2 sprite" data-num="2" src="https://cdn.jsdelivr.net/gh/ManzDev/codevember2017/assets/closed-chest.png">
<img class="animated chest chest3 sprite" data-num="3" src="https://cdn.jsdelivr.net/gh/ManzDev/codevember2017/assets/closed-chest.png">
</div>

</div>


<audio id="song" src="https://cdn.rawgit.com/ManzDev/codevember2017/master/assets/hylian-lemon-by-willrock-and-damonz.mp3" autoplay></audio>
<audio id="song" src="https://cdn.jsdelivr.net/gh/ManzDev/codevember2017/assets/hylian-lemon-by-willrock-and-damonz.mp3" autoplay></audio>
<script src='https://cdnjs.cloudflare.com/ajax/libs/three.js/84/three.min.js'></script>

<script src="js/index.js"></script>
Expand Down
4 changes: 2 additions & 2 deletions day-6/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,12 @@ <h2>Tasks</h2>
</div>

<div id="screen">
<img id="god" class="float" src="https://rawgit.com/ManzDev/codevember2017/master/assets/god-eye.png">
<img id="god" class="float" src="https://cdn.jsdelivr.net/gh/ManzDev/codevember2017/assets/god-eye.png">
<canvas id="rain"></canvas>
<svg id="cloud" viewBox="0 0 47.6 27.3">
<path d="M19.4 0a8.3 8.3 0 0 0-8.2 7 8.3 8.3 0 0 0-3-.4A8.3 8.3 0 0 0 0 15a8.3 8.3 0 0 0 8.3 8.3 8.3 8.3 0 0 0 1 0 8.3 8.3 0 0 0 7.2 4 8.3 8.3 0 0 0 6-2.7 8.3 8.3 0 0 0 6.2 2.7 8.3 8.3 0 0 0 7-3.8 8.3 8.3 0 0 0 3.6.8 8.3 8.3 0 0 0 8.3-8.3 8.3 8.3 0 0 0-8.3-8.3A8.3 8.3 0 0 0 31 .5a8.3 8.3 0 0 0-5.5 2.2 8.3 8.3 0 0 0-6-2.7z"/>
</svg>
<img id="man" src="https://rawgit.com/ManzDev/codevember2017/master/assets/man.png">
<img id="man" src="https://cdn.jsdelivr.net/gh/ManzDev/codevember2017/assets/man.png">
</div>

</div>
Expand Down
4 changes: 2 additions & 2 deletions day-7/babel/index.babel
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ let phase = 0;
let daysWeek = ['mon', 'tue', 'wed', 'thu', 'fri', 'sat', 'sun', 'monreboot'];
let currentMusic = 0;
let music = [new Howl({
src: ['https://rawgit.com/ManzDev/codevember2017/master/assets/skogens-djur-1.mp3?1'],
src: ['https://cdn.jsdelivr.net/gh/ManzDev/codevember2017/assets/skogens-djur-1.mp3?1'],
onend: checkMusic.bind()
}), new Howl({
src: ['https://rawgit.com/ManzDev/codevember2017/master/assets/skogens-djur-2.mp3?1'],
src: ['https://cdn.jsdelivr.net/gh/ManzDev/codevember2017/assets/skogens-djur-2.mp3?1'],
onend: checkMusic.bind()
})];

Expand Down
4 changes: 2 additions & 2 deletions day-7/js/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ var phase = 0;
var daysWeek = ['mon', 'tue', 'wed', 'thu', 'fri', 'sat', 'sun', 'monreboot'];
var currentMusic = 0;
var music = [new Howl({
src: ['https://rawgit.com/ManzDev/codevember2017/master/assets/skogens-djur-1.mp3?1'],
src: ['https://cdn.jsdelivr.net/gh/ManzDev/codevember2017/assets/skogens-djur-1.mp3?1'],
onend: checkMusic.bind()
}), new Howl({
src: ['https://rawgit.com/ManzDev/codevember2017/master/assets/skogens-djur-2.mp3?1'],
src: ['https://cdn.jsdelivr.net/gh/ManzDev/codevember2017/assets/skogens-djur-2.mp3?1'],
onend: checkMusic.bind()
})];

Expand Down
8 changes: 4 additions & 4 deletions day-8/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ <h2>#Codevember</h2>
<div class="refrigerator">
<div class="text">Schrödinger's Fridge</div>
</div>
<img id="cat" src="https://rawgit.com/ManzDev/codevember2017/master/assets/cat.png" alt="A wild cat!">
<img id="cat" src="https://cdn.jsdelivr.net/gh/ManzDev/codevember2017/assets/cat.png" alt="A wild cat!">
</div>

<svg id="bulb" viewBox="0 0 70 106">
Expand All @@ -49,8 +49,8 @@ <h2>#Codevember</h2>
<div class="question">❓❓</div>

<div id="chalk">
<img class="img1" src="https://rawgit.com/ManzDev/codevember2017/master/assets/chalk-fridge-1.png">
<img class="img2" src="https://rawgit.com/ManzDev/codevember2017/master/assets/chalk-fridge-2.png">
<img class="img1" src="https://cdn.jsdelivr.net/gh/ManzDev/codevember2017/assets/chalk-fridge-1.png">
<img class="img2" src="https://cdn.jsdelivr.net/gh/ManzDev/codevember2017/assets/chalk-fridge-2.png">
</div>

</div>
Expand All @@ -59,7 +59,7 @@ <h2>#Codevember</h2>

<!--iframe-- width="100%" height="300" style="display:none" src="https://w.soundcloud.com/player/?url=https%3A//api.soundcloud.com/tracks/235812203&amp;color=%23ff5500&amp;auto_play=true&amp;hide_related=false&amp;show_comments=true&amp;show_user=true&amp;show_reposts=false&amp;show_teaser=true&amp;visual=true"></iframe-->

<audio src="https://rawgit.com/ManzDev/codevember2017/master/assets/spookcat.mp3" autoplay></audio>
<audio src="https://cdn.jsdelivr.net/gh/ManzDev/codevember2017/assets/spookcat.mp3" autoplay></audio>


</body>
Expand Down
4 changes: 2 additions & 2 deletions day-9/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ <h2>#Codevember</h2>

<div id="screen">
<div id="factory"></div>
<img class="fries" src="https://rawgit.com/ManzDev/codevember2017/master/assets/french-fries-empty.png">
<img class="fonly" src="https://rawgit.com/ManzDev/codevember2017/master/assets/french-fries-only.png">
<img class="fries" src="https://cdn.jsdelivr.net/gh/ManzDev/codevember2017/assets/french-fries-empty.png">
<img class="fonly" src="https://cdn.jsdelivr.net/gh/ManzDev/codevember2017/assets/french-fries-only.png">

<div id="band">
<div class="wheel"></div>
Expand Down
4 changes: 2 additions & 2 deletions extra-day/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ a { text-decoration:none }
.back {
width:100%;
height:250px;
background:url(https://cdn.rawgit.com/ManzDev/codevember2017/master/assets/background.png?5) center repeat-x;
background:url(https://cdn.jsdelivr.net/gh/ManzDev/codevember2017/assets/background.png?5) center repeat-x;
position:absolute;
bottom:0;
display:-webkit-box;
Expand Down Expand Up @@ -150,7 +150,7 @@ a { text-decoration:none }
}

.codepen {
background:url(https://cdn.rawgit.com/ManzDev/codevember2017/master/assets/codepen-guy.png?2);
background:url(https://cdn.jsdelivr.net/gh/ManzDev/codevember2017/assets/codepen-guy.png?2);
background-size:128px 256px;
width:128px;
height:128px;
Expand Down