Skip to content

Instantly share code, notes, and snippets.

View fwflunky's full-sized avatar
:shipit:
мое уважение к нему зашкаливает

fwflunky fwflunky

:shipit:
мое уважение к нему зашкаливает
View GitHub Profile
@IceCruelStuff
IceCruelStuff / README.md
Created May 13, 2021 05:29 — forked from dktapps/README.md
Minecraft PE Android crashdump decoder script

Minecraft PE crashdump decoder

Setting up environment

Install depot_tools and make sure the tools are available in your PATH variable. You might need to add them to your path manually.

Getting a crashdump file

Requirements:

  • A rooted Android device with MCPE installed.
  1. Trigger the crash you want to debug. When your game crashes, DON'T RESTART IT.
{
"count":4,
"results":[
{
"score":1.0,
"document":{
"productId":"G009SXK652MF",
"title":"Mineplex",
"description":"Lobby Description...",
"contentType":"3PP",

Featured Servers

POST https://xforge.xboxlive.com/v1/catalog/items/search/ HTTP/1.1
Accept: */*
Accept-Language: en-US
Cache-Control: public
Content-Type: application/json
User-Agent: cpprestsdk/2.9.0
Accept-Encoding: gzip, deflate, br
Host: xforge.xboxlive.com
@pashamray
pashamray / gist:7866f21d2e1925f72132415903c45db0
Last active February 11, 2025 16:13
mount img files in linux
Первый шаг, получить список разделов в образе:
fdisk -l hive-0.5-12-20171211.img
Диск hive-0.5-12-20171211.img: 7 GiB, 7549747200 байтов, 14745600 секторов
Единицы измерения: секторов из 1 * 512 = 512 байтов
Размер сектора (логический/физический): 512 байт / 512 байт
I/O size (minimum/optimal): 512 bytes / 512 bytes
Тип метки диска: dos
Идентификатор диска: 0x244b7fbe
@ymurase
ymurase / asio_server.cpp
Created November 15, 2014 08:08
A sample of synchronous TCP server using boost::asio
#include <iostream>
#include <boost/asio.hpp>
namespace asio = boost::asio;
std::string readline( asio::ip::tcp::socket & socket ) {
asio::streambuf buf;
asio::read_until( socket, buf, "\n" );
std::string data = asio::buffer_cast<const char*>(buf.data());