笔记
菜鸟学习编程
这个作者很懒,什么都没留下…
展开
-
python学习过程中知识点和遇到的坑记录
记录python学习过程知识点1. BeautifulSoup简单用法req1 = requests.get(url)req1 = requests.get(url)result1 = BeautifulSoup(result1,‘lxml’)divs = result1.find_all(‘div’)获取所有的divcontent = result1.find(id=‘chapter...原创 2018-12-10 14:04:01 · 3615 阅读 · 1 评论 -
PHP学习过程中遇到的坑
使用windows服务器,phpstuday 第一天服务器配置好访问没有问题。第二天发现访问php文件nginx会报错,以下是错误日志:2018/12/08 16:26:34 [error] 35824#34560: *55 upstream timed out (10060: A connection attempt failed because the connected party did...原创 2018-12-10 14:13:31 · 966 阅读 · 0 评论 -
laravel str_limit用法
v[′title′]=strlimit(v['title'] = str_limit(v[′title′]=strlimit(v[‘title’],34,’’);str_limit(string,int,str)string 要处理的字符int 需要留下的字符长度str 多出部分用str替换显示...原创 2018-12-28 10:10:50 · 3362 阅读 · 0 评论 -
mysql 报错 1290
ERROR 1290 (HY000): The MySQL server is running with the --skip-grant-tables option so it cannot execute this statemen先执行一下flush privileges;在执行添加用户命令mysql> flush privileges;Query OK, 0 rows af...原创 2018-12-28 10:30:49 · 5548 阅读 · 0 评论 -
html web页自动拨打400分机号
拨打电话 <a href="tel:400xxxxxx,111%23">一键拨号</a>“,”标识停顿一下 111是分机号码 %23代表#号键结束原创 2019-01-10 16:55:13 · 1595 阅读 · 2 评论