Skip to content

Instantly share code, notes, and snippets.

Jeffrey Warren jywarren

Block or report user

Report or block jywarren

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View application-precompiled-production.js
function myWindroseMarker(t){var e='<canvas id="id_''" width="50" height="50"></canvas>',i=L.divIcon({html:e,iconSize:[50,50],className:"owm-div-windrose"});return L.marker([t.coord.Lat,t.coord.Lon],{icon:i,clickable:!1})}function myWindroseDrawCanvas(t,e){var i=document.getElementById("id_";;var n=0,o=0,r=0;if("undefined"!=typeof t.wind&&("undefined"!=typeof t.wind.speed&&(i.title+=", "+t.wind.speed+" m/s",i.title+=", "+e._windMsToBft(t.wind.speed)+" BFT",o=t.wind.speed),"undefined"!=typeof t.wind.deg&&(i.title+=", "+e._directions[(t.wind.deg/22.5).toFixed(0)],n=t.wind.deg),"undefined"!=typeof t.wind.gust&&(r=t.wind.gust)),i.getContext&&o>0){var s=0,a=0;o<=10?(a=10*o+155,s=255*o/10):(s=255,a=255-255*(Math.min(o,21)-10)/11);var l=i.getContext("2d");l.translate(25,25),l.rotate(n*Math.PI/180),l.fillStyle="rgb("+Math.floor(s)+","+Math.floor(a)+",0)",l.beginPath(),l.moveTo(-15,-25),l.lineTo(0,-10),l.lineTo(15,-25),l.lineTo(0,25),l.fill(),r>0&&r!=o&&(r<=10?(a=10*r+155,s=255*r/10):(s=255,a
View application-precompiled.js
This file has been truncated, but you can view the full file.
/* @preserve
* Leaflet 1.5.1, a JS library for interactive maps.
* (c) 2010-2018 Vladimir Agafonkin, (c) 2010-2011 CloudMade
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
typeof define === 'function' && define.amd ? define(['exports'], factory) :
jywarren / hippocratic-license-adaptation.txt
Last active Jan 22, 2020
Hippocratic License adaptations - working doc -
View hippocratic-license-adaptation.txt
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
* The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
* No Harm: The software may not be used by anyone for systems or activities that actively and knowingly endanger, harm, or otherwise threaten the physical, mental, economic, or general well-being of other individuals or groups, in violation of the United Nations Universal Declaration of Human Rights (
* Services: If the Software is used to provide a service to
jywarren / plantowerPulse.ino
Last active Feb 4, 2020
View plantowerPulse.ino
int led = 10; // the PWM pin the LED is attached to
int brightness = 0; // how bright the LED is
int fadeAmount = 5; // how many points to fade the LED by
View flashing-error.log
/home/builder/opt/arduino-builder/arduino-builder -compile -core-api-version 10611 -hardware /home/builder/opt/arduino-builder/hardware -hardware /home/builder/.arduino15/packages -tools /home/builder/opt/arduino-builder/tools -tools /home/builder/.arduino15/packages -built-in-libraries /home/builder/opt/libraries/latest -logger humantags -fqbn arduino:avr:micro -build-cache /tmp -build-path /tmp/091402050/build -verbose -prefs -prefs -prefs -prefs -prefs -prefs
View email.html
Received: by 2002:adf:8bce:0:0:0:0:0 with SMTP id w14csp147635wra;
Tue, 7 Jan 2020 16:00:39 -0800 (PST)
X-Received: by 2002:a05:6830:1586:: with SMTP id i6mr530357otr.221.1578441639118;
Tue, 07 Jan 2020 16:00:39 -0800 (PST)
ARC-Seal: i=2; a=rsa-sha256; t=1578441639; cv=pass;; s=arc-20160816;
View gist:16f976c8bef0b1d22ba44484c8758e25
<font size=\"+1\">Stevie,<br>\r
Thanks for asking this of others.<br>\r
On 12/16/2019 8:59 AM,\r []( wrote:
> <meta http-equiv=\"content-type\" content=\"text/html; charset=UTF-8\">
> **[Are there simple tests for nitrates\r in well water?](**
View response.js
/**/_xdc_._71h5tp && _xdc_._71h5tp( {
"html_attributions" : [],
"result" : {
"address_components" : [
"long_name" : "Somerville",
"short_name" : "Somerville",
"types" : [ "locality", "political" ]
View stale.yml
# Configuration for probot-stale -
# General Configuration
# Label to use when marking as stale
staleLabel: stale
# Pull Request specific configuration
# Number of days of inactivity before an Issue or Pull Request becomes stale
daysUntilStale: 30
You can’t perform that action at this time.