This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require "open-uri" | |
BASE_URL = "http://lorempixel.com" | |
WIDTH = 1920 | |
HEIGHT = 1080 | |
CATEGORIES = [ :abstract, :animals, :business, :cats, :city, :food, :nightlife, | |
:fashion, :people, :nature, :sports, :technics, :transport ] | |
CATEGORIES.each do |category| | |
url = [ BASE_URL, WIDTH, HEIGHT, category ].join "/" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
nb: | |
devise: | |
confirmations: | |
confirmed: "Din konto er nå aktivert." | |
send_instructions: "Du vil snart motta en e-post med instruksjoner for å aktivere din konto." | |
send_paranoid_instructions: "Hvis din e-postadresse eksisterer i vår database vil du snart motta en e-post med instruksjoner for å aktivere din konto." | |
failure: | |
already_authenticated: "Du er allerede logget inn." | |
inactive: "Din konto har ikke blitt aktivert." |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
nb: | |
active_admin: | |
dashboard: "Dashbord" | |
dashboard_welcome: | |
welcome: "Velkommen til Active Admin. Dette er dashbordet." | |
call_to_action: "Rediger 'app/admin/dashboard.rb' for å legge til elementer på dashbordet." | |
view: "Vis" | |
edit: "Rediger" | |
delete: "Slett" | |
delete_confirmation: "Er du sikker på at du vil slette denne?" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
nb: | |
formtastic: | |
'yes': "Ja" | |
'no': "Nei" | |
create: "Opprett %{model}" | |
update: "Oppdater %{model}" | |
submit: "Send inn %{model}" | |
cancel: "Avbryt %{model}" | |
reset: "Tilbakestill %{model}" | |
required: "påkrevd" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### Keybase proof | |
I hereby claim: | |
* I am sindrenm on github. | |
* I am sindrenm (https://keybase.io/sindrenm) on keybase. | |
* I have a public key whose fingerprint is D3E0 8C00 B007 EEE2 E5E5 CD5E C81C 44E8 193C 7A4E | |
To claim this, I am signing this object: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
java.lang.RuntimeException: java.lang.AssertionError | |
at com.intellij.openapi.application.impl.LaterInvocator.invokeAndWait(LaterInvocator.java:179) | |
at com.intellij.openapi.application.impl.ApplicationImpl.invokeAndWait(ApplicationImpl.java:731) | |
at com.android.tools.idea.ui.ApplicationUtils.invokeWriteActionAndWait(ApplicationUtils.java:39) | |
at com.android.tools.idea.welcome.wizard.InstallComponentsPath$SetPreference.apply(InstallComponentsPath.java:478) | |
at com.android.tools.idea.welcome.wizard.InstallComponentsPath$SetPreference.apply(InstallComponentsPath.java:467) | |
at com.android.tools.idea.welcome.install.InstallOperation$FunctionWrapper.perform(InstallOperation.java:177) | |
at com.android.tools.idea.welcome.install.InstallOperation.execute(InstallOperation.java:68) | |
at com.android.tools.idea.welcome.install.InstallOperation$OperationChain.perform(InstallOperation.java:151) | |
at com.android.tools.idea.welcome.install.InstallOperation.execute(InstallOperation.java:68) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<title>Web Components Test</title> | |
<script> | |
class ClickCounter extends HTMLElement { | |
constructor() { | |
super(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import rx.Observable | |
import rx.Subscription | |
import rx.subjects.PublishSubject | |
import rx.subjects.SerializedSubject | |
import rx.subscriptions.CompositeSubscription | |
object EventBus { | |
val bus = SerializedSubject(PublishSubject.create<Any>()) |