This script will redirect the websites which may affect your concentration to /etc/hosts
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
#include <stdint.h> | |
#define HLL_REGISTERS 16384 | |
#define HLL_BITS 6 | |
/* Compute the register histogram in the dense representation. */ | |
void hllDenseRegHisto(uint8_t* registers, int* reghisto) { | |
int j; | |
/* Redis default is to use 16384 registers 6 bits each. The code works | |
* with other values by modifying the defines, but for our target value |
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
from wx_mp_svr import Server, WxMpReqMsg, WxMpRspMsg # 从wx_mp_svr包中导入Server类 | |
def main(): | |
token = "xxx" | |
aes_key = "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" | |
appid = "YOUR_OWN_APP_ID" | |
host = "127.0.0.1" | |
port = 5001 | |
server = Server( |
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
services: | |
grafana: | |
image: "grafana/grafana" | |
ports: | |
- "3000:3000" | |
promtheus: | |
image: "prom/prometheus" | |
ports: | |
- "9090:9090" | |
volumes: |
To remove a submodule you need to:
- Delete the relevant section from the .gitmodules file.
- Stage the .gitmodules changes git add .gitmodules
- Delete the relevant section from .git/config.
- Run git rm --cached path_to_submodule (no trailing slash).
- Run rm -rf .git/modules/path_to_submodule (no trailing slash).
- Commit git commit -m "Removed submodule "
- Delete the now untracked submodule files rm -rf path_to_submodule