作者: 毛狐狸

668 篇文章

thumbnail
How to fix Expected Android API level 21+ but was 19 in Android
from--https://stackoverflow.com/questions/56818660/how-to-fix-expected-android-api-level-21-but-was-19-in-android   Ask Question Asked 4 years, 2 months ago Modified 2 years, 11 months ago Viewed 37k times 40 In my application i want get data from server, for get connect to server i used Retrofit, OkHttp. But when running application, show me force close error. In and…
KMS激活office2013失败:The Software Licensing Service reported that the grace period expired
from--https://www.jianshu.com/p/784bd5eae452 使用kms激活office2013时,有时会出现失败情况,报错: ERROR CODE: 0xC004F009 ERROR DESCRIPTION: The Software Licensing Service reported that the grace period expired. 解决办法: 使用“管理员身份”运行命令提示符/Windows PowerShell 1.定位到office的安装目录 cd 绝对路径 例如: PS C:\Windows\system32> cd 'C:\Program Files\Microsoft Office\Office15' PS C:\Program Files\Microsoft Office\O…
thumbnail
Is vlan tagging on guest allowed in sr-iov on KVM?
from--https://serverfault.com/questions/805992/is-vlan-tagging-on-guest-allowed-in-sr-iov-on-kvm   Ask Question Asked 6 years, 11 months ago Modified 6 years, 11 months ago Viewed 8k times 2 I am using KVM on Centos 7. I have created a VM with SR-IOV VFs to pass traffic. I notice that I am unable to pass traffic when I tag the interface inside the VM. I have read thro…
thumbnail
LEDE实现SSID绑定VLAN功能(Trunk)
from--https://zavierlab.com/post/88.html 先介绍一下VLAN: VLAN是Virtual Local Area Network的缩写,中文名“虚拟局域网”。 VLAN广泛应用于企业,通过VLAN技术可以实现广播域的控制、不同用户组的隔离。不同VLAN之间的通信必须通过路由器来实现,因而可以通过路由器对不同用户组的上网行为进行控制。 VLAN技术多用于企业的有线内网中,同时也可以用于无线网络中。 举个高端的应用例子: 某些实力较强的企业或者机关事业单位、火车站,其无线网络覆盖方案采用的是和运营商合作的方式,即运营商提供若干AP,每个AP会同时配置2-3个SSID。如和中国电信合作,会配置“ChinaNet”公共热点,同时再配置一个定制的SSID,如南昌铁路局的某些高铁、火车站,会配置SSID为“AirS…
thumbnail
Bash: infinite sleep (infinite blocking)
from--https://stackoverflow.com/questions/2935183/bash-infinite-sleep-infinite-blocking Ask Question Asked 13 years, 3 months ago Modified 1 month ago Viewed 179k times 236 I use startx to start X which will evaluate my .xinitrc. In my .xinitrc I start my window manager using /usr/bin/mywm. Now, if I kill my WM (in order to f.e. test some other WM), X will terminate too be…
linux – sleep毫秒 – Bash:无限的睡眠(无限的阻挡)
from--https://code-examples.net/zh-CN/q/2cc98f     bash sleep ms (9) tail不阻挡 一如既往:对于所有事情,都有一个简短,易于理解,易于遵循且完全错误的答案。 这里tail -f /dev/null属于这个类别;) 如果你用strace tail -f /dev/null来看它,你会注意到,这个解决方案远非阻塞! 这可能比问题中的sleep解决方案还要糟糕,因为它使用(在Linux下)像inotify系统这样的宝贵资源。 写入/dev/null其他进程/dev/null导致tail循环。 (在我的Ubuntu64 16.10上,这在已经繁忙的系统上每秒增加几十个系统调用。) 问题是阻塞命令 不幸的是,没有这样的事情.. 阅读:我不知道任何方式直接存档与…
thumbnail
Starting container process caused “exec: \\”tail -f /dev/null\\”: stat tail -f /dev/null: no such file or directory
from--https://stackoverflow.com/questions/51398251/starting-container-process-caused-exec-tail-f-dev-null-stat-tail-f   Ask Question Asked 5 years, 1 month ago Modified 1 year, 6 months ago Viewed 2k times 2 Because I am trying to keep a container running I specified the "tail -f /dev/null" as command in the docker compose file: version: '2' services: serviceName: . .…