I hereby claim:
- I am andrewrjones on github.
- I am andrewjones (https://keybase.io/andrewjones) on keybase.
- I have a public key ASDFYw4PV2enzzFXZgGUXzKdulxZADoDS59h3k1FWdz1Ego
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
Hi, | |
My step points are not automatically being uploaded from my Apple Watch. My workouts are, and the Vitality watch app shows my steps, but the steps are not being uploaded, and never have been. | |
Please find attached my step data and add my missing points. The screenshots were taken following these steps: | |
- Open Apple Health app | |
- Click on 'Activity' |
version: '2' | |
services: | |
zookeeper: | |
image: debezium/zookeeper:${DEBEZIUM_VERSION} | |
ports: | |
- 2181:2181 | |
- 2888:2888 | |
- 3888:3888 | |
kafka: | |
image: debezium/kafka:${DEBEZIUM_VERSION} |
#!perl | |
# | |
# See http://andrew-jones.com/blog/prevent-other-sites-from-serving-your-assets-with-nginx/ | |
use strict; | |
use warnings; | |
use URI::Split qw(uri_split); | |
use Data::Dumper; | |
use Email::MIME; |
#!perl | |
# keep doing something until we catch an INT signal (Ctrl + C) | |
use strict; | |
use warnings; | |
my $running = 1; | |
$SIG{INT} = sub { $running = 0 }; |
<!-- perltidy executable --> | |
<condition property="perltidy.exe" value="perltidy.bat"> | |
<os family="windows" /> | |
</condition> | |
<condition property="perltidy.exe" value="perltidy"> | |
<os family="unix" /> | |
</condition> | |
<fail unless="perltidy.exe">No perltidy executable defined for this OS</fail> | |
<target name="perl:tidy" description="Tidies the Perl code" depends=""> |
#!/usr/bin/php | |
<?php | |
/* | |
This script takes all the short URL's in the YOURLs database and generates | |
an nginx config file containing the correct redirects. | |
Use if you want to migrate away from YOURLs and use nginx to ensure the links | |
continue to work. |
#!perl | |
use v5.10.1; | |
use strict; | |
use warnings; | |
use Getopt::Long; | |
use Storable qw(store retrieve); |
sub slurp_from_file { | |
my ( $self, $file ) = @_; | |
return do { | |
local $/ = undef; | |
open my $fh, "<", $file | |
or die "could not open $file: $!"; | |
my $doc = <$fh>; | |
# ensure there are no carriage returns |
using System.Web; | |
namespace AndrewJones | |
{ | |
/// <summary> | |
/// Factory method to allow us to mock HttpContext when testing | |
/// </summary> | |
public static class HttpContextFactory | |
{ | |
private static HttpContextBase mockHttpContext; |