上一页 1 ··· 10 11 12 13 14 15 16 17 18 ··· 20 下一页

2017年3月8日

在vs code中使用ftp-sync插件实现客户端与服务器端代码的同步

摘要: 在vs code中使用ftp-sync插件实现客户端与服务器端代码的同步 下载安装 vscode-ftp-sync 插件。 安装方法1. Ctrl+Shift+P 输入 ext install [插件关键字/名称] 安装方法2. Ctrl+Shift+P (或F1) 输入 Extensions, 选 阅读全文

posted @ 2017-03-08 22:05 果然朝辉 阅读(787) 评论(0) 推荐(0) 编辑

2017年3月7日

局域网里别人如何访问我本地电脑里的nginx网站

摘要: 1.修改nginx.conf配置文件(我这里配了二级域名,所以我在二级域名配置文件修改) 把deny all全部改成autoindex on 2.关闭防火墙 3.重启nginx 阅读全文

posted @ 2017-03-07 19:30 果然朝辉 阅读(1406) 评论(0) 推荐(0) 编辑

零碎知识

摘要: 1.DIRECTORY_SEPARATOR:目录分隔符,是定义php的内置常量。在调试机器上,在windows我们习惯性的使用“\”作为文件分隔符,但是在linux上系统不认识这个标识,于是就要引入这个php内置常量了:DIRECTORY_SEPARATOR 2.seesion_start()启动不 阅读全文

posted @ 2017-03-07 17:14 果然朝辉 阅读(134) 评论(0) 推荐(0) 编辑

注释代码片段

摘要: { /*vs code IDE代码注释*/ "file and class notes": { "prefix": "n1", "body": ["/*\n* $1\n* \n* $2\n* \n* @author $3\n* @create $4\n* @version $5\n*/" ], "d 阅读全文

posted @ 2017-03-07 13:05 果然朝辉 阅读(151) 评论(0) 推荐(0) 编辑

更新docker时间-需要重启docker

摘要: 更新docker时间:1.docker run -d -v /etc/localtime:/etc/localtime:ro [IMAGE] 2.重启,docker-compose up -d 3.docker exec [container id] date 阅读全文

posted @ 2017-03-07 11:20 果然朝辉 阅读(539) 评论(0) 推荐(0) 编辑

2017年2月2日

mysql随机查询若干条数据的方法

摘要: ![](http://images2015.cnblogs.com/blog/1085906/201702/1085906-20170202002912589-749980327.png) 阅读全文

posted @ 2017-02-02 00:28 果然朝辉 阅读(160) 评论(0) 推荐(0) 编辑

二分查找算法

摘要: ![](http://images2015.cnblogs.com/blog/1085906/201702/1085906-20170202002522167-1253189114.png) 阅读全文

posted @ 2017-02-02 00:26 果然朝辉 阅读(117) 评论(0) 推荐(0) 编辑

linux升级内核

摘要: ![](http://images2015.cnblogs.com/blog/1085906/201702/1085906-20170202002402729-1124296697.png) 阅读全文

posted @ 2017-02-02 00:25 果然朝辉 阅读(113) 评论(0) 推荐(0) 编辑

检测键值对是否在一个数组里

摘要: ![](http://images2015.cnblogs.com/blog/1085906/201702/1085906-20170202002220042-1885950898.png) 阅读全文

posted @ 2017-02-02 00:23 果然朝辉 阅读(182) 评论(0) 推荐(0) 编辑

markdown语法笔记

摘要: 内部跳转 [这是一个按钮](#测试标题) - 1 - 1 - 1 # 测试标题 这是一个按钮 1 1 1 测试标题 表格 格式如下: |vscode插件|备注| |:--:|:--:| |Markdown PDF|把markdown文件转换成别的文件| vscode插件 备注 Markdown PD 阅读全文

posted @ 2017-02-02 00:20 果然朝辉 阅读(153) 评论(0) 推荐(0) 编辑

微信企业号-卡券

摘要: / 卡劵服务start / / 上传卡劵LOGO @param string $access_token @param array $file $_FILES数组中的单个元素 @return string $url 商户logo_url / public function upload_card_l 阅读全文

posted @ 2017-02-02 00:12 果然朝辉 阅读(408) 评论(0) 推荐(0) 编辑

2017年2月1日

linux 修改hosts文件

摘要: 1、修改hostssudo gedit /etc/hosts2、添加解析记录( . )完整案例:127.0.0.1 localhost.localdomain localhost简洁记录:127.0.0.1 localhost3、保存后重启网络sudo /etc/init.d/networking 阅读全文

posted @ 2017-02-01 00:05 果然朝辉 阅读(365) 评论(0) 推荐(0) 编辑

2017年1月31日

Ubuntu 配置vsftpd实现FTP服务器

摘要: 0.vsftpd是啥玩意 都不知道安装了个啥东西,那就没意思了,所以先去了解下什么是vsftpd。vsftpd意思为“very secure FTP daemon(非常安全的FTP进程)”,当然只有更安全没有最安全。 那它到底安全在哪里呢,主要体现在以下两点: 权限控制,vsftpd以一般用户登录, 阅读全文

posted @ 2017-01-31 23:38 果然朝辉 阅读(632) 评论(0) 推荐(0) 编辑

Xshell登录Ubuntu12.04

摘要: Ubuntu安装ssh服务:sudo apt-get install openssh-server打开Xshell,选择“新建”,“连接”设置里选择SSH,主机填入需要连接的主机的IP地址。在“用户身份验证”中填入可用的登录Ubuntu的用户名和密码。设置完成后,就可以直接连接主机了。 阅读全文

posted @ 2017-01-31 18:17 果然朝辉 阅读(140) 评论(0) 推荐(0) 编辑

ubuntu如何设置开机启动默认命令行界面

摘要: 图形模式下,首先进入终端: 1. 运行 sudo vi/etc/default/grub 2. 找到 GRUB_CMDLINE_LINUX_DEFAULT=”quiet splash” 3.改为 GRUB_CMDLINE_LINUX_DEFAULT=”quiet splash text” 4.运行 阅读全文

posted @ 2017-01-31 18:12 果然朝辉 阅读(717) 评论(0) 推荐(0) 编辑

上一页 1 ··· 10 11 12 13 14 15 16 17 18 ··· 20 下一页

导航