摘要:
From https://blog.csdn.net/ropai/article/details/27171687 ubuntu 14.04遇到“已安装的 post-installation 脚本 返回了错误号 127 ”问题的解决 由于网络不佳的原因,在安装openssh时候中断了,重新安装时候遇
阅读全文
posted @ 2019-03-31 03:31
c碰
阅读(730)
推荐(0)
摘要:
# coding=utf-8import codecs if __name__ == '__main__': cmdlist = ("Decode") while True: cmd = int(input('''input command: -1:Quit0:Decode''')) if cmd
阅读全文
posted @ 2018-08-03 16:48
c碰
阅读(155)
推荐(0)
摘要:
package mainimport ( "fmt")// pc[i] is the population count of i.var pc [256]bytefunc init() { for i := range pc { pc[i] = pc[i/2] + byte(i&1) }}func
阅读全文
posted @ 2018-07-15 16:51
c碰
阅读(1159)
推荐(0)
摘要:
#include<vector>#include<algorithm>#include<iostream> using namespace std; void PrinfVectorInt(vector<int> &vec){ for(auto iter = vec.begin(); iter !=
阅读全文
posted @ 2018-05-08 16:23
c碰
阅读(4102)
推荐(0)
摘要:
转自:http://www.cnblogs.com/taobataoma/archive/2007/08/30/875662.html alarm(设置信号传送闹钟) 相关函数 signal,sleep 表头文件 #include<unistd.h> 定义函数 unsigned int alarm(
阅读全文
posted @ 2018-05-06 22:05
c碰
阅读(570)
推荐(0)
摘要:
转自:http://www.cnblogs.com/taobataoma/archive/2007/08/30/875743.html 信号是Linux编程中非常重要的部分,本文将详细介绍信号机制的基本概念、Linux对信号机制的大致实现方法、如何使用信号,以及有关信号的几个系统调用。 信号机制是进
阅读全文
posted @ 2018-05-06 22:04
c碰
阅读(191)
推荐(0)
摘要:
参考https://www.littleqiu.net/archives/886 (不过我使用绝对路径,ffmpeg报错,相对路径没问题) 一、安装ffmpge sudo apt-get install ffmpeg 在视频目录/home/foo/Videos/s_6463/115195/lua.h
阅读全文
posted @ 2017-12-23 23:41
c碰
阅读(2828)
推荐(0)
摘要:
转自:https://www.cnblogs.com/wmr95/p/7637077.html 正常情况下,你安装好ubuntu16.04版本之后,系统会自带 python2.7版本,如果需要下载新版本的python3.5,就需要进行更新。下面给出具体教程: 1.首先在ubuntu的终端ternim
阅读全文
posted @ 2017-12-17 16:22
c碰
阅读(3519)
推荐(0)
摘要:
dnf install mplayer dnf install smplayer 提示仓库 里没有这个软件 fedora默认不提供一些有版权争议的软件,非开源的项目包,所以需要用rpm fusion源,来补充Linux的“软件库” 解决方案: fedora 26 4.11.11-300.fc26.x
阅读全文
posted @ 2017-07-30 15:54
c碰
阅读(1504)
推荐(0)
摘要:
nm-connection-editor #网络联接编辑
阅读全文
posted @ 2017-05-06 21:50
c碰
阅读(223)
推荐(0)