`
fanlei77
  • 浏览: 114919 次
  • 性别: Icon_minigender_1
  • 来自: 大连
社区版块
存档分类
最新评论
文章列表
1,中文名字后带英文字符,并且总长度不大于16位 ^(?=.{1,16}$)[\\u4e00-\\u9fa5]{1,16}[a-zA-Z]{0,16}$
1,创建数据库并且UTF8编码 CREATE DATABASE {tablename} DEFAULT CHARACTER SET UTF8 COLLATE utf8_general_ci; 2,显示特定表的建表语句 show create table {tablename}; 3,查看系统字符集设置 show variables like 'char%' 4,Oracle SQLDeveloper连接配置文件位置 C:\Users\{UserName}\AppData\Roaming\SQL Developer\system17.2.0.188.1159\o.jdeveloper.db. ...
1,查看内核版本信息: uname -a 2,查看发行版本信息: cat /etc/issue cat /etc/redhat-release 3,sudo执行上条没有权限的命令 sudo !! 4,ssh登陆和退出 ssh jenkins@test.com ~. 5,查看内存使用 free -m 6,启动指定服务 sudo service start jenkins sudo service st ...
--返回当前日期年度的第一天 select trunc(sysdate,'year') from dual; --返回当前日期月份的第一天 select trunc(sysdate,'month') from dual; --上月最后一天 select last_day(add_months(sysdate, -1)) from dual; --给定日期后最近星期几的日期 select next_day(to_date('2009-12-01', 'yyyy-mm-dd'), '星期一') next_day from dual; --查找表中多余的重复记录,重复记录是根据单个字段 ...
1. 回到文件开始 gg 2. 回到文件末尾 G 3. 向下查找内容,用n或者N跳转 / 4. 向上查找内容,用n或者N跳转 ? 5. 切换成tail -f F

Vi命令

    博客分类:
  • Unix
Vi和Vim,你总得会一个吧

Git全局配置

    博客分类:
  • Git
git config --global --edit

Docker命令收集

1, 连接Docker的Container docker exec -t -i #{containerId} /bin/bash 2, 退出上面连接的Container Ctrl+P Ctrl+Q
再见了,iteye

Pro Git摘要

    博客分类:
  • Git
1.基础配置 git config --list git help branch 2.基本操作 跳过暂存直接提交 git commit -a -m 'Detailed comment' 3.日志,纯靠背的日志 查看最近两次提交的内容差异 git log -p -2 查看每次提交简略的统计信息 git log --stat 自定义格式查看日志 git log --pretty=format:"%an : %s" 选项 说明%H 提交对象(commit)的完整哈希字串%h 提交对象的简短哈希字串%T 树对象(tree)的完整哈希字串%t 树对象的简短哈希字串%P 父对象 ...

HEAD^ vs HEAD~

    博客分类:
  • Git
G H I J \ / \ / D E F \ | / \ \ | / | \|/ | B C \ / \ / A A = = A^0 B = A^ = A^1 = A~1 C = A^2 = A^2 D = A^^ = A^1^1 = A~2 E = B^2 = A^^2 F = B^3 = A^^3 G = A^^^ = A^1^1^1 = A~3 H = D^2 = B^^2 ...

Maven FAQ

1, 将第三方jar包上传到Nexus仓库 mvn deploy:deploy-file -Durl=http://nexus.aws.xxx.com:8081/repository/maven-central -DrepositoryId=xxx-nexus -Dfile=./spock-core-1.1-groovy-2.4.jar -DpomFile=./spock-core-1.1-groovy-2.4.pom -Dsources=./spock-core-1.1-groovy-2.4-sources.jar 修改settingx.xml文件,添加用户名和密码 <servers& ...

Gradle命令收集

1, SNAPSHOT依赖实时更新 dependencies { compile group: "group", name: "projectA", version: "1.1-SNAPSHOT", changing: true } 2, 跳过执行测试代码 gradle build -x test 3, 查看各周期的包依赖 gradle dependencies --configuration testCompile gradle dependencies --configuration compile
Quick walkthrough: 1) Create a new Project 2) Create a TestSuite in the Project 3) Create a TestCase in the TestSuite 4) Add an HTTP TestRequest Step to the TestCase -> Set the endpoint to the URL you want to upload to -> Set the method to POST (or PUT) 5) In the Request Editor add the File yo ...
我们在开发REST服务的时候,尤其是做中文项目的时候,会遇到传入参数乱码的问题,这个就比较麻烦了,因为原因真的很复杂,根本不止我所列的两个地方,还得具体问题具体分析了。 如果你用的是Spring MVC,首先要检查一下CharacterEncodingFilter是否配置了编码 <filter> <filter-name>encodingFilter</filter-name> <filter-class>org.springframework.web.filter.CharacterEncodingFilter</filter- ...
Global site tag (gtag.js) - Google Analytics