Skip to content

Instantly share code, notes, and snippets.

View Skoog's full-sized avatar

Patrik Skoog Skoog

  • Eskilstuna, Sweden
View GitHub Profile
@Skoog
Skoog / weekDate.js
Created March 12, 2012 10:56
ISO 8601 Week Date
/**
* Gets the real date for an ISO-8601 week-date
*
* @param year
* @param week
* @param day
*/
function getWeekDate(year, week, day) {
var date = new Date(+year, 0, 3); // Jan 3
date.setDate( 3 - date.getDay() + (week -1) * 7 + +day);
@Skoog
Skoog / keybase.md
Created May 14, 2014 12:00
keybase.md

Keybase proof

I hereby claim:

  • I am skoog on github.
  • I am skoog (https://keybase.io/skoog) on keybase.
  • I have a public key whose fingerprint is 6410 3DBA 1E4E 1E4D CBF2 14C6 F788 C62D 373F 7A69

To claim this, I am signing this object:

0.0.0.0 sportclient.888sport.com
0.0.0.0 www.888sport.se
0.0.0.0 888sport.se
0.0.0.0 www.unibet.se
0.0.0.0 se.unibet.com
0.0.0.0 eum.unibet.se
0.0.0.0 unibet.hs.llnwd.net
0.0.0.0 www.livesport.cz
0.0.0.0 stats.fn.sportradar.com
0.0.0.0 s5.sir.sportradar.com