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
<script> | |
console.log(Math.sin(1)); | |
setTimeout(function(){ | |
console.log(Math.sin(1)) | |
},2000); | |
</script> | |
Loaded <a href="https://gist.github.com/tsuckow/5963803">Gist</a> |
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
<link rel="import" href="../core-icon-button/core-icon-button.html"> | |
<link rel="import" href="../core-toolbar/core-toolbar.html"> | |
<link rel="import" href="../core-scroll-header-panel/core-scroll-header-panel.html"> | |
<polymer-element name="my-element"> | |
<template> | |
<style> | |
:host { | |
position: absolute; |
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
<a href="https://takeout.google.com/settings/takeout/custom/location_history">Get your location data from here</a>, don't forget to extract the .json file. | |
<br><br> | |
Lat: <input type="number" id="lat" value="46.2854826"> Lon: <input type="number" id="lon" value="-119.2767022"> | |
<br><br> | |
<script> | |
var lat = 46.2854826; | |
var lon = -119.2767022; | |
function distance(lat1, lon1, lat2, lon2, unit) { |
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
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Text; | |
using System.IO.Ports; | |
using System.IO; | |
namespace IPS.COM | |
{ | |
public class ComPort : IDisposable |