Skip to content

Instantly share code, notes, and snippets.

@2733284198
2733284198 / storage_pool_example.php
Created April 9, 2021 07:45 — forked from yeaha/storage_pool_example.php
Lysine存储服务水平/垂直切分机制样例
<?php
// 一个一致性hash实现 http://github.com/pda/flexihash
require '/path/to/flexihash/include/init.php';
require '/path/to/lysine/loader.php';
// user和topic数据垂直切分
// user数据放在mysql数据库
// topic数据放在postgresql数据库
// topic数据水平切分,分区到3台服务器上
$config = array(
@2733284198
2733284198 / Connect to Google Home
Created March 30, 2021 01:32 — forked from willwhui/Connect to Google Home
Connect to Google Home
Connect to Google Home
@2733284198
2733284198 / 00. tutorial.md
Created November 9, 2020 17:22 — forked from zekitow/00. tutorial.md
Importing/Indexing database (MySQL or SQL Server) in Solr using Data Import Handler
@2733284198
2733284198 / hyperf-hot-restart-in-dev.php
Created July 29, 2020 08:47 — forked from starfalling/hyperf-hot-restart-in-dev.php
hyperf hot restart in development
<?php
declare(strict_types=1);
/**
* 使用方式:
* 1. 把文件放置到项目的 bin 目录中,更名为 dev.php
* 2. 开发中启动项目时,使用 dev.php 进行启动,而不是使用 hyperf.php 进行启动
*/
<?php
class FOO {
public $f;
}
class BAR {
public $f;
}
@2733284198
2733284198 / README.md
Created February 24, 2020 19:50 — forked from janlay/README.md
Yet another config for Surge.app

Install

  1. Modify index.txt with your output path and proxy info
  2. Use Text Builder to build configuration for Surge: $ text-builder -index /path/to/index.txt Or run $ sh build-all to build all your index files.
  3. Import configuration via AirDrop/iTunes/Dropbox/iCloud

本人不提供任何保证和技术支持,使用者自负风险。
There are no guarantees, no any support. Use it at your own risk.

@2733284198
2733284198 / 9787121296086.md
Created January 26, 2020 09:45 — forked from chusiang/9787121296086.md
Zabbix 監控系統深度實踐 (第2版)

Zabbix 監控系統深度實踐 (第2版)

  • 作者:姚仁捷
  • 出版商:電子工業
  • 出版日期: 2016-08-14
  • 台幣定價: $474
  • 語言:簡體中文
  • 頁數:376
  • ISBN: 712129608X
  • ISBN-13: 9787121296086