Skip to content

Instantly share code, notes, and snippets.

View Tynael's full-sized avatar
🎯
Focusing

Carol Pelu Tynael

🎯
Focusing
View GitHub Profile
@Tynael
Tynael / for-loop.js
Created May 3, 2021 08:40
Electron App For Loop
var a = 1;
for ( a = 1; a < 10; a ++) {
console.log('This is a for loop');
}
@Tynael
Tynael / div-example.html
Created May 3, 2021 08:42
Electron App Div Example
<div class="audio">
<audio id="A" src="sounds/A.mp3" preload="auto"></audio>
</div>
@Tynael
Tynael / functions.js
Created May 3, 2021 08:45
Functions.js
document.onkeydown = function(e) {
switch (e.keyCode) {
case 65:
document.getElementById('A').play();
break;
default:
console.log("Key is not found!");
}
};
@Tynael
Tynael / index.html
Created May 3, 2021 08:46
Audio elements
<audio id="B" src="sounds/B.mp3" preload="auto"></audio>
<audio id="C" src="sounds/C.mp3" preload="auto"></audio>
<audio id="D" src="sounds/D.mp3" preload="auto"></audio>
<audio id="E" src="sounds/E.mp3" preload="auto"></audio>
<audio id="F" src="sounds/F.mp3" preload="auto"></audio>
<audio id="G" src="sounds/G.mp3" preload="auto"></audio>
<audio id="H" src="sounds/H.mp3" preload="auto"></audio>
<audio id="I" src="sounds/I.mp3" preload="auto"></audio>
<audio id="J" src="sounds/J.mp3" preload="auto"></audio>
<audio id="K" src="sounds/K.mp3" preload="auto"></audio>
@Tynael
Tynael / functions.js
Created May 3, 2021 08:48
Functions.js
document.onkeydown = function(e) {
switch (e.keyCode) {
case 48:
document.getElementById('0').play();
break;
case 49:
document.getElementById('1').play();
break;
case 50:
document.getElementById('2').play();
@Tynael
Tynael / soothing-mist.lua
Last active May 3, 2021 09:06
Soothing Mist
#showtooltip
/cast Soothing Mist
@Tynael
Tynael / cobra-shot.lua
Created May 3, 2021 08:58
Cobra Shot Macro
/say Cobra Shot incoming, boys!
/cast Cobra Shot
/flex
@Tynael
Tynael / crackling-jade-soothing-mist.lua
Created May 3, 2021 09:00
Crackling Jade, Soothing Mist
#showtooltip
/cast [harm]Crackling Jade Lightning;Soothing Mist
@Tynael
Tynael / crackling-jade-soothing-mist-spinning-crane-kick.lua
Created May 3, 2021 09:01
Crackling Jade, Soothing Mist, Spinning Crane Kick
#showtooltip
/cast [harm,mod:ctrl]Spinning Crane Kick;[harm]Crackling Jade Lightning;Soothing Mist
@Tynael
Tynael / soothing-mists.lua
Created May 3, 2021 09:02
Soothing Mists
#showtooltip
/use Soothing Mist