Don't Repeat Yourself! Convention Over Configuration. REST. Rails框架总览。 Rails框架基本使用。 Rails框架数据交互。 Rails框架前端开发。 1.yum安装: yum install rubygems ruby-devel ...
分类:
其他好文 时间:
2021-02-17 15:06:11
阅读次数:
0
正则表达式(regular expression)是记录文本规则的代码。 在编程处理文本的过程中,经常会需要按照某种规则去查找一些特定的字符串。我们可以利用这些规律,让程序自动做事情。 许多编程语言都支持正则表达式,包括C#、Java、JavaScript、Python、Ruby等主流语言。 历史 ...
分类:
其他好文 时间:
2021-02-16 12:28:08
阅读次数:
0
An error occurred while installing rjb (1.6.4), and Bundler cannot continue. Make sure that `gem install rjb -v '1.6.4' --source 'https://gems.ruby-ch ...
分类:
其他好文 时间:
2021-02-10 13:00:46
阅读次数:
0
方法介绍: 通过调用“Python.exe”程序,执行脚本文件。所以,本方式要求电脑上已经安装了Python,拥有程序Python.exe程序。 现在,有如下py脚本:Add.py import sys def Add(a,b): return a+b if __name__=='__main__' ...
分类:
编程语言 时间:
2021-02-08 12:22:54
阅读次数:
0
<html> <head> <script src="jquery-3.5.1.js"></script> </head> <body> <script> createOrOpenDb("teamtalk"); //新建或打开已有数据库 function createOrOpenDb(dbName) ...
分类:
数据库 时间:
2021-02-08 12:14:15
阅读次数:
0
队列的顺序存储 //顺环队列 头出尾进 #define MaxSize 100 struct QNode { ElementType Data[MaxSize]; int rear; //尾 int front; //头 }; typedef struct QNode *Queue; //入队列 v ...
分类:
其他好文 时间:
2021-02-06 11:58:48
阅读次数:
0
SSH: Disconnecting configuration [192.168.2.68] ... ERROR: Exception when publishing, exception message [Exec timed out or was interrupted after 120,0 ...
分类:
其他好文 时间:
2021-02-05 10:37:04
阅读次数:
0
前端去处理节日 逻辑 要处理哪一年的。 哪一年,每月的天数。 判断,放入数组。 let array = []; let yearNow = new Date().getFullYear(); for(let i=0;i<12;i++){ //月份加一 let date = new Date(year ...
分类:
Web程序 时间:
2021-02-04 12:04:13
阅读次数:
0
命令: composer config -g repo.packagist composer https://mirrors.aliyun.com/composer/ 阿里云目前已经正式上线PHP Composer全量镜像,所有PHP开发者都可以通过我们的开发者社区 developer.aliyun ...
分类:
其他好文 时间:
2021-02-04 11:53:25
阅读次数:
0
let require = ()=>{throw new Error('函数必须传参')} let print = (num=require())=>{console.log(num)} print(2) // 2 print(null) // null print() // 报错 ...
分类:
其他好文 时间:
2021-02-04 11:52:57
阅读次数:
0