我正在尝试为我的内核版本3.4.61+和Debian版本7.1安装linux-headers
我输入了这个命令:
apt-get update
apt-get install linux-headers-$(uname -r)
Run Code Online (Sandbox Code Playgroud)
在最后一个命令我总是得到一个错误:
E: Unable to locate package linux-headers-3.4.61
E: Couldn't find any package by regex 'linux-headers-3.4.61'
Run Code Online (Sandbox Code Playgroud)
顺便说一句:这一切都基于Cubietruck/Cubieboard3
尝试为HTTP请求执行一些测试用例.我想区分HTTP/1.1和HTTP/2.为了做到这一点,我需要知道我从请求中使用了哪个版本.我还想强制请求使用HTTP/1.1或HTTP/2.我正在使用OkHttp3 for Java.这是一个简单的请求,我这样做:
Request request = new Request.Builder()
.url(url)
.build();
Response response = client.newCall(request).execute();
return response.body().string();
Run Code Online (Sandbox Code Playgroud) 从Brian Clozel找到了一个很好的有关HTTP / 2和Spring Boot的示例,尤其是使用Server Push:https : //github.com/bclozel/http2-experiments。有一个index.html
有一些图像资源。但是,这些映像已推送到服务器,但我不知道此推送是从哪里确切启动的。我看不到任何可能会导致将资源推送到的推送过滤器或任何其他指标index.html
。有任何想法吗?
我正在尝试详细了解HTTP/2.我读了这篇关于流,消息和框架的文章:https://hpbn.co/http2/#streams-messages-and-frames.我不知道我的概念是否正确.
我得出以下结论:
此外:规范中如何表示消息?
我试图配对两个设备,而不是在每个配对周期中点击两个设备上的"匹配".如何设置自己的常量PIN码?我应该连接的设备是笔记本电脑和智能手机.
我在ubuntu上使用Python bluez.
我正在使用 expo 34.0.1 进行本机开发。我正在为该项目使用 TypeScript,并tsc --project . --noEmit
在测试脚本中开玩笑地运行。这会导致以下错误:
node_modules/@expo/vector-icons/build/createIconSet.d.ts:2:55 - 错误 TS7016:找不到模块 './vendor/react-native-vector-icons/lib/create-icon 的声明文件-放'。'../node_modules/@expo/vector-icons/build/vendor/react-native-vector-icons/lib/create-icon-set.js' 隐式具有 'any' 类型。
2 从 './vendor/react-native-vector-icons/lib/create-icon-set' 导出 { DEFAULT_ICON_COLOR, DEFAULT_ICON_SIZE }; 发现 1 个错误。
npm 错误!代码 ELIFECYCLE npm ERR!错误号 1 npm 错误号!@tsc-test:
tsc --project . --noEmit
npm 错误!退出状态 1 npm ERR!npm 错误!@tsc-test 脚本失败。npm 错误!这可能不是 npm 的问题。上面可能有额外的日志输出。npm 错误!可以在以下位置找到此运行的完整日志:npm ERR!
/Users/.npm/_logs/2019-08-31T19_25_49_598Z-debug.log
tsconfig.json:
{
"compilerOptions": {
"allowSyntheticDefaultImports": true,
"module": "es6",
"target": "es6",
"lib": ["es2016", "esnext.asynciterable"],
"jsx": "react-native",
"strict": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"types": ["jest"],
"moduleResolution": …
Run Code Online (Sandbox Code Playgroud)