Skip to content

Instantly share code, notes, and snippets.

View ndarville's full-sized avatar

N. Darville ndarville

  • Europe
View GitHub Profile
@ndarville
ndarville / README.md
Last active August 29, 2015 14:10
Journalister, der prioriterer kildesikkerhed

SecureDrop

PGP

Journalist Medie Public Key Kilde
Lotte Folke Information D7BE F0BB Twitter
@ndarville
ndarville / placeholder.csv
Last active August 29, 2015 14:10
CSV Files
We can make this file beautiful and searchable if this error is corrected: It looks like row 10 should actually have 4 columns, instead of 5. in line 9.
Year,Foo,Bar,Baz
2000,1231,231,121
2001,1121,4141,1231
2002,2121,222,111
2003,2121,231,3113
2004,2321,221,121
2005,5029,3302,223
2007,1214,1212,131
2008,12,121,4444
2009,2022,888,120,
@ndarville
ndarville / README.md
Last active August 29, 2015 14:10 — forked from mbostock/.block
Visualisering af statistisk usikkerhed i Megafon-måling 27/11-14

Illustreret er Megafons sensationelle meningsmåling, der ikke viser, at DF er større end V og S; det er der ikke statistisk belæg for, fordi usikkerheden er for høj.

Hver søjle er opdelt i to:

  • Den minimale (garanterede) stemmeandel.
  • Den maksimale (mulige) stemmeandel.

Som det fremgår af søjlen, kan ethvert af de tre partier være størst!

For at kunne sige (med 95% sandsynlighed) at DF er størst, skulle DFs nederste søjle—dén, der viser den garanterede stemmeandel—rage højere end den (maksimalt) mulige stemmeandel for de to andre partier; det er tydeligvis ikke tilfældet.

@ndarville
ndarville / README.md
Last active August 29, 2015 14:10
Meningsmålingstendenser op til 27/11-14

Kig på dén grafik og fortæl mig, at Megafon-målingen—markeret med store cirkler helt til højre—ikke afviger bare en lille smule fra den generelle tendens?

Velkommen til statistisk usikkerhed—især hvis man kun bruger 1095 respondenter ...

Fortsat diskussion fra denne illustration af usikkerheden i den seneste Megafon-måling.

@ndarville
ndarville / README.md
Last active August 29, 2015 14:10
Swedish Polls ’14–’15
@ndarville
ndarville / README.md
Last active August 29, 2015 14:13
World Map

(This chart is a part of the d3-charts collection available [here][collection].)


This chart lets you plot countries on a world map, either with a single colour or with a colour gradient mapping to corresponding values. You can see an example of the multicolour version [here][multicolour].

The chart displays the countries who were represented at the Paris rally January 11th 2015.

However, the chart returns an error for the following countries at present:

@ndarville
ndarville / README.md
Last active August 29, 2015 14:13
World Map (Multicolour)

(This chart is a part of the d3-charts collection available [here][collection].)


This is the multicolour version of the [World Map][block] chart. For more, visit its page.

The chart shows the number of patent filing logarithmically in the respective countries using data from [ok-dk][ok-dk].

The following countries have returned an error according to the log, as the data has not been fine-combed and sanitized:

@ndarville
ndarville / README.md
Last active August 29, 2015 14:13
People who sought asylum in Denmark in 2014

(This chart is a part of the d3-charts collection available [here][collection].)


A map of the 14,815 people who sought asylum in Denmark in 2014.

This chart is based on the data here.

The chart is by me, ndarville, @pessimism.

@ndarville
ndarville / FIXES.md
Last active August 29, 2015 14:19
HTTPS improvements
  1. Direct all traffic to HTTPS domain by default If you don’t have access to the web server, a temporary solution is to use your own variation of [the following code][konklone]:

    <script type="text/javascript">
        var host = "everydaysexism.com";  // edit this depending on the country subdomain (eg france.ev..., denmark.ev...
        if ((host == window.location.host) && (window.location.protocol != "https:"))
            window.location.protocol = "https";
    </script>
@ndarville
ndarville / ex.md
Last active August 29, 2015 14:20
En Markov-meningsmåling Viser

Konstruktion: (Bidel)?(Hoveddel)(Bidel)?

Bidel

  • Chokmåling:
  • Ny måling:
  • Måling:
  • ... i ny måling

Hoveddel