自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

  • 博客(11)
  • 资源 (3)
  • 收藏
  • 关注

原创 python操作sqlite3

1.SELECTimport sqlite3conn = sqlite3.connect('example.db')cur = conn.cursor()cur.execute("SELECT * FROM stocks WHERE symbol = '%s'" % symbol)data = cur.fetchall()conn.close()2.UPDATEimpor...

2019-06-16 10:57:56 118

转载 服务器环境搭建脚本

服务器环境搭建脚本yum -y install wget screen curl python #for CentOS/Redhat# apt-get -y install wget screen curl python #for Debian/Ubuntuwget http://aliyun-oss.linuxeye.com/oneinstack-full.tar.gz #阿里云经典网...

2019-05-24 15:34:50 1130

原创 ftp问题

ubuntu:https://www.cnblogs.com/hexige/p/7809481.htmlxampp:自带的filezilla

2019-05-21 11:24:53 201

原创 xampp里面phpmyadmin远程访问

httpd-xampp.conf打开该文件后进入编辑模式,并将# since XAMPP 1.4.3<Directory "/opt/lampp/phpmyadmin"> AllowOverride AuthConfig Limit Require local ErrorDocument 403 /error/XAMPP_FORBIDDEN.html...

2019-05-21 11:14:21 967

原创 WordPress网站迁移

WordPress网站迁移要从A空间迁移到B空间。有2种情况,代表你手上拥有的资源:1) A空间+a域名,B空间+b域名2) A空间+a域名,B空间+a域名假设我现在有个A空间存放着网站,同时绑定着顶级域名,现在要换到B空间去挂网站,要么重新配个域名,要么沿用原有的域名。当然,第一种情况是几乎不会存在的,因为即便新配一个域名在新空间。老域名还是可以继续解析到新空间的,没...

2019-05-18 14:18:36 1773

原创 一些Linux命令

1.压缩与解压压缩tar -cvf jpg.tar *.jpg //将目录里所有jpg文件打包成tar.jpgtar -czf jpg.tar.gz *.jpg //将目录里所有jpg文件打包成jpg.tar后,并且将其用gzip压缩,生成一个gzip压缩过的包,命名为jpg.tar.gztar -cjf jpg.tar.bz2 *.jpg //将目录里所有jpg文件打包成...

2019-04-11 11:12:02 192

原创 用到的一些html技巧

1.html原样输出html代码<xmp>********</xmp>2.<table>加边框<table border="8">

2019-04-11 10:37:46 95

原创 各种远程访问问题

1.外网访问WordPress时无法加载样式表CSS解决wordpress无法加载css的问题也很简单。先忍受wordpress无法加载css的问题,进入wordpress后台,进入设置=>常规,设置“wordpress地址(URL)”和“站点地址(URL)”把这两个地址设置成本机IP就可以了。也可以直接进入mysql修改,比如打开phpmyadmin,找到WordPress数据中的w...

2019-04-09 23:09:51 182

原创 xampp的php加载sqlite3出现php class 'sqlite3' not found

找到\xampp\php\php.ini去掉extension=php_sqlite3.dll的注释OK

2019-04-03 11:15:58 1143

原创 解决用ST3保存php文件跳出Warning PHP7.0 or newer is required

PHP版本为5.6,用st3写PHP时保存时,会跳出Warning PHP7.0 or newer is required...这是st的一个插件phpfmt造成的解决:找到phpfmt.py,搜索7.0, 搜到: if ('PHP 5.3' in res.decode('utf-8') or 'PHP 5.3' in err.decode('utf-8') or 'PHP...

2019-04-03 10:35:52 448

原创 scrapy中的css选择器

scrapy 中的css使用方法:①response.css('a')返回的是selector对象,②response.css('a').extract()返回的是a标签对象③response.css('a::text').extract_first()返回的是第一个a标签中文本的值④response.css('a::attr(href)').ex...

2019-04-01 14:39:32 1952 1

Data Structures and Algorithm Analysis in C++, Third Edition.pdf

Data Structures and Algorithm Analysis in C++, Third Edition.pdf

2014-08-15

超声波测距的说明文档

超声波测距的说明文档,内有电路图,原理和具体操作的说明,还附有程序,蛮实用的-Ultrasonic Ranging documentation, which have circuit diagrams, principles and specific description of the operation, but also with the procedure, pretty and practical

2009-08-10

GetHardwareInfo

在windows下用汇编获取电脑硬件信息-In the windows of access to computer hardware used to compile information

2009-08-10

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除