- 博客(29)
- 收藏
- 关注
原创 maven的xml配置文件内容
<?xml version="1.0" encoding="UTF-8"?><!--Licensed to the Apache Software Foundation (ASF) under oneor more contributor license agreements. See the NOTICE filedistributed with this work...
2019-12-12 09:51:46 30225
转载 记录上传git失败 refusing to merge unrelated histories
1,本地建立git 仓库2. 在github闯将相应的仓库3. 使用下图建立连接4. 只想pull 的时候出现refusing to merge unrelated histories5. 到根目录6. 使用git bash here 执行git pull origin master--allow-unrelated-histories。可以提交成功。7 .再次...
2019-07-01 11:40:19 167
原创 ssm实现注册简单的用户增删改查
链接:https://pan.baidu.com/s/1K63k4cdzEmRx8uuEyysbww 密码:xhda 自己下就行,永久有效,就是简答的增删改查,jar包都有,jdk1.8
2018-07-30 21:47:43 2317 6
原创 mysql基本语法
数据库的基本语法1.查询select * from tablename where (属性)=value;2updateupdate tablename set (属性)=value,(属性)=value;3.插入insert into tablename (属性,属性) values (value,value);4.删除delete from tablename where (条件);...
2018-07-16 09:25:39 154
原创 mysql插入中文乱码
1.连接数据库时加上?useUnicode=true&characterEncoding=UTF-8这一句话。如下所示:"jdbc:mysql://localhost:3306/sgmanagement?useUnicode=true&characterEncoding=UTF-8";这句话很有用,有时候即使修改了表结构以及数据库结构都不如这句话有用2.修改my.ini属性文件,m...
2018-07-16 09:10:59 131
翻译 面试宝典,慢慢整理的参考的网上
1. OSI七层协议、TCP/IP四层协议 应用层:直接为用户的应用进程提供服务,如 HTTP、支持文件传输的 FTP 协议等 运输层:向两个主机中进程之间的通信提供服务。由于一个主机可同时运行多个进程,因此运输层有复用和分用的功能。复用就是多个应用层进程可同时使用下面运输层的服务。分用则是运输层把收到的信息分别交付给上面应用层中的相应的进程。运输层主要使用以下两种协议:1.传输控
2018-01-20 22:53:59 937
原创 关于工作后的一些感悟
大学不仅仅是大概学学而已,你以为不重要的东西,到了面试的时候偶他确实意外的核心呢!基础课不能拉下,计算机网络、操作系统,对,就是这2门,还有数据结构这门课程,哦,对了,如果真的要走程序员这条道路的话,那么请你高二就开始打算,因为后来的技术恶补是差的很远的,你跟别人的起点都不一样。平时要记得多写代码,不要眼高手低,想出来的东西,不写一下你还真不可能不知道自己写不出来!多写代码,多看书,技术发展是
2018-01-19 22:50:18 288
转载 冒泡排序
public static void main(String[] args) {int[] intarray = {1,2,33,5,34,67,231,8};System.out.println("排序前的数组:");for (int a : intarray) {System.out.print(a+" ");}System.out.println();int
2017-04-20 10:27:31 222
转载 选择排序
public static void main(String[] args) {int[] intarray={1,23,45,66,2,332,8,5};int keyvalue;int index;int temp;System.out.println("排序前的数组元素");for(int a :intarray){System.out.print(a+" ");
2017-04-20 10:19:55 149
转载 完数
public static void main(String[] args){int factor = 0;for(int i = 1;i //每执行完一次如下的循环,就会将i的所有的因子累加到factor中for(int j = 1;j if(i % j == 0){factor += j;}}if(i == factor){System.out.prin
2017-04-10 16:45:49 239
原创 银行系统
先创建一个银行类public class Bank {double allMoney;double leftMoney;//剩下的钱double wantMoney;//想要取得钱public Bank(double allMoney) {super();this.allMoney = allMoney;}public double getAllMo
2017-03-06 21:06:54 254
转载 简单的jav练习
//定义方法第一个java类package aixi;public class Arrayds {//求数组的最大值public int getMax(int[] arr){int max=arr[0];for(int i = 1; i if(max max = arr[i];}}return max;}//求数组的最小值public
2016-12-04 21:31:29 2893
翻译 质数二(要讲究效率,)
public class Mianshi {public static void main(String[] args){l:for(int i=2; i{//实现100以内的自然数遍历//如何判断i否是是一个质数for(int j=2; j{if(i%j==0){continue l;}}System.out.println(i
2016-11-30 15:16:44 210
转载 关于HTML语法规则你需要知道的
1.文档的开头应当是文档类型说明,告诉浏览器希望使用哪种HTML版本2.Wen页面应当仅包含一个html元素,他恰好有两部分组成,其顺序为head元素后面跟一个body元素3.头元素包含文档的相关信息,其中一些子元素,用于表示页面标题(title),到其他web资源的链接(link),样式信息(style),脚本(script),一般信息(meta)及其他。强烈建议提供一个,meta元素,
2016-11-28 11:06:59 943
转载 web增删节点
创建于删除节点var all; function addParagraph() { all =document.getElementById("paragraphs").childNodes; var newElement =document.createElement("p"); var seq = all.length+1; //创建新属性 var ne
2016-11-17 16:30:48 195
转载 web练习 显示当前时间
显示当前时间 function showDate() {var d=new Date();alert(d.getFullYear()+"年"+(d.getMonth()+1)+"月"+d.getDate()+"日"); }注意月份要加一年份四位数的好要用fullyear
2016-11-17 15:31:19 374
转载 C#日常练习300以内能被3.5整除
using System;using System.Collections.Generic;using System.Linq;using System.Text;namespace 吸奶{ class Program { static void Main(string[] args) {
2016-11-17 09:48:22 655
翻译 ArrayList
using System;using System.Collections;using System.Collections.Generic;using System.Linq;using System.Text;namespace ConsoleApplication1{ class Program { static void
2016-11-15 09:45:56 191
翻译 HTML三种话框
无标题文档function info(){alert("基本对话框");}function choose(){ //使用对话框返回选择的结果if(confirm("请按'确认'或'取消'进行选择")){alert("你按下了确认按钮");}else{alert("你按下了取消按钮");}
2016-11-13 18:01:10 559
转载 date
g/setFullYear() 返回/设置年份,用四位数表示g/setYear( ) 返回设置年份,用两位数表示g/setMonth () 返回设置月份g/setDate() 返回设置日期g/setDay() 返回设置星期,0表示星期天g/set Hours() 返回设置小时数,24小时制g/setMinutes()
2016-11-13 11:23:28 150
翻译 表单(穷途末路)
无标题文档 用户名: 密码: function login_submit() //登录验证函数 {if(document.login.u
2016-11-13 10:58:49 205
翻译 枚举星期
using System;using System.Collections.Generic;using System.Linq;using System.Text;namespace xingqi{ class Program { public enum WeekDay { Mon = 1
2016-11-09 09:32:45 362
翻译 乘法表
using System;using System.Collections.Generic;using System.Linq;using System.Text;namespace sa{ class chen { static void Main(string[] args) {
2016-11-08 11:47:08 282
翻译 菜鸟入门C#(四)
using System;using System.Collections.Generic;using System.Linq;using System.Text;namespace 温度{ class Program { static void Main(string[] args) {
2016-11-08 09:22:20 200
翻译 菜鸟c#热门(三)去反序数
using System;using System.Collections.Generic;using System.Linq;using System.Text;namespace 反序数{ class Program { static void Main(string[] args) {
2016-11-06 19:46:31 340
翻译 C#菜鸟养成(二)
using System;using System.Collections.Generic;using System.Linq;using System.Text;namespace 取字段{ class Program { static void Main(string[] args) {
2016-11-06 16:56:09 194
翻译 菜鸟的入门(一)
using System;using System.Collections.Generic;using System.Linq;using System.Text;namespace 三角形{ class Program { static void Main(string[] args) {
2016-11-06 16:31:27 42501
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人