Skip to content

Instantly share code, notes, and snippets.

View karlwills's full-sized avatar

Karl Wills karlwills

  • Warrington, Cheshire
View GitHub Profile

Keybase proof

I hereby claim:

  • I am karlwills on github.
  • I am karlwills (https://keybase.io/karlwills) on keybase.
  • I have a public key ASDs7h6TwOMj1UaWkROYIucB4ZQeZWLS-qZt5gZN07-WrAo

To claim this, I am signing this object:

@karlwills
karlwills / cloudSettings
Last active September 6, 2021 09:13
Visual Studio Code Settings Sync Gist
{"lastUpload":"2021-09-06T09:13:17.974Z","extensionVersion":"v3.4.3"}
@karlwills
karlwills / sumallprimes.js
Created July 6, 2017 07:22
Sum all primes
/*
A prime number is defined as a number greater than one and having only two divisors,
one and itself. For example, 2 is a prime number because it's only divisible
by one and two.
*/
function getPrimes(max) {
var sieve = [];