Tags » Salim

Chef recipe: syntax error,unexpected tIDENTIFIER, expecting ':'

Can someone please take a look at the below code block and let me know what is wrong in this

%w"#{zookeeper_ensemble}".each_with_index do |ip, index|
  if node['ipaddress']?("#{ip}") 
    template "#{zookeeper_data}/myid" do
      source "myid.erb"
      owner zookeeper_user
      group zookeeper_user
      variables(
        :myid=> "#{index}"
      )
    end
  end
end
… 56 more words
Stackoverflow

Two More Rounds

‘Salim, let’s go home dear. It is getting dark’, said Chaand, as she stopped an eight year old boy riding a red colored bicycle.

‘Grandma, just two more rounds please’ replied Salim, ‘and then we’ll be off.’ 193 more words

Life

What is the difference between facebook id and graph id

http://ift.tt/1vZykuD

{
"id": "5027xy014",
"first_name": "...",
"gender": "male",
"last_name": "...",
"locale": "en_US",
"name": "...",
"username": "myusernamehere.11"
}

http://ift.tt/1z6NSkR

{
"id": "101521xxxxxxxxxxxxx", 
"name": "xxxxxx yyyyy"
}
… 25 more words
Stackoverflow

GCDAsyncSocket server receive data only first time

Client sent message every time when I press send button but Server receive message only first time. What is the issue in server

Server:

- (void)viewDidLoad
{
    ;

    asyncSocket = [ initWithDelegate:self delegateQueue:dispatch_get_main_queue()];

    NSError *err = nil;
    if (!){

        NSLog(@"Error in acceptOnPort:error: -> %@", err);

    }
}

- (void)socket:(GCDAsyncSocket *)sock didAcceptNewSocket:(GCDAsyncSocket *)newSocket
{
    NSLog(@"Accepted new socket from %@:%hu", , );

    self.asyncSocket = newSocket;
    NSString *welcomMessage = @"Hello from the server\r\n";
     withTimeout:-1 tag:1];

    ;

}

-(void)socket:(GCDAsyncSocket *)sock didReadData:(NSData *)data withTag:(long)tag{
    NSString *msg = [ initWithData:data encoding:NSUTF8StringEncoding];

    NSLog(@"MSG: %@",msg);

}
… 186 more words
Stackoverflow

Mariam uz zamani and Salim

Now all of us are aware that Salim and his mother Mariam-uz-zamani had not so close a relation. If they were really close then when Salim rebelled against Akbar she would have mediated peace between them. 702 more words

Jehangir