this is a very simple messge service with static file written in py
非常简单的基于静态文件的使用py写的消息服务
#!/bin/env python | |
#bili xml <==> Dplayer json converter | |
import sys,json | |
# struct and vars | |
xmlhead0="<i><chatserver>" | |
xmlhead1="</chatserver><chatid>" | |
xmlhead2="</chatid><mission>0</mission><maxlimit>" | |
xmlhead3="</maxlimit><source></source><ds></ds><de></de><max_count>" |
/** | |
* hexo-tag-dplayer | |
* Syntax: | |
* {% dplayer key=value ... %} | |
*/ | |
'use strict'; | |
const fs = require('hexo-fs'), | |
util = require('hexo-util'), | |
urlFn = require('url'), | |
path = require('path'), |
#!/usr/bin/env python | |
# WTFPL | |
import base64 as b64 | |
import sys,zipfile,os.path | |
from Crypto.Cipher import AES | |
if __name__ == "__main__": | |
basename = os.path.basename(sys.argv[1]) |
import cv2 | |
vc = cv2.VideoCapture('ba.mp4') | |
c=1 | |
fs = 1 | |
count = 0 | |
fuckl = lambda x : b"#" if x > 20 else b" " |
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta http-equiv="content-type" content="text/html; charset=utf-8"> | |
<title>HLS Player</title> | |
<link href="/css/DPlayer.min.css" rel="stylesheet"> | |
</head> | |
<body> | |
<div id="player1" class="dplayer"></div> | |
<script src="/js/DPlayer.min.js"></script><!-- Dplayer 2.0, using master branch --> |
使用类似
void replaceOnReceive(int (*cb) (/*arguments of php_swoole_OnReceive...*/)){
void * pSwooleG = dlsym(/*arguments to get SwooleG...*/);
void * pServ = pSwooleG+OFFSET_SERV;
void * pOnReceive2Replace = (*pServ)+OFFSET_ONRECV;
assert(*pOnReceive2Replace == php_swoole_OnReceive);
*pOnReceive2Replace = cb;
}
diff --git a/include/mbedtls/cipher.h b/include/mbedtls/cipher.h | |
index 96efd937f..bd0027b7e 100644 | |
--- a/include/mbedtls/cipher.h | |
+++ b/include/mbedtls/cipher.h | |
@@ -92,6 +92,7 @@ typedef enum { | |
MBEDTLS_CIPHER_ID_ARC4, /**< The RC4 cipher. */ | |
MBEDTLS_CIPHER_ID_ARIA, /**< The Aria cipher. */ | |
MBEDTLS_CIPHER_ID_CHACHA20, /**< The ChaCha20 cipher. */ | |
+ MBEDTLS_CIPHER_ID_SMS4, | |
} mbedtls_cipher_id_t; |
AbyssalCraft-1.12.2-1.10.2.jar:AbyssalCraft* | |
astralsorcery-1.12.2-1.10.26.jar:astralsorcery* | |
BuildingGadgets-2.8.4.jar:BuildingGadgets* | |
gregtech-1.12.2-1.10.0.546.jar:gregtech* | |
industrialcraft-2-2.8.220-ex112.jar:industrialcraft* | |
Jade-0.1.0.jar:Jade* | |
jei_1.12.2-4.16.1.301.jar:jei_1.12.2* | |
just-enough-harvestcraft-1.12.2-1.7.2.jar:just-enough-harvestcraft-* | |
levelup2-1.5.6.jar:levelup2* | |
LittleMaidAppendPack-1.0.3.jar:LittleMaidAppendPack* |