Skip to content

Instantly share code, notes, and snippets.

@bver
bver / both.yaml
Last active May 22, 2017 08:03
trying redoc
### GENERATED FILE. DO NOT EDIT THIS FILE, EDIT src/*.m4.yaml FILES INSTEAD ###
swagger: '2.0'
info:
title: Ytica API
description: |
Ytica API consists of two services: Identity and Speech Analytics.
Currently, Speech Analytics Services provides basic recording statistics and phrase spotting for a single audio recording.
@bver
bver / cs_CZ.diff
Created August 24, 2011 12:53
Czech language for minad/olelo.git
diff --git a/lib/olelo/locale.yml b/lib/olelo/locale.yml
index ef2b424..a438ecc 100644
--- a/lib/olelo/locale.yml
+++ b/lib/olelo/locale.yml
@@ -184,3 +184,101 @@ de:
version_conflict: 'Versionskonflikt aufgetreten'
wrong_user_or_pw: 'Falscher Benutzername oder falsches Passwort'
wrong_password: 'Falsches Passwort'
+cs_CZ:
+ access_denied: 'Přístup odepřen'
class Calculator::FreeShipping < Calculator
preference :threshold, :decimal, :default => 0
def available?(order)
order.item_total >= self.preferred_threshold
end
def self.description
I18n.t("free_shipping")
end
# eselect python list
Available Python interpreters:
[1] python2.7 *
[2] python3.1
# eselect editor list
Available targets for the EDITOR variable:
[1] /bin/nano
[2] /bin/ed
[3] /usr/bin/ex
[4] /usr/bin/vi
@bver
bver / devise.cs.yml
Created March 27, 2011 20:05
Czech translation for Devise
#
# Czech translation for Devise - config/locales/devise.cz.yml
# 'cs' locale by https://github.com/bver
# Feel free to correct my translation.
#
# Note: devise.failure.invalid was intentionally changed from "email" to "identity" -
# - not all configurations use config.authentication_keys = [ :email ]
#
# Additional translations at http://github.com/plataformatec/devise/wiki/I18n