I hereby claim:
- I am ghosttoast on github.
- I am ghosttoast (https://keybase.io/ghosttoast) on keybase.
- I have a public key ASBcHQS656ZVX8VFNSO8TOOSfUAx6pdoZHz5i1EvsXX2QQo
To claim this, I am signing this object:
<TaskerData sr="" dvi="1" tv="5.9.2"> | |
<Profile sr="prof6" ve="2"> | |
<cdate>1583089329361</cdate> | |
<edate>1583943323047</edate> | |
<flags>8</flags> | |
<id>6</id> | |
<mid0>4</mid0> | |
<nme>Darksky</nme> | |
<Time sr="con0"> | |
<fh>-1</fh> |
function getMoonPhase(year, month, day){ | |
var c = e = jd = b = 0; | |
if (month < 3) { | |
year--; | |
month += 12; | |
} | |
++month; | |
var c = 365.25 * year; | |
var e = 30.6 * month; | |
var jd = c + e + day - 694039.09; //jd is total days elapsed |
I hereby claim:
To claim this, I am signing this object:
Arduino: 1.8.8 (Linux), TD: 1.45, Board: "Teensy 3.6, Serial, 180 MHz, Faster, US English" | |
simpleneopixeldemo: In function 'void sendBit(bool)': | |
simpleneopixeldemo:68: error: '_SFR_IO_ADDR' was not declared in this scope | |
[port] "I" (_SFR_IO_ADDR(PIXEL_PORT)), | |
^ | |
simpleneopixeldemo:92: error: '_SFR_IO_ADDR' was not declared in this scope | |
[port] "I" (_SFR_IO_ADDR(PIXEL_PORT)), | |
^ | |
simpleneopixeldemo: In function 'void show()': |
<TaskerData sr="" dvi="1" tv="5.2.bf1"> | |
<Task sr="task5"> | |
<cdate>1534903890379</cdate> | |
<edate>1535060872098</edate> | |
<id>5</id> | |
<nme>DarkLight</nme> | |
<pri>100</pri> | |
<Action sr="act0" ve="7"> | |
<code>37</code> | |
<ConditionList sr="if"> |
function areBarnaclesMollusks() { | |
return false; | |
} |
<?php | |
/** | |
* Cache functions. | |
*/ | |
namespace SLC; | |
use PagelyCachePurge; | |
/** |
/** | |
* Convert hex to decimal, taking care of '#' and length, for comparing hex values | |
* | |
* @param $hex | |
* | |
* @return number | |
*/ | |
public function hex2dec( $hex ) { | |
if ( empty( $hex ) ) { | |
return $hex; |
<?php | |
/** | |
* Tint hex color by a percentage | |
* | |
* @param string $hex - #FFFFFF or #FFF | |
* @param int $percentage - Positive or negative | |
* | |
* @return string Returns modified $hex, lighter or darker | |
*/ | |
function hex_tint( $hex, $percentage=0 ) { |
<?php | |
$foo = 'foo'; | |
$bar = 'bar'; | |
$foobar = 'foobar'; | |
$string = ''; | |
$tests = array(); | |
for ($z = 0; $z<1000; $z++){ | |
$startTime = microtime(true); |