Skip to content

Instantly share code, notes, and snippets.

View viddo's full-sized avatar
🐙
busy

Nicklas Gummesson viddo

🐙
busy
View GitHub Profile

Keybase proof

I hereby claim:

  • I am viddo on github.
  • I am viddo (https://keybase.io/viddo) on keybase.
  • I have a public key whose fingerprint is 2DA0 D1C6 8BFE 46EF 16FA EC35 5788 5191 8849 C623

To claim this, I am signing this object:

@viddo
viddo / index.html
Created October 29, 2014 16:08
sveriges radio ex
<html>
<head>
<link rel="stylesheet" href="http://libs.cartocdn.com/cartodb.js/v3/themes/css/cartodb.css"/>
<script src="http://libs.cartocdn.com/cartodb.js/v3/cartodb.js"></script>
<!--[if lte IE 8]>
<link rel="stylesheet" href="http://libs.cartocdn.com/cartodb.js/v3/themes/css/cartodb.ie.css"/>
<![endif]-->
<style>
html, body {
@viddo
viddo / teaspoon-err-rails4.patch
Created October 22, 2013 17:00
Gist to troubleshoot https://github.com/modeset/teaspoon/issues/120#issuecomment-26818114 Patch to be applied on a fresh Rails 4 project. teaspoon gem is pointing to a local checkout of the repo at rev https://github.com/modeset/teaspoon/tree/b5baaf387f87537bda64f2894563ab2d7ef9807b
diff --git a/Gemfile b/Gemfile
index 30d54d4..5461168 100644
--- a/Gemfile
+++ b/Gemfile
@@ -43,3 +43,13 @@ end
# Use debugger
# gem 'debugger', group: [:development, :test]
+
+# Get some nice better errors on development
@viddo
viddo / jasmine_config.rb
Created October 16, 2012 16:47
Allow custom rack build on top of jasmine-gem
# Custom jasmine config based to allow Sprockets assets (+ CoffeeScript) when writing tests on a Sinatra stack.
#
# Based heisters gist and patch which was for version 1.2.0
# https://gist.github.com/1695818
# https://github.com/heisters/jasmine-gem/commit/15277ed7885a5d08ab84d2a4a2417e0d22564c07
# Simply did a small port of this to the latest version of Jasmine.
#
# For the custom rack build to work you have to setup the gem to use the patched version to work correctly.
# E.g. using bundler put this in your Gemfile:
# gem 'jasmine', :git => 'https://github.com/viddo/jasmine-gem.git'