I hereby claim:
- I am Antiarchitect on github.
- I am antiarchitect (https://keybase.io/antiarchitect) on keybase.
- I have a public key whose fingerprint is 4F46 95F6 A181 72E9 FAC7 1C76 1462 D89E 01E7 7195
To claim this, I am signing this object:
VBoxManage --help | |
Oracle VM VirtualBox Command Line Management Interface Version 4.2.22 | |
(C) 2005-2014 Oracle Corporation | |
All rights reserved. | |
Usage: | |
VBoxManage [<general option>] <command> |
git checkout <last useful commit from bottom> | |
git checkout -b rescue | |
git merge master | |
git checkout master | |
git reset --hard <last useful commit from bottom> | |
git merge --interactive rescue |
class ApplicationController < ActionController::Base | |
... | |
private | |
def after_sign_in_path_for(resource) | |
if current_administrator && current_administrator.is_admin? | |
[:admin, :admins] | |
else | |
root_path |
I hereby claim:
To claim this, I am signing this object:
# Simple approach to sending email from the Rails console | |
# Implementation idea courtesy of Steve Klabnik | |
# http://blog.steveklabnik.com/posts/2012-09-09-random-ruby-tricks--class-new | |
# Create the mailer class with a block and assign to a variable | |
mailer = Class.new(ActionMailer::Base) do | |
def example_message | |
mail(to: "voronkovaa@gmail.com", from: "noreply@polarstern-staging.de", subject: "Example Message") do |format| | |
format.text { render text: "Example message body" } | |
end |
# Русский перевод для https://github.com/plataformatec/devise/tree/v1.4.7 | |
# Другие переводы на http://github.com/plataformatec/devise/wiki/I18n | |
ru: | |
errors: | |
messages: | |
expired: "устарела. Пожалуйста, запросите новую" | |
not_found: "не найдена" | |
already_confirmed: "уже подтверждена. Пожалуйста, попробуйте войти в систему" | |
not_locked: "не заблокирована" |
-- ------------ Write DROP-FOREIGN-KEY-CONSTRAINT-stage scripts ----------- | |
ALTER TABLE hawkbit.sp_action DROP CONSTRAINT fk_action_ds; | |
ALTER TABLE hawkbit.sp_action DROP CONSTRAINT fk_action_rollout; | |