05 2021 档案

摘要:添加字段 控制台上执行下面的命令 rails g migration addColumnToBlackIps send_time:datetime 会生成文件db/migrate/20210529131328_add_column_to_black_ips.rb class AddColumnToB 阅读全文
posted @ 2021-05-29 21:20 HaimaBlog 阅读(414) 评论(0) 推荐(0) 编辑
摘要:start.sh #!/bin/bash nohup rails s Puma -d >> run_log.log 2>&1 & stop.sh #!/bin/bash ps -ef |grep puma |awk '{print $2}'|xargs kill -9 阅读全文
posted @ 2021-05-29 18:59 HaimaBlog 阅读(70) 评论(0) 推荐(0) 编辑
摘要:https://sysin.org/article/vmware-workstation-16-slic/ 阅读全文
posted @ 2021-05-26 23:38 HaimaBlog 阅读(387) 评论(0) 推荐(0) 编辑
摘要:下载ruby 下载地址: ruby各版本下载地址 https://rubyinstaller.org/downloads/ 2.3.3版本 https://www.cr173.com/soft/14252.html 下载后安装 这里以2.7.3为例 双击安装后 回车 回车 C:\Users\Admi 阅读全文
posted @ 2021-05-25 18:08 HaimaBlog 阅读(476) 评论(0) 推荐(0) 编辑
摘要:https://blog.51cto.com/abian/1337989 阅读全文
posted @ 2021-05-19 12:22 HaimaBlog 阅读(27) 评论(0) 推荐(0) 编辑
摘要:github地址 https://github.com/rest-client/rest-client gemfile里添加 gem 'rest-client', '~> 2.0' 执行 bundle install 代码里 # 要请求接口地址 # 上传文件的key名字 # file 文件的绝对路径 阅读全文
posted @ 2021-05-16 14:56 HaimaBlog 阅读(74) 评论(0) 推荐(0) 编辑
摘要:https://www.cnblogs.com/chentianwei/p/9227594.html 阅读全文
posted @ 2021-05-15 19:24 HaimaBlog 阅读(31) 评论(0) 推荐(0) 编辑
摘要:# 文件的当前目录 puts __FILE__ # string.rb # 文件的当前行 puts __LINE__ # 6 #文件的当前目录 puts __dir__ #/media/haima/34E401CC64DD0E28/site/ruby/RubyStudy/Lesson02 puts 阅读全文
posted @ 2021-05-15 11:17 HaimaBlog 阅读(81) 评论(0) 推荐(0) 编辑
摘要:debug启动 debug启动 安装插件 报错: 网络问题 下载 ruby-debug-ide-2.3.1 解压到 /home/haima/.rvm/gems/ruby-2.3.8/gems/ 阅读全文
posted @ 2021-05-13 12:08 HaimaBlog 阅读(107) 评论(0) 推荐(0) 编辑
摘要:rails s报如下错误 Could not find mimemagic-0.3.2 in any of the sources Run `bundle install` to install missing gems. haima@haima-PC:/media/haima/34E401CC64 阅读全文
posted @ 2021-05-12 21:16 HaimaBlog 阅读(796) 评论(0) 推荐(0) 编辑
摘要:Windows版下载地址: http://www.hostbuf.com/downloads/finalshell_install.exe Mac版,Linux版安装及教程: http://www.hostbuf.com/t/1059.html 更新日志: http://www.hostbuf.co 阅读全文
posted @ 2021-05-10 16:35 HaimaBlog 阅读(122) 评论(0) 推荐(0) 编辑
摘要:https://github.com/haimait/go-devise-encryptor package main import ( "fmt" //devisecrypto "haimait/learn/testdevise/go-devise-encryptor" "github.com/c 阅读全文
posted @ 2021-05-06 16:22 HaimaBlog 阅读(80) 评论(0) 推荐(0) 编辑
摘要:macos10136 黑苹果usb无线网卡 1.系统下载: 下面是我自制的带clover 4596版本的u盘镜像: 链接: https://pan.baidu.com/s/1wRdVddwkei7bfeO8g09faA 密码: ycxw 原文件地址: https://cloud.tencent.co 阅读全文
posted @ 2021-05-03 09:24 HaimaBlog 阅读(2343) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示