public class UpdateApp extends AsyncTask<String,Void,Void>{
private Context context;
public void setContext(Context contextf){
context = contextf;
}
@Override
protected Void doInBackground(String... arg0) {
try {
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
/* | |
* message - сообщение, которое будет опубликовано | |
* image - картинка для постинга | |
* user_id - id текущего пользователя (к нему будет осуществлён постинг) | |
*/ | |
function wallPost(message, image, user_id) { | |
VK.api('photos.getWallUploadServer', { | |
uid: user_id | |
}, function (data) { | |
if (data.response) { |
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
<?php | |
$ip = '127.0.0.1'; | |
$port = '9051'; | |
$auth = 'PASSWORD'; | |
$command = 'signal NEWNYM'; | |
$fp = fsockopen($ip,$port,$error_number,$err_string,10); | |
if(!$fp) { echo "ERROR: $error_number : $err_string"; | |
return false; |
- Введение в программирование на Go - http://golang-book.ru/
- Всё, что вы хотели знать про GOPATH и GOROOT - http://habrahabr.ru/post/249545/ (статья на Хабре)
- Русский форум по Go - https://groups.google.com/forum/#!forum/golang-ru
- Первый русскоязычный сайт по Go http://4gophers.com/
- Русскоязычный slack-чат по Go https://golang-ru.slack.com
This file has been truncated, but you can view the full file.
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
// Icons available at https://mega.nz/#!vY5jXK7K!w290kvdCWZOvo2aDeth7tImkTPk5eOjfiwwHF8l8cEQ | |
{ | |
"CASING": { | |
"name": "Metal Plating", | |
"type": "product", | |
"subtitle": "Crafted Technology Component", | |
"description": "A lightweight metal product, heavily used in the manufacture of <TECHNOLOGY>starship parts<> and <TECHNOLOGY>deployable technology<>. A mainstay of the construction industries of all known primary species.\n\nCrafted from <EARTH>Ferrite Dust<>.", | |
"base_value": 800, | |
"category": "product_category_component", | |
"trade_category": "trade_category_none", |