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
//Interface tanımlama | |
public interface UserService { | |
@GET("/users/{username}") | |
UserModel getUser(@Path("username") String name); | |
} | |
//Adapter ve servis oluşturma | |
RestAdapter restAdapter = new RestAdapter.Builder() | |
.setEndpoint("https://api.mustafab.net") | |
.build(); |
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
< [hex]: | |
0000 41 4D 51 50 00 00 09 01 AMQP.... | |
waiting for 10,10 | |
waiting for a new frame | |
> 10,10: Connection.start | |
Start from server, version: 0.9, properties: capabilities=(publisher_confirms=1, exchange_exchange_bindings=1, basic.nack=1, consumer_cancel_notify=1), copyright=Copyright (C) 2007-2013 GoPivotal, Inc., information=Licensed under the MPL. See http://www.rabbitmq.com/, platform=Erlang/OTP, product=RabbitMQ, version=3.1.5, mechanisms: AMQPLAIN, PLAIN, locales: en_US | |
< 10,11: Connection.start_ok | |
< [hex]: | |
0000 01 00 00 00 00 00 D9 00 0A 00 0B 00 00 00 9B 07 ......?. ......?. |
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
#! /bin/sh | |
### BEGIN INIT INFO | |
# Provides: redis-server | |
# Required-Start: $syslog $remote_fs | |
# Required-Stop: $syslog $remote_fs | |
# Should-Start: $local_fs | |
# Should-Stop: $local_fs | |
# Default-Start: 2 3 4 5 | |
# Default-Stop: 0 1 6 | |
# Short-Description: redis-server - Persistent key-value db |
NewerOlder