Skip to content

Instantly share code, notes, and snippets.

Avatar

Håkon Rossebø hakonrossebo

View GitHub Profile
View RxPubSub.cs
// Copy of sourcefile from book
// https://github.com/rikace/fConcBook/blob/master/Chapter.06/TwitterEmotionAnalysis.cs/RxPubSub.cs
// Concurrency in .NET
// https://www.manning.com/books/concurrency-in-dotnet
using System;
using System.Collections.Generic;
using System.Reactive.Concurrency;
using System.Reactive.Linq;
using System.Reactive.Subjects;
@hakonrossebo
hakonrossebo / GitCheat.md
Last active Feb 17, 2018
Git commands and config
View GitCheat.md

Pull requests

git remote add  upstream xyz.git
git fetch upstream
git branch --set-upstream-to=upstream/master master
  eller: git checkout -b test origin/test
  eller: git checkout --track -b newFeature upstream/master
git merge upstream/master 
eller
View keybase.md

Keybase proof

I hereby claim:

  • I am hakonrossebo on github.
  • I am hakonrossebo (https://keybase.io/hakonrossebo) on keybase.
  • I have a public key whose fingerprint is 447C B687 BE46 26CC DF31 C7ED F317 0496 7C97 D1F5

To claim this, I am signing this object:

@hakonrossebo
hakonrossebo / NDC2011VideoRenamer.rb
Created Aug 30, 2011
Ruby script to rename the NDC2011 torrent files to also show the title (old was "Track3 1020-1120
View NDC2011VideoRenamer.rb
#Script to correct NDC video file naming (ie:Track3 1140-1240.mp4 to the correct title)
#This script will parse a specific xml file and rename the NDC2011 videos according to the information in the xml file
#Copy xml text from here: https://gist.github.com/1034721 (thanks to GitHub user dauger)
require 'rexml/document'
require 'pathname'
require 'find'
class NDCSession