![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
不是在解决BUG的路上,就是在写BUG的路上
文章平均质量分 51
踩坑集合栏
Alance9
这个作者很懒,什么都没留下…
展开
-
pycharm 隐藏或显示文件类型
pycharm 使用过程中,隐藏或显示文件类型File - Setting - Editor - File Types如果期望显示 pyc 文件,则删除忽略项的 *.pyc;原创 2021-08-23 10:25:00 · 4285 阅读 · 0 评论 -
3-4 Linux 搭建 PHP 环境
linux 搭建 PHP 环境配置:1、Mysql 5.62、PHP 5.43、Apache 2.2卸载已安装的 mysql (没安装过 mysql 可跳过)在 /opt 目录中创建 mysql 目录 ,存放 mysql 安装包rpm 安装 mysql 包,启动 mysql ,查看 root 密码进入mysql 配置密码,重启 mysql修改系统时间修改镜像文件rpm 升级 php 版本,指定服务器 - yum 源安装 php 以及扩展插件部署代码,上传解压,移动目录或配置虚拟原创 2021-04-19 11:02:16 · 368 阅读 · 2 评论 -
3-6 Linux 重新安装 Mysql
1. 验证 mysql 是否安装2. 卸载之前的 mysql 3. 安装新的 mysql 4. 配置 root 用户密码5. 总结 Linux 重新安装 Mysql 的步骤1. 验证 mysql 是否安装rpm -qa | grep -i mysql# -i:不区分大小写验证 mysql 是否安装:[root@localhost ~]# rpm -qa | grep -i mysqlmysql-server-5.1.73-5.el6_6.i686mysql-libs-5..原创 2021-04-18 19:52:50 · 282 阅读 · 1 评论 -
3-5 Linux 配置 yum 源
1. 输入 yum list 查看安装包时,出现以下错误[root@localhost ~]# yum listLoaded plugins: fastestmirror, refresh-packagekit, securityLoading mirror speeds from cached hostfileYumRepo Error: All mirror URLs are not using ftp, http[s] or file. Eg. Invalid release/repo/ar原创 2021-04-18 16:21:35 · 237 阅读 · 0 评论 -
python 读取 *.csv文件遇到的问题
# 代码块如下import csvfile=open("list.csv","r+")ls=csv.reader(file,dialect='excel')ls=list(ls)print(ls)file.close()问题一:# 执行代码后报错,'gbk'编码问题Traceback (most recent call last): File "F:/test/python_test/demo/selenium_tset/day03_test.py", line 5, in &原创 2021-04-10 15:18:01 · 199 阅读 · 0 评论 -
5-1 安装 Python 及 Pycharm (Windows)
python下载地址:https://www.python.org/downloads/windows/1. 下载 python 安装包2. 安装 python3. 配置环境变量4. 下载安装 pycharm5. pycharm 的使用1. 下载 python 安装包2. 安装 pythonPS:最好添加在 C 盘,不然后期会出现各种错误3. 配置环境变量在 Path 中添加 python 安装路径:C:\Pyhon\Python37\Scripts;C:\Py原创 2021-03-23 10:50:44 · 180 阅读 · 1 评论 -
Mysql - ERROR 1045 (28000) 解决方法
cmd 输入 mysql 出现以下错误时:C:\Users\Administrator>mysqlERROR 1045 (28000): Access denied for user 'ODBC'@'localhost' (using password: NO)解决方法关闭 mysql 服务,运行 cmd:net stop mysql或者 运行 services.msc,停止 mysql 服务打开 mysql 安装路径,如:C:\Program Files (x86)\M原创 2021-03-20 17:06:01 · 275 阅读 · 2 评论 -
Ruby on Rails 使用 Vagrant box 搭建环境
在Windows下安装Ruby有点麻烦,为了节约⼤家的时间,统⼀开发环境,可以采⽤ Vagrant box 的⽅式安装环境。Vagrant是⼀个虚拟机外挂,可以简化虚拟机软件操作。安装 Vagrant boxVagrant box --下载地址:https://www.virtualbox.org/wiki/Downloads选择需要的版本下载并安装安装 VagrantVa...原创 2020-05-11 17:20:52 · 168 阅读 · 0 评论 -
Rails + Select2 完美解决多选框问题
国内关于rails这方面的资料太少了,想写个好看又实用的多选框,原创 2020-01-13 15:52:13 · 672 阅读 · 0 评论 -
Ruby on Rails undefined method `where' for xx:Module Did you mean? when的解决方法
undefined method `where' for Admin::Teacher:Module Did you mean? when无法找到该Teacher方法,在model模型中,可能有Teacher方法而造成冲突。在写controller控制器时,以下命名方式将会带来问题:module Admin module Teacher class TeacherPhotosC...原创 2020-01-02 13:46:16 · 447 阅读 · 0 评论 -
微信小程序 发送请求 - 域名出错问题
下午post表单时遇到了:在向接口发送请求时,会出现合法域名校验出错的问题解决方法一:打开详情 - 本地设置 勾选该项解决方法二:进入微信公众平台小程序,打开开发 - 开发设置 配置域名...原创 2019-12-11 17:28:23 · 430 阅读 · 0 评论 -
Ruby on Rails 快速搭建环境
Ruby on Rails 是一个能实现快速便捷开发、部署、维护的MVC框架。Ruby 是语言,Rails 是框架。这里搭建的是 ruby 2.3.3 + rails 3.2.13 开发环境,如有版本需要,自行下载安装。ruby 2.3.3 下载链接:https://pan.baidu.com/s/1W-gGc5zYnoW5DjUW4ZzOGQ 提取码:lbip其他版本下载地址:htt...原创 2019-12-04 15:46:29 · 294 阅读 · 0 评论 -
Ruby sqlite3遇到的问题
我的配置版本创建项目rails new demo名称需要到目录下的Gemfile修改source 'http://gems.ruby-china.com'运行bundle install,会遇到找不到该版本sqlite3的问题Could not find gem ‘sqlite3 (= 1.3.0) x64-mingw32’ in any of the gem sourcesliste...原创 2019-12-03 10:04:59 · 352 阅读 · 0 评论 -
Visual Studio Code 好玩的打字插件 power mode 安装教程
Atom编辑器有一个炫酷的特效插件 activate-power-mode,vscode也有类似的插件 power mode。火焰效果粒子效果1)打开vscode,点开左侧扩展工具栏,输入 power mode ,点击安装2)打开 文件 》首选项 》设置打开 settings.json 文件3)在 json 文件里加入以下设置,这里使用的是火焰特效切换特效只需将前面注释符号...原创 2019-11-11 11:48:08 · 3504 阅读 · 0 评论 -
eclipse 汉化
Help - About Eclipse IDE,查看版本:2019-06官网汉化包直接下载:https://www.eclipse.org/babel/downloads.php根据版本下载,将压缩包 features 和 plugins 的内容,分别复制到 eclipse 安装位置对应的文件夹中。或者在线安装Help - Install New Software,点击 Add 添加(选择对应的版本下载地址)Location:https://download.eclipse.org/tec原创 2020-06-23 19:23:20 · 364 阅读 · 0 评论 -
eclipse 关闭空格补全(新版本)
此方法只适合新版本的 eclipse:Window - preferencesJava - Editor - Content Assist,勾选,即可解决。原创 2020-06-23 18:38:54 · 269 阅读 · 0 评论 -
Mysql服务无法启动,1064进程意外终止
net start mysql 出现问题:MySQL 服务正在启动 …MySQL 服务无法启动。系统出错。发生系统错误 1067。进程意外终止。最简单的解决方法:在 mysql 安装路径下:mysql-5.6.43-winx64\data 删除 ib_logfile0、ib_logfile1、ibdata1再次 net start mysql 启动 mysql 服务:其他解决方法后续补充。...原创 2020-06-17 05:20:04 · 871 阅读 · 0 评论 -
执行pip时出错:pip Fatal error in launcher: Unable to create process using
打开python安装地址删除文件:Python37 \ Lib \ site-packages \ pip-18.1.dist-info删除文件: Python37 \ Scripts \ pip*.exe然后在该地址打开cmd输入: python -m pip install --upgrade pip原创 2020-06-15 11:17:00 · 227 阅读 · 0 评论