artfoxe6#gmail.com new
上一页 1 ··· 4 5 6 7 8 9 10 下一页
摘要: Prerequisites The only prerequisite is having a Ubuntu 14.04 Droplet established and running. You will need root access to complete this guide. Option 阅读全文
posted @ 2016-05-26 16:13 codeAB 阅读(155) 评论(0) 推荐(0) 编辑
摘要: 安装工具 sudo apt-get install lame 具体用法可以查看帮助 lame --help 通过更改音频文件的帧数 可以让文件变小 但是音质也会随之下降 现在比较多的mp3文件是128kbps 比如此时它4M 然后压缩成64kbps的 基本上就是2M了 lame -b 64 old. 阅读全文
posted @ 2016-04-09 16:26 codeAB 阅读(785) 评论(0) 推荐(0) 编辑
摘要: 安装apache 新装的系统发现 apt-get install apach<tab> 没有自动补全 请查看 这里 apt-get install apache2 安装mysql apt-get install mysql-server-5.5 安装php apt-get install php5 阅读全文
posted @ 2016-04-08 16:30 codeAB 阅读(738) 评论(0) 推荐(0) 编辑
摘要: Debian/Ubuntu的apt-get太常用了,不过偶尔可能也会碰到不太熟悉,想不起来的包的名称,除了去debian packages去查找,另外的方法就是给Debian/Ubuntu添加自动补齐/完成功能。方法如下: 1、安装bash-completion apt-get install ba 阅读全文
posted @ 2016-04-08 13:54 codeAB 阅读(590) 评论(0) 推荐(0) 编辑
摘要: Ubuntu系统下搭建VPN环境 以下是基于Amazon EC2/Ubuntu搭建PPTPD服务提供VPN连接的过程记录。至于为什么要搞VPN,大家都懂的。。。而我主要是要访问Python的一些网站以及使用我非常喜欢的Google docs。 PPTP采用TCP 1723端口,因此在Amazon E 阅读全文
posted @ 2016-02-27 10:50 codeAB 阅读(56) 评论(0) 推荐(0) 编辑
摘要: 18. pptp Server Administration This section covers a few tricks on pptp server management. It is far from a complete guide. Any suggestions are welcom 阅读全文
posted @ 2016-02-16 17:07 codeAB 阅读(493) 评论(0) 推荐(0) 编辑
摘要: import sysfrom PyQt5.QtCore import pyqtSignal, QObjectfrom PyQt5.QtWidgets import QMainWindow, QApplicationclass mysignal(QObject): closeApp = pyqt... 阅读全文
posted @ 2015-12-08 14:59 codeAB 阅读(2393) 评论(0) 推荐(0) 编辑
摘要: 这个例子相对综合一些,包括qt的布局,实现无边框效果,无边框也就是没有了窗口的title栏,没有title栏就不能拖动了,所以我们进一步讲如何实现拖动。通过这边文章你可以掌握qt的布局,窗口定制,重写qt方法,QSS样式,事件信号先上例子,后面在分析代码#!/usr/bin/python3# -*-... 阅读全文
posted @ 2015-12-04 15:31 codeAB 阅读(11539) 评论(0) 推荐(0) 编辑
摘要: 这个程序虽然小,具备pyqt程序的皱型,可以作为一个模板使用了#!/usr/bin/python3# -*- coding: utf-8 -*-import sysfrom PyQt5.QtWidgets import QApplication, QWidgetclass Example(QWidg... 阅读全文
posted @ 2015-12-03 17:07 codeAB 阅读(882) 评论(0) 推荐(0) 编辑
摘要: 安装完PyQt后我们去看看这个库里面有些什么cd /usr/lib/python3/dist-packages/PyQt5/ && ls都是些.so的动态链接库,这就是为什么我们在安装pyqt前要先安装sip的缘故了sip就是用来调用这些动态库的,想要了解更多sip知识请自行百度,这里不是我们要讲的... 阅读全文
posted @ 2015-12-03 15:31 codeAB 阅读(3712) 评论(0) 推荐(0) 编辑
上一页 1 ··· 4 5 6 7 8 9 10 下一页