You can find docker-compose.yml file in the github repo.
This tutorial is written for user that don't want to use Docker (or Archlinux).
git cmake make or ninja jq curl redis-server
Minecraft 1.9.0.15 x86 apk
| #!/usr/bin/env node | |
| const constants = require("./constants.js"); | |
| const api = require("stoneapi-js"); | |
| const Discord = require('discord.js'); | |
| const client = new Discord.Client(); | |
| api.init(); | |
| api.attach(); | |
| const channels = constants.channels; |
| #!/bin/bash -e | |
| printf "%s\n" "Clean up..." | |
| rm -rf output | |
| printf "%s\n" "Downloading..." | |
| wget -q --show-progress -O stone.zip https://gitlab.com/codehz/StoneServer/builds/artifacts/master/download?job=job_package | |
| printf "%s\n" "Unziping..." | |
| unzip stone.zip > /dev/null | |
| (cd output; tar cBf - . | (cd ..; tar xBf -)) | |
| rm -rf output | |
| mkdir -p data |
| [Unit] | |
| Description=Bedrock Dedicated Server Manager | |
| Documentation=https://github.com/bdsm-technology/BDSM | |
| After=network.target | |
| [Service] | |
| User=user | |
| Group=user | |
| WorkingDirectory=/path/to/mcpe | |
| ExecStart=/path/to/mcpe/bdsm daemon -profile %i |
| #include <functional> | |
| #include <sys/mman.h> | |
| #include <boost/callable_traits/function_type.hpp> | |
| template <typename T> struct FunctionWrapper; | |
| template <typename R, typename... PS> struct FunctionWrapper<R(PS...)> { | |
| short mov_r10 = 0xba49; | |
| std::function<R(PS...)> *func; | |
| short mov_rax = 0xb848; |
| html, | |
| atom-workspace, | |
| atom-workspace-axis, | |
| status-bar, | |
| atom-panel-container, | |
| atom-pane-container, | |
| atom-pane-axis, | |
| atom-pane > *, | |
| atom-dock, | |
| atom-dock > *, |
| package main | |
| import ( | |
| "bytes" | |
| "fmt" | |
| "github.com/chai2010/webp" | |
| "github.com/fogleman/gg" | |
| "github.com/satori/go.uuid" | |
| "golang.org/x/image/font" | |
| "golang.org/x/image/tiff" |
test *test*
test **test**
test _test_
test __test__
| // ==UserScript== | |
| // @name Zhihu MathJax | |
| // @namespace http://tampermonkey.net/ | |
| // @version 0.3 | |
| // @description 知乎公式渲染强制使用MathJax,配合AdBlock拦截www.zhihu.com/equation较为合适(因为用脚本隐藏还是会进行网络请求。。。)(修改自 https://zhuanlan.zhihu.com/p/27551432 ,感谢 @梨梨喵 和 @帅气可爱魔理沙 ,假装可以艾特到) | |
| // @author CodeHz | |
| // @match http*://*.zhihu.com/* | |
| // @grant GM_addStyle | |
| // ==/UserScript== | |
| // MathJax single file build. Licenses of its components apply |
| class Stream { | |
| constructor(tokens) { | |
| this.tokens = tokens | |
| this.pos = 0 | |
| } | |
| get next() { | |
| return this.tokens[this.pos++] || '' | |
| } | |