Skip to content

Instantly share code, notes, and snippets.

Håvar Nøvik havarnov

Block or report user

Report or block havarnov

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View ikke_tilstedet.csv
navn parti totalt antall votering ikke tilstedet (%)
Abrahamsen, Solveig Sundbø Høyre 1496 0.5387700534759359
Agdestein, Elin Rodum Høyre 1483 0.5266351989211059
Almeland, Grunde Venstre 1483 0.32838840188806473
Amundsen, Per-Willy Fremskrittspartiet 1496 0.6136363636363636
Andersen, Dag Terje Arbeiderpartiet 1496 0.10628342245989304
Andersen, Karin Sosialistisk Venstreparti 1496 0.2867647058823529
Arnstad, Marit Senterpartiet 1449 0.47342995169082125
Asheim, Henrik Høyre 1496 0.37566844919786097
Aukrust, Åsmund Arbeiderpartiet 1435 0.13937282229965156
View minikube_orleans.sh
# minikube https://kubernetes.io/docs/setup/minikube/
# enable hyper-v
Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V -All
# install minikube https://github.com/kubernetes/minikube/releases
# create hyper-v
# url https://docs.microsoft.com/en-us/windows-server/virtualization/hyper-v/get-started/create-a-virtual-switch-for-hyper-v-virtual-machines
# named 'Primary Virtual Switch'
View resp.json
[
{
"relation": {
"guid": "a557b7f9-874f-e811-b091-40b034be34e4",
"source": "ba8711ab-ece6-4cfc-a173-c9e543e88ddf",
"target": "cf969ef2-1f6f-4c06-a27b-07c2aba5bfa8",
"label": "NetworkTopology"
},
"entity": {
"$type": "eSmart.Common.DataModel.BusinessObject.Asset.Asset, eSmart.Common.DataModel",
View cosmosdb.cs
// Here we find the Andersen family via its LastName
IQueryable<Family> familyQuery = this.client.CreateDocumentQuery<Family>(
UriFactory.CreateDocumentCollectionUri(databaseName, collectionName), queryOptions)
.Where(f => f.LastName == "Andersen");
View cosmosdb.json
// created with gremlin api
{
"label": "county",
"name": [
{
"_value": "Adams",
"id": "ea942714-a11c-4be2-ad51-7a8770f9671a"
}
],
"id": "Adams",
View undefined_bug.elm
module Main exposing (..)
import Html exposing (Html, div, button, text)
import Html.App exposing (beginnerProgram)
import Html.Events exposing (onClick)
main : Program Never
main =
beginnerProgram { model = init, view = view, update = update }
View bug.elm
import Html exposing (..)
import Html.App as App
import Html.Attributes exposing (..)
import Html.Events exposing (onClick)
import Json.Decode as Json exposing ((:=))
import Mouse exposing (Position)
main =
App.program
{ init = init
View rall.slide
Sample Presentation
10 Mar 2014
Tags: go golang
Satish Talim
Go Hobbyist
satish@joshsoftware.com
http://satishtalim.com/
@IndianGuru
View gist:a910b8b8d3e88d204e9a
<script type="text/javascript">

    var sessionData = {"logged_in":true,"eduPrincipalName":"aelev2@feide.no","organization":null};
    var domains = ["https:\/\/les-test1.unibok.no:7021","https:\/\/les-test1.unibok.no:7011","https:\/\/les-test2.unibok.no:7021","https:\/\/les-test2.unibok.no:7011","https:\/\/local.unibok.no:7011","file:\/\/"];

    sessionData = JSON.stringify(sessionData);
    var referrer = document.referrer;
    if(!referrer){
        referrer="file://";
You can’t perform that action at this time.