上一页 1 ··· 7 8 9 10 11

2019年1月7日

解决nginx搭建图片服务器访问图片404

摘要: 总结一下今天用windows搭建nginx 的步骤 和 访问图片时提示404的错误。 搭建步骤: 1、打开nginx-1.10.2 中的nginx.conf文件。注意标红的三个框。 2、确保C:\ftpfile\img 下有对应的图片,不然会报404 错误。 3、在C:\window/system3 阅读全文

posted @ 2019-01-07 19:56 shaer 阅读(1217) 评论(0) 推荐(0) 编辑

2018年12月29日

mysql导入sql文件

摘要: 今天用到了导入文件,在这里做个笔记。 步骤: 打开cmd终端 进入mysql数据库:mysql -hlocalhost -uroot -p 输入数据库密码: 如果保存在新建的数据库里,需要新建数据库:CREATE DATABASE mysql 如果保存在已有数据库,直接显示、使用数据库即可 开始导入 阅读全文

posted @ 2018-12-29 17:38 shaer 阅读(232) 评论(0) 推荐(0) 编辑

2018年9月11日

35. Search Insert Position(python)

摘要: Given a sorted array and a target value, return the index if the target is found. If not, return the index where it would be if it were inserted in or 阅读全文

posted @ 2018-09-11 21:34 shaer 阅读(125) 评论(0) 推荐(0) 编辑

2018年9月10日

21. Merge Two Sorted Lists (python)

摘要: Merge two sorted linked lists and return it as a new list. The new list should be made by splicing together the nodes of the first two lists. Example: 阅读全文

posted @ 2018-09-10 22:50 shaer 阅读(321) 评论(0) 推荐(0) 编辑

2018年9月8日

20.Valid Parentheses (python)

摘要: 这道题主要用栈来实现的。什么是栈呢,参照书上的后缀表达式的例子谈谈自己的理解,栈最明显的特征是先进后出。所以可以有效的结合题目中 ()对匹配问题,可以把从列表中获取的符号先存到栈中。 首先建个空列表用于映射栈中元素。然后挨个查询传递过来的列表的每个元素,不在栈中就压进栈,在的话再看看是不是栈顶元素。 阅读全文

posted @ 2018-09-08 23:14 shaer 阅读(180) 评论(0) 推荐(0) 编辑

1.the sum (python)

摘要: Given an array of integers, return indices of the two numbers such that they add up to a specific target. You may assume that each input would have ex 阅读全文

posted @ 2018-09-08 20:44 shaer 阅读(220) 评论(0) 推荐(0) 编辑

上一页 1 ··· 7 8 9 10 11

导航