我在我的MacBookPro、Windows7和Linux(Slackware) PC上安装了git
Mac: git version 1.8.5.2 (Apple Git-48)
Win7: git version 1.9.0.msysgit.0
Linux: git version 1.8.5.5 # I compiled it from source
我在所有这些设备中都安装了Dropbox来同步一个叫做“projA”的项目。
当我在git status中发布projA时,结果是不同的:
Mac: clean
Win7: some files are modified (#
我使用的是Debian扩展,我使用的是PHP7.1,这是Workbench的输出信息。
> MySQL Workbench Community (GPL) for Linux/Unix version 6.3.8 CE build 1228 (64 bit)
Configuration Directory: /home/me/.mysql/workbench
Data Directory: /usr/share/mysql-workbench
Cairo Version: 1.14.8
OS: Linux 4.9.0-9-amd64
CPU: 12x AMD Ryzen 5 2600 S
我需要一个合适的linux服务器供个人使用。Personal user =在服务器上托管一个data base (这样我就不必同时在笔记本电脑和学校计算机上创建它了),托管一些玩具网站,并且通常在云中有一台备用计算机。
我看到AWS Lightsail和Gougle Compute Engine似乎是我要找的东西。还有更好的选择吗?
我有一个更大的多线程软件(专有的和不能共享的),它报告了一个来自below的数据竞赛(请参阅下面的数据竞赛)。我不能分享这个软件,但我设计了一些测试来演示比赛。
与实际软件的竞争有问题:
==7746== Possible data race during write of size 1 at 0xAC83697 by thread #4
==7746== Locks held: 2, at addresses 0x583BCD8 0x5846F58
==7746== at 0x4C3A3CC: mempcpy (in /usr/lib/valgrind/vgpreload_helgri
我试图使用以下代码解决问题:
def inmobi(t):
while t:
li = map(int, raw_input().split())
n, ans = li[0], li[1:]
one, two, op = [], [], []
for e in range(n):
for i in range(1, n):
if e + i < n:
one.append(ans[e] + ans[e + i])
我有一个相当高端的摄像头(snc-rz25n),我需要使用Flash Media Server进行重播。我可以得到MPEG-4格式的图片(而不是H.264格式)。所以我需要转码到h.264,并以多个比特率发布到FMS。
到目前为止,我能想到的唯一解决方案是使用ffmpeg对流进行转码,然后也使用ffmpeg对流进行下转换(对于多个比特率),然后通过自定义Java代码(使用Red5)将所有这些转码后的流发布到FMS。
当然还有更好的方法。Flash Live Media Encoder将无法工作。摄像头在网络上,没有直接连接,我需要一个linux解决方案。