Skip to content

Instantly share code, notes, and snippets.

[ 3][t 8][1526622432.139708281][SecretChatsManager.cpp:483][!SecretChatsManager] Create SecretChatActor: [id:-1052484648]
[ 3][t 8][1526622432.139754534][SecretChatActor.cpp:1844][!SecretChat -1052484648] SecretChatActor: start_up
[ 4][t 8][1526622432.139801502][utils.cpp:21][!SecretChat -1052484648] Create storer for messages_getDhConfig {
version = 0
random_length = 0
}
[ 3][t 8][1526622432.139820814][NetQuery.h:351][!SecretChat -1052484648] [Query:[id:983040][tl:0x26cf8950][state:Query]]
[ 3][t 8][1526622432.139829874][NetQuery.h:245][!SecretChat -1052484648][&net_query] [Query:[id:983040][tl:0x26cf8950][state:Query]] [debug:dispatch]
[ 3][t 8][1526622432.139842987][NetQuery.h:245][!SecretChat -1052484648][&net_query] [Query:[id:983040][tl:0x26cf8950][state:Query]] [debug:sent to main session multi proxy DcId{2}]
@igor04
igor04 / animal.rb
Last active August 29, 2015 14:06
example
class User < ActiveRecord::Base
has_many :animals
has_many :dogs
has_many :cats
end
class Zoo < ActiveRecord::Base
has_many :animals
has_many :elephants
end
@igor04
igor04 / attributes.rs
Created September 16, 2014 11:40
attributes.rs
//
// #[item_attribute] - attribute for module or file
//
// #![crate_attribute] - attribute for crate
//
// - #[attribute = "value"]
// - #[attribute(key = "value")]
// - #[attribute(value)]
//
// #![crate_type = "lib"] - crate as library (instead `--crate-type` compile param)
// file_1.rs
//
// implement class method and instance method with the same name
//
struct Car {
stamp: &'static str
}
impl Car {
fn print() {
println!("It is Car class method!")