Skip to content
View gist:785d0e7618b8e7ef2225
Arahsi Tiba
Cерафима
Silvio Silvestri
Takashi Fudo
Uni
Vane
Zheng Tong
Аанг
Абу - Аслан
Азула
View ngTableService.coffee
@app.service "ngTableService", ["$filter", "$http", ($filter, $http) ->
filterData = (data, filter) ->
$filter('filter')(data, filter)
orderData = (data, params) ->
(if params.sorting() then $filter("orderBy")(data, params.orderBy()) else filteredData)
sliceData = (data, params) ->
data.slice (params.page() - 1) * params.count(), params.page() * params.count()
View gist:d4545c7415dd88d806b0
Акацуки Мэй
Алексис Виталина Блэквич
Корра
Максим Шпорт
Шоно Дава
Aleksandr
Alennora
Arsenic
Ayrin
Bright Lizavetta
View gist:8d499e13abf83834c4d2
def parse_row(row1='', row2='')
map = []
map += [JSON.parse(row1)].flatten
map += [JSON.parse(row2)].flatten
map
resque JSON::ParserError
[]
end
View gist:afc6b6033d4da80bc48d
if @topic.links.detect{|l| l.rel_url == rel_url(params)}.state == 'redirect'
redirect_to @topic.links.detect{|l| l.state == 'main'}.rel_url, status: :moved_permanently
end
View gist:23b96bae8e898fc68d37
<h1><%= @article.head %></hi>
<div class="body">
<%= simple_format @article.body %>
</div>
View gist:30191c6add59347bcf79
<h1>Articles</h1>
<ul>
<% articles.each do |article| %>
<li><%= link_to article.head, article %></li>
<% end %>
</ul>
View gist:0afb32423ece0be11027
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
View ssh log
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
Something went wrong with that request. Please try again.