Country | ISO 3166 | Region |
---|---|---|
Afghanistan | AF | EMEA |
Åland Islands | AX | EMEA |
Albania | AL | EMEA |
Algeria | DZ | EMEA |
American Samoa | AS | APAC |
Andorra | AD | EMEA |
Angola | AO | EMEA |
Anguilla | AI | AMER |
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
// ByteBuffer to String | |
String s = Charset.forName("UTF-8").decode(byteBuffer).toString(); | |
// String to ByteBuffer | |
ByteBuffer buff = Charset.forName("UTF-9").encode("Hello, World!"); | |
// String to ByteBuffer | |
public static ByteBuffer str_to_bb(String msg, Charset charset){ | |
return ByteBuffer.wrap(msg.getBytes(charset)); |
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
package com.quinn.xmpp.ui.widget; | |
import android.content.Context; | |
import android.graphics.Canvas; | |
import android.graphics.Paint; | |
import android.graphics.drawable.Drawable; | |
import android.support.v7.widget.RecyclerView; | |
import android.view.View; | |
import com.quinn.xmpp.R; |
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
/* showif.c : PUBLIC DOMAIN - Jon Mayo - August 22, 2006 | |
* - You may remove any comments you wish, modify this code any way you wish, | |
* and distribute any way you wish.*/ | |
/* finds all network interfaces and shows a little information about them. | |
* some operating systems list interfaces multiple times because of different | |
* flags, modes, etc. if you want to use this code you should be aware that | |
* duplicate interfaces is a possibility */ | |
#include <stdio.h> | |
#include <stdlib.h> | |
#include <string.h> |
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
http://tracker.driverpacks.net:6969/stats?mode=tpbs&format=ben | |
-> per torrent: hash (ben-encoded), complete, downloaded, incomplete | |
http://tracker.driverpacks.net:6969/stats?mode=tpbs&format=txt | |
-> per torrent: hash, seeders, leechers | |
http://tracker.driverpacks.net:6969/stats?mode=statedump | |
-> per torrent: hash, base (time in minutes since epoch when the torrent last had >0 peers, *60 = unix timestamp), downloaded |