Skip to content

Instantly share code, notes, and snippets.

  • Ta med
    • Tävling
      • Simning
        • Våtdräkt
        • Simglasögon
      • Cykel
        • Vattenflaskor
        • Kolsyrepatroner
        • Kolsyrepump
  • Cykelskor
ActionView::MissingTemplate: Missing template mobile/toplists/index, mobile/application/index, application/index with {:locale=>[:sv, :en], :formats=>[:html], :handlers=>[:erb, :builder, :raw, :ruby, :slim, :coffee, :arb, :haml, :rabl]}. Searched in: * "/opt/www/radiofy.se/releases/20140604094919/app/views" * "/opt/www/radiofy.se/shared/bundle/ruby/2.0.0/gems/twitter-bootstrap-rails-2.2.8/app/views" * "/opt/www/radiofy.se/shared/bundle/ruby/2.0.0/bundler/gems/active_admin-bca806aa816c/app/views" * "/opt/www/radiofy.se/shared/bundle/ruby/2.0.0/gems/devise-3.2.4/app/views" * "/opt/www/radiofy.se/shared/bundle/ruby/2.0.0/gems/bootstrap-kaminari-views-0.0.3/app/views" * "/opt/www/radiofy.se/shared/bundle/ruby/2.0.0/bundler/gems/kaminari-30215b19f1c5/app/views"
require "pp"
a = "A\s+(.+?)"
b = "[\n]+B\s+(.+?)"
c = "[\n]+C\s+(.+?)"
d = "[\n]+D\s+((?=E)[^E]+|[^\n]+)"
e = "[(?=[\n]+E\s+)[\n]+E\s+(.+?)\n]?"
pp File.read("ord.txt").scan(/(^\d{1,2})\.\s+(.+?(?=A\s+))#{a}#{b}#{c}#{d}#{e}/m).to_a
Handler/Comment.hs:25:29:
Couldn't match type `Text' with `Entity Post'
Expected type: Field (HandlerT App IO) (Entity Post)
Actual type: Field (HandlerT App IO) Text
In the first argument of `areq', namely `textField'
In the second argument of `(<$>)', namely
`areq textField "Post" (Just post)'
In the second argument of `(<*>)', namely
`(entityKey <$> areq textField "Post" (Just post))'
Handler/Comment.hs:25:29:
Couldn't match type `Text' with `Entity Post'
Expected type: Field (HandlerT App IO) (Entity Post)
Actual type: Field (HandlerT App IO) Text
In the first argument of `areq', namely `textField'
In the second argument of `(<$>)', namely
`areq textField "Post" (Just post)'
In the second argument of `(<*>)', namely
`(entityKey <$> areq textField "Post" (Just post))'
  • Google Maps
  • Sverigekarta
  • Cykling
    • 1102km
      • 276km
        • Umeå -> Sundsvall, 276km
      • 289km
        • Sundsvall -> Bollnäs, 169km
        • Bollnäs -> Falun, 120km
  • 184km
javac -classpath de /Users/linusoleander/Desktop/bac/ GatewayApplication.java
javac: invalid flag: /Users/linusoleander/Desktop/bac/
Usage: javac <options> <source files>
use -help for a list of possible options
javac -classpath /Users/linusoleander/Downloads/gateway/src/de/felixbruns de.felixbruns GatewayApplication.java
/System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home/bin/java -Dfile.encoding=MacRoman -classpath /Users/linusoleander/Desktop/jotify/src:/Users/linusoleander/Desktop/bac/src/json.jar de.felixbruns.jotify.gateway.GatewayApplication
SELECT * FROM cplaylists WHERE date >= CURDATE() and date < CURDATE()+INTERVAL 1 DAY