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
Dec 30 03:10:42 temple sshd[28584]: pam_unix(sshd:auth): authentication failure; logname= uid=0 euid=0 tty=ssh ruser= rhost=211.109.1.231 | |
Dec 30 03:10:44 temple sshd[28584]: Failed password for invalid user admin from 211.109.1.231 port 59439 ssh2 | |
Dec 30 03:10:44 temple sshd[28584]: Received disconnect from 211.109.1.231: 11: Bye Bye [preauth] | |
Dec 30 03:14:24 temple sshd[28612]: Invalid user david from 104.40.152.72 | |
Dec 30 03:14:24 temple sshd[28612]: input_userauth_request: invalid user david [preauth] | |
Dec 30 03:14:24 temple sshd[28612]: pam_unix(sshd:auth): check pass; user unknown | |
Dec 30 03:14:24 temple sshd[28612]: pam_unix(sshd:auth): authentication failure; logname= uid=0 euid=0 tty=ssh ruser= rhost=104.40.152.72 | |
Dec 30 03:14:27 temple sshd[28612]: Failed password for invalid user david from 104.40.152.72 port 1032 ssh2 | |
Dec 30 03:14:27 temple sshd[28612]: Connection closed by 104.40.152.72 [preauth] | |
Dec 30 03:15:06 temple sshd[28622]: Authentication refused: bad ownership or modes for directory /home/ba |
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
OpenSSH_6.6.1, OpenSSL 1.0.1f 6 Jan 2014 | |
debug1: Reading configuration data /etc/ssh/ssh_config | |
debug1: /etc/ssh/ssh_config line 19: Applying options for * | |
debug2: ssh_connect: needpriv 0 | |
debug1: Connecting to temple [104.131.201.9] port 22. | |
debug1: Connection established. | |
debug3: Incorrect RSA1 identifier | |
debug3: Could not load "/home/marcele/.ssh/id_rsa" as a RSA1 public key | |
debug1: identity file /home/marcele/.ssh/id_rsa type 1 | |
debug1: identity file /home/marcele/.ssh/id_rsa-cert type -1 |
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
= javascript_tag('admin') if ??? |
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
@app.directive "uiPagination", -> | |
restrict: "EA" | |
replace: true | |
templateUrl: "<%= asset_path "pagination" %>" | |
scope: | |
cur: "=" | |
total: "=" | |
display: "@" | |
onset: '&' |
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
@app.directive "uiPagination", -> | |
restrict: "EA" | |
replace: true | |
templateUrl: "<%= asset_path "pagination" %>" | |
scope: | |
cur: "=" | |
total: "=" | |
display: "@" | |
link: (scope, element, attrs) -> |
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
/home/marcele/.rvm/gems/ruby-2.1.2@global/gems/bundler-1.6.2/lib/bundler/runtime.rb:76:in `require': no implicit conversion of Symbol into String (TypeError) | |
from /home/marcele/.rvm/gems/ruby-2.1.2@global/gems/bundler-1.6.2/lib/bundler/runtime.rb:76:in `block (2 levels) in require' | |
from /home/marcele/.rvm/gems/ruby-2.1.2@global/gems/bundler-1.6.2/lib/bundler/runtime.rb:72:in `each' | |
from /home/marcele/.rvm/gems/ruby-2.1.2@global/gems/bundler-1.6.2/lib/bundler/runtime.rb:72:in `block in require' | |
from /home/marcele/.rvm/gems/ruby-2.1.2@global/gems/bundler-1.6.2/lib/bundler/runtime.rb:61:in `each' | |
from /home/marcele/.rvm/gems/ruby-2.1.2@global/gems/bundler-1.6.2/lib/bundler/runtime.rb:61:in `require' | |
from /home/marcele/.rvm/gems/ruby-2.1.2@global/gems/bundler-1.6.2/lib/bundler.rb:132:in `require' | |
from /home/marcele/www/eveice/config/application.rb:14:in `<top (required)>' | |
from /home/marcele/.rvm/gems/ruby-2.1.2@eveice/gems/railties-4.1.4/lib/rails/commands/commands_tasks.rb:146:in `require' | |
from /home/ma |
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
{ | |
"text"=> | |
"Praesent sagittis ligula tortor, quis [b]pulvinar lectus[/b] condimentum vitae. Praesent id mattis orci. Donec gravida eros in neque ullamcorper blandit. Nulla mollis metus in mi rhoncus egestas id a diam. In arcu elit, tempor sed mi vel, iaculis accumsan nisi. Nullam adipiscing mattis orci, sit amet cursus diam tincidunt adipiscing. Nunc nec felis tincidunt, pulvinar eros sed, dictum urna. Integer bibendum purus mollis massa ultricies suscipit. Vivamus suscipit, libero sit amet venenatis feugiat, dui arcu mattis mi, vitae hendrerit lacus felis in dui. Suspendisse quis euismod tortor.", | |
"char_id"=>1, | |
"user_id"=>current_user.id, | |
"ip"=>request.remote_ip, | |
"topic_id"=>params[:id] | |
} |
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
{ | |
"forum_id"=>"19", | |
"topic_id"=>"1", | |
"id"=>"1", | |
"post"=> | |
{ | |
"id"=>1, | |
"text"=> | |
"Praesent sagittis ligula tortor, quis [b]pulvinar lectus[/b] condimentum vitae. Praesent id mattis orci. Donec gravida eros in neque ullamcorper blandit. Nulla mollis metus in mi rhoncus egestas id a diam. In arcu elit, tempor sed mi vel, iaculis accumsan nisi. Nullam adipiscing mattis orci, sit amet cursus diam tincidunt adipiscing. Nunc nec felis tincidunt, pulvinar eros sed, dictum urna. Integer bibendum purus mollis massa ultricies suscipit. Vivamus suscipit, libero sit amet venenatis feugiat, dui arcu mattis mi, vitae hendrerit lacus felis in dui. Suspendisse quis euismod tortor.", | |
"comment"=>"", |
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
class Message < ActiveRecord::Base | |
validates_presence_of :user_id, :head, :text | |
belongs_to :user | |
has_many :receivers, class_name: MessageReceiver, :dependent => :destroy | |
before_destroy :check_receivers |
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
class User < ActiveRecord::Base | |
after_create :send_greeting | |
def send_greeting | |
SystemMessage.create(user_id: self.id, subject: t("messages.head.greeting"), text: render_to_string(partial:"messages/greeting", locals:{user:self})) | |
end | |
end |