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
<?xml version="1.0" encoding="UTF-8"?><gpx version="1.1" creator="GPS JoyStick - gpsjoystick@gmail.com - https://www.facebook.com/gpsjoystick"><rte><name>Playa De Las Canteras (Canary Island)</name><number>0</number><rtept lat="28.13570901174562" lon="-15.440106354653835"/><rtept lat="28.135690385315204" lon="-15.440107695758345"/><rtept lat="28.13598892000426" lon="-15.439819247320326"/><rtept lat="28.135987662664725" lon="-15.439372796907872"/><rtept lat="28.136185437648994" lon="-15.439031413278475"/><rtept lat="28.13663587044278" lon="-15.438251642747794"/><rtept lat="28.13664322821163" lon="-15.43797370469807"/><rtept lat="28.136979873067624" lon="-15.437673505301115"/><rtept lat="28.137702327455372" lon="-15.437021594958804"/><rtept lat="28.13843022091828" lon="-15.436878747046249"/><rtept lat="28.1387265239124" lon="-15.436605031416962"/><rtept lat="28.13931937715195" lon="-15.43643950889859"/><rtept lat="28.13990522840591" lon="-15.436103992809407"/><rtept lat="28.140637125783943" lon="-15.43570642238 |
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
<style type="text/css" media="print"> | |
* { display: none; } | |
</style> |
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
document.getElementById('myImage').setAttribute('draggable', false) |
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
function disableRightMouse(e){ | |
if((myevent.button==2)||(myevent.button==3)) return false; | |
} | |
document.addEventListener('contextmenu', event => event.preventDefault()) | |
document.onmousedown = disableRightMouse; | |
document.onmouseup = disableRightMouse; |
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
<template> | |
<audio | |
ref="audio" | |
src="/audio/magical.mp3" | |
preload="auto" | |
loop | |
@canplaythrough="audioLoaded" | |
> | |
<p>If you are reading this, it is because your browser does not support the audio element.</p> | |
</audio> |
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 class="no-js" lang="en"> | |
<head> | |
<meta charset="utf-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> | |
<title>Color Thief</title> | |
<meta name="description" content="Get the dominant color or color palette from an image."> | |
<meta name="author" content="Lokesh Dhakar"> |
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
version: '2.1' | |
volumes: | |
files: | |
driver: local | |
driver_opts: | |
type: 'none' | |
o: 'bind' | |
device: '/Users/duocnguyen/Tmp/owncloud-docker-server/files' | |
mysql: |
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
// interviewer: what will the following code output? | |
const arr = [10, 12, 15, 21]; | |
for (var i = 0; i < arr.length; i++) { | |
setTimeout(function() { | |
console.log('Index: ' + i + ', element: ' + arr[i]); | |
}, 3000); | |
} |