Skip to content

Instantly share code, notes, and snippets.

Avatar
🤗
maybe

Olle Lundberg lndbrg

🤗
maybe
View GitHub Profile
View freeWallKiller.js
// ==UserScript==
// @name Aftonbladet Freewall killer
// @match *://*.aftonbladet.se/*
// @require http://ajax.googleapis.com/ajax/libs/jquery/2.1.0/jquery.min.js
// @require https://cdn.rawgit.com/BrockA/2625891/raw/9c97aa67ff9c5d56be34a55ad6c18a314e5eb548/waitForKeyElements.js
// @grant GM_addStyle
// ==/UserScript==
//- The @grant directive is needed to restore the proper sandbox.
['qVgIk'].forEach(function(cls) {
View keybase.md

Keybase proof

I hereby claim:

  • I am lndbrg on github.
  • I am lndbrg (https://keybase.io/lndbrg) on keybase.
  • I have a public key ASCArnWn9DlgxL7lrSdVVdErPUOcOVoHNjj1t5IS8QgpuQo

To claim this, I am signing this object:

View gist:1184717
for i in $(ghc-pkg check --simple-output); do ghc-pkg unregister $i; done
@lndbrg
lndbrg / gist:1184700
Created Aug 31, 2011
cabal install simple-output
View gist:1184700
cabal install $(ghc-pkg check --simple-output) --reinstall
@lndbrg
lndbrg / gist:1184692
Created Aug 31, 2011
cabal install uniq packs
View gist:1184692
cabal install $(uniq <( for i in $(ghc-pkg check 2>&1 | grep 'There are problems' | cut -d' ' -f6 ); do echo ${i%-*}; done)) --reinstall
@lndbrg
lndbrg / gist:1184673
Created Aug 31, 2011
uniq the packages
View gist:1184673
uniq <( for i in $(ghc-pkg check 2>&1 | grep 'There are problems' | cut -d' ' -f6 ); do echo ${i%-*}; done)
View gist:1184559
ghc-pkg check 2>&1 | grep 'There are problems' | cut -d' ' -f6
or
ghc-pkg check 2>&1 | awk '/There are problems/ { print $6 } '
@lndbrg
lndbrg / gist:1184550
Created Aug 31, 2011
ghc-pkg, there are problems.
View gist:1184550
ghc-pkg check 2>&1 | grep 'There are problems'
or for the awker:
ghc-pkg check 2>&1 | awk '/There are problems/'
@lndbrg
lndbrg / gist:1184246
Created Aug 31, 2011
Cabal install with --only-dependencies.
View gist:1184246
No packages to be installed.
All the requested packages are already installed.
If you want to reinstall anyway then use the --reinstall flag.
@lndbrg
lndbrg / gist:1184210
Created Aug 31, 2011
Error with simple-output
View gist:1184210
Resolving dependencies...
cabal: constraints conflict: top level constraint terminfo ==0.3.2.2 however
terminfo-0.3.2.2 was excluded because of the top level dependency terminfo
==0.3.1.3