- 使用 ABP 框架 (ASP.NET Boilerplate Project) 创建一个带有迁移功能的示例
一个代码猎人
ASP.NETCoreefcorecodefirstasp.net后端
使用ABP框架(ASP.NETBoilerplateProject)创建一个带有迁移功能的示例项目是一个很好的方式来学习如何结合高级框架进行开发。ABP框架提供了强大的模块化和分层架构,适合构建复杂的企业级应用程序。以下是一个使用ABP框架的完整示例项目,它展示了如何创建一个包含Student实体的项目,并通过迁移功能管理数据库。1.创建ABP项目首先,通过ABPCLI创建一个新的ABP项目:ab
- Abp 从空白WebApplication开始
为风而战
Abpc#
开发环境:VS2022、.NET61、创建项目:BasicAspNetCoreApplication2、NuGet添加:Volo.Abp.AspNetCore.Mvc和Volo.Abp.Autofac,如下图所示:3、开始写代码,目录如下图所示:3.1、添加启动模块AppModule.csusingVolo.Abp;usingVolo.Abp.AspNetCore.Mvc;usingVolo.Ab
- Abp 从空白的WebApplication中添加EntityFrameworkCore生成数据库
为风而战
Abpc#asp.netsqlite
书接上文:Abp从空白WebApplication开始开发环境:.NET6、Volo.Abp数据库:Sqlite说明:纯属个人强行入门。我个人觉得按照官网的操作不舒服,所以自己研究着来,请读者根据自己的需要进行参考。我能保证的是按照文章操作能够得到和我一样的结果。1、项目搭建,将项目分为以下几个层1.1、用户接口层:目前放了空白的WebApplication,理论上不应该这样,先这么放着吧。项目名
- 使用Volo.Abp读取Sqlite表中数据
为风而战
Abp开发语言c#sqlite
书接上文:Abp从空白的WebApplication中添加EntityFrameworkCore生成数据库开发环境:.NET6、Volo.Abp数据库:Sqlite说明:纯属个人强行入门。我个人觉得按照官网的操作不舒服,所以自己研究着来,请读者根据自己的需要进行参考。我能保证的是按照文章操作能够得到和我一样的结果。1、在应用层中添加项目DemoApplication项目目录如下图所示:1.1、项目
- Abp vNext(一)说明
一个程序员_zhangzhen
abpvnext.netcore
平时工作中使用AbpvNext框架比较多,但没有把文档系统的学习过,对于技术人员,不管什么框架,基本上拿到框架就可以着手开发了,都是c#语言,每套系统只是业务不同罢了,对于写业务的技术人员,不在乎什么框架,反正拿来就能写。对于AbpvNext框架,虽然平时用的多,但如果不好好看看文档,还是不够的,AbpvNext是个不错的框架,里面的内容很丰富,开发中需要的技术点,他基本上都以囊括在内。AbpvN
- Abp vNext(三)数据迁移
一个程序员_zhangzhen
abpvnext.netcore
文档版本:7.0官方文档给的数据迁移的方式是这样的,第一步在Acme.BookStore.EntityFrameworkCore目录打开命令行终端输入以下命令:dotnetefmigrationsaddCreated_Book_Entity第二步运行Acme.BookStore.DbMigrator应用程序来更新数据库用上面方式,初始化数据库、增加字段以及删除字段,试了之后都没问题,可正常执行。这
- 官网生成带Zero的Abp出现Default language is not defined!的错误
公西雒
C#Abp梦想之旅abpmodulezero
官网生成的ABP+modulezero出现Defaultlanguageisnotdefined!的错误,原因是数据库没有language数据,而不是缺少language.xml资源文件,所以先创建数据库就好了。解决方法:1.选择Web项目作为起始项目。2.打开程序包管理控制台,选择“EntityFramework”项目作为默认项目,然后运行EF的'Update-Database'命令。该命令会创
- ASP.NET Core MVC中的两种404错误
人邮异步社区
ASP.NETHTTP404错误信息
我们在使用某些系统的时候,如果访问了一个不存在的地址怎么办,比如http://52abp.com/airport/fly;或者访问的地址路由和操作方法虽然存在,但是地址参数id不存在,比如https://www.52abp.com/BlogDetails/5这个信息是存在的,但是更改访问https://www.52abp.com/BlogDetails/100时,则提示博客内容不存在。在我们的系统
- LoRaWAN 帧计数机制及典型问题分析
iotisan
联-LoRalora物联网iotlorawan
这篇笔记对LoRaWAN常见的ABP设备帧计数问题进行了追踪分析,介绍了帧计数禁用的调试办法,以及一个不大常见却又隐蔽的细节问题。希望帮助LoRaWAN初学者系统性地了解LoRaWAN的帧计数机制。背景最近一周接连遇到了两个朋友关于LoRaWAN帧计数的问题咨询,特别是一个问题隐藏地比较深,好不容易排查了出来,因此做了笔记记录下。一个是朋友A发来的,他的问题很典型,很多初学者都会遇到,就是LoRa
- Abp 创建一个WPF的项目
为风而战
Abpwpf
开发环境:VS2022、.NET61、创建项目:MyWpfApp,这里不再废话了。2、NuGet添加:2.1、Volo.Abp.Autofac2.2、Serilog.Sinks.File2.3、Serilog.Sinks.Async2.4、Serilog.Extensions.Logging2.5、Serilog.Extensions.Hosting2.6、Microsoft.Extensions
- 基于DDD的现代ASP.NET开发框架--ABP系列之2、ABP入门教程
zzm_
数据库测试javascriptViewUI
基于DDD的现代ASP.NET开发框架--ABP系列之2、ABP入门教程ABP是“ASP.NETBoilerplateProject(ASP.NET样板项目)”的简称。ASP.NETBoilerplate是一个用最佳实践和流行技术开发现代WEB应用程序的新起点,它旨在成为一个通用的WEB应用程序框架和项目模板。ABP的官方网站:http://www.aspnetboilerplate.comABP
- Abp vNext(四)运行项目
一个程序员_zhangzhen
abpvnext.netcore
运行环境Win11vs2022AbpvNext7.0.0初始化数据库成功后,用swagger打开是正常的,但是浏览站点异常Anunhandledexceptionoccurredwhileprocessingtherequest.AbpException:Couldnotfindthebundlefile'/libs/abp/core/abp.css'forthebundle'LeptonXLit
- 使用ABP CLI创建Web 应用(十五)—— 授权
寻找无名的特质
上一节我们定义了权限,现在需要在需要的地方增加权限控制。首先,需要为应用层的功能授权,在PoetAppService中增加权限控制,ABP的CrudAppService中已经定义了增删改查的权限,只有把我们定义的权限关联到相应的变量就可以了。代码如下:usingVolo.Abp.Domain.Repositories;usingZL.Test.Permissions;namespaceZL.Tes
- ABP从入门到精通(3):aspnet-zero-core 使用Redis缓存
dotNET跨平台
一.Redis是什么?redis是一个key-value存储系统。和Memcached类似,它支持存储的value类型相对更多,包括string(字符串)、list(链表)、set(集合)、zset(sortedset--有序集合)和hash(哈希类型)。这些数据类型都支持push/pop、add/remove及取交集并集和差集及更丰富的操作,而且这些操作都是原子性的。在此基础上,redis支持各
- Abp学习项目AbpStepByStep升级到Abp 5.3
寻找无名的特质
今天把AbpStepByStep升级到Abp5.3,可以从github下载:https://github.com/zhenl/AbpStepByStep。还修改了编译时的警告:'“AutoMapExtensions.MapTo(object)”已过时:“AutomapperwillremovestaticAPI,PleaseuseObjectMapperinstead.Seehttps://git
- 敏捷管理课程:如何一次通过EXIN业务敏捷专家级课程(ABP)送:业务敏捷报告2020版解析及下载
北京老李
作者,北京老李:PMI-ACP讲师中国“黄埔一期”TTT、EXINDevOpsMaster(大师级)讲师(首批全国十名)、国内首批EXINProductOwner讲师(首批全国十名)、EXIN授权EXINAgileScrumMaster讲师、首批ITILExpert讲师、首批CCSK4.0讲师、LeanIT认证讲师、PMP、Prince2专家级、EXIN云安全管理、EXIN云服务管理、国内首批AP
- ABP.Vnext使用postgis
智商偏低
数据库oracle
1.关于ABP使用postgis配置流程。首先在Acme.BookStore.EntityFrameworkCore项目中安装Npgsql.EntityFrameworkCore.PostgreSQL.NetTopologySuite2.安装好之后在Domain层创建一个使用地理几何的类。[Table("ChinaGis")]publicclassChinaGis:Entity{[Column("
- ABP启动模版项目
Jennifer33K
.NET技术abpABP
ABP启动模版项目-前后端不分离ABP入门教程之Web应用程序如官方教程所言开始设置开发环境我们选择用ABPCLI:1)dotnettoolinstall-gVolo.Abp.Cli2)dotnettoolupdate-gVolo.Abp.Cli创建解决方案创建模版项目:1)abpnewAcme.BookStore创建解决方案之后会生成一个可下载文件,下载!项目解决方案结构:说明开始.Web项目包
- ABP入门教程(一)启动模版项目
包达叔
C#ABP使用入门教程abpc#
ABP为一个脚手架项目,源码启动起来就是一个项目,已经内置了用户,角色,权限等基础服务,让我们可以直接进入业务开发。最新的ABP基于.Net6建议使用VS2022进行开发ABP项目的分层.Application为应用层:构建服务.Core为领域层:定义实体,实现实体功能,定义仓储接口.EntityFrameworkCore(EF层)为数据库处理:实体与数据表的对应与配置,实现仓储接口.Web.Co
- C#中的Abp项目发布后,将exe设置为开机自动启动
bingmo_
C#c#
一.跳过登陆界面1.win+R,输入“regedit”进入注册表,点开“HKEY_LOCAL_MACHINE”2.SOFTWARE–>Policies–>Microsoft–>Windows–>新建–>项–>Personalization,新建–>DWORD(32位),名字定位“NoLockScreen”,值设为“1”.3.win+R,输入“shell:startup”,再打开的页面中右键–>新建
- Abp 创建一个模块项目demo
叶大白丶
.NetCoreABPc#
Demo效果:简单的单表crud后台服务。不包含UI项目类型是模块ABP。生成的结构和多应用/单应用有差异。结合文档以及git的源码分享一下demo的理解abp文档:API/AutoAPIControllers|DocumentationCenter|ABP.IO前置准备:Net8环境:下载.NET8.0(Linux、macOS和Windows)Vs202217.8版本以上1.根据指令生成模版2.
- ABP 源码解析 一. ABP启动
诸葛_小亮
介绍此系列文章主要是对ABP源码进行解读,初探作者在创造ABP的框架思路,和使用到的设计模式进行。通过解读ABP源码,可以提升ABP使用方式,可以提升编码意识,提高面向对象编程思想。此篇文章主要解读ABP框架的启动过程已经相关类。ABP启动通过测试代码AbpBootstraper_Tester可以一窥ABP启动类的使用方式abp启动测试代码abp启动测试运行结果由测试代码可知,要启动abp框架,主
- abp vnext + MinIO(四)实现大文件上传
一个程序员_zhangzhen
.netcoreMinIO.netcore
开发工具:vs2022企业版框架:abpvnext3.1操作系统:windows11MinIO上传功能已经实现了,请参考这篇文章:MinIO(二).netcore中实现上传下载通过反编译MinIO上传方法,如果上传的文件超过5M,会自动进行分片上传,上传速度还是可以的。但是有个问题,net限制了上传的大小,只能上传25M上下的文件,如果上传一个八十多兆的文件,swagger接口报错,如果前端调用上
- abp vnext 下载指定版本的项目
一个程序员_zhangzhen
abpvnext.netcore
开发环境Win11vs2022abpvnext下载地址:GetStarted|ABP.IO下载abp框架之前,需要先安装CLI,打开命令提示符,执行以下命令即可,这个也可以指定版本下载,这里就不做介绍了,以及删除命令,官方文档上都有dotnettoolinstall-gVolo.Abp.CliCLI的卸载命令dotnettooluninstall-gVolo.Abp.Cli还有一些其他命令见文档:
- 2018-12-05 使用ABP实体注入EF生成DB表
ClownJiang
1.创建实体类注意:需要引用FullAuditedEntity2.在(\XXX.EntityFrameworkCore\EntityFrameworkCore\TaodianjiaDbContext.cs)TaodianjiaDbContext.cs类中添加需要注入EF的实体3.打开程序包管理器控制台(NuGet包管理)3.1.默认项目选择XXX.EntityFrameworkCore,并且XXX
- 三角函数倍角公式推导
唐-import-某人
几何证明几何学
1.sin(2α)=2sin(α)cos(α)已知单位圆中有圆周三角形△ABC,圆周角为α,圆心为点O∴圆心角=2∗圆周角∴圆心角=2*圆周角∴圆心角=2∗圆周角∵∠AOC=α,AB=2cos(α),AC=2sin(α)∵∠AOC=α,AB=2cos(α),AC=2sin(α)∵∠AOC=α,AB=2cos(α),AC=2sin(α)做AP⊥BC于点P做AP⊥BC于点P做AP⊥BC于点P∴△ABP
- abp.ajax,ABP 的ajax请求错误的处理方式
Dennis Feng
abp.ajax
ABP的ajax请求错误2018-03-2213:31:16星期四400Emptyorinvalidantiforgeryheadertoken.我从网上找到的解决办法第一种(有安全要求的不推荐)在WebModule.cs类中的PreInitialize方法中加Configuration.Modules.AbpWeb().AntiForgery.IsEnabled=false;在添加这个的时候需要
- 2021-03-24 R语言画柱状图
1f9e79f37c42
先是画一个这个图,这个图是根据p.adjust(也就是FDR)来排序的,我的代码是按照queritem多少来排序的,颜色填充都是根据FDR来的##画直方图,先是数据集,设置xy轴,这里用reorder按照queryitem排序Term,颜色根据FDR来决定ggplot(abp,aes(x=queryitem,y=reorder(Term,queryitem),fill=FDR))+##这是绘制直方
- 单位圆内接三角形的角是外接三角
唐-import-某人
几何证明几何学
证明∠APC=2∠ABC∠APC=2∠ABC∠APC=2∠ABC∴∴∴三角形内角和为180$∵\begin{cases}∠ABP+∠BAP+∠APB=180\∠ABC+∠BAC+∠ACB=180\∠PAC+∠PCA+∠APC=180\end{cases}$∴AP=BP=PC=r∴AP=BP=PC=r∴AP=BP=PC=r∵∵∵△PAB和△PAC为等腰三角形∴∴∴等腰三角形两底角相等∵∠ABC=∠B
- 等腰三角形两底角相等
唐-import-某人
几何证明几何学
等腰三角形定义:是指至少有两边相等的三角形。相等的两个边称为这个三角形的腰二.证明有等腰△ABC,AB和AC是腰,p是BC的中点证明等腰三角形两底角相等即∠ABP=∠PCA∠ABP=∠PCA∠ABP=∠PCA∴∴∴三角形内角和为180∵{∠ABP+∠APB+∠BAP=180°∠ACP+∠APC+∠CAP=180°∠ABC+∠ACB+∠BAC=180°∵\begin{cases}∠ABP+∠APB+
- sql统计相同项个数并按名次显示
朱辉辉33
javaoracle
现在有如下这样一个表:
A表
ID Name time
------------------------------
0001 aaa 2006-11-18
0002 ccc 2006-11-18
0003 eee 2006-11-18
0004 aaa 2006-11-18
0005 eee 2006-11-18
0004 aaa 2006-11-18
0002 ccc 20
- Android+Jquery Mobile学习系列-目录
白糖_
JQuery Mobile
最近在研究学习基于Android的移动应用开发,准备给家里人做一个应用程序用用。向公司手机移动团队咨询了下,觉得使用Android的WebView上手最快,因为WebView等于是一个内置浏览器,可以基于html页面开发,不用去学习Android自带的七七八八的控件。然后加上Jquery mobile的样式渲染和事件等,就能非常方便的做动态应用了。
从现在起,往后一段时间,我打算
- 如何给线程池命名
daysinsun
线程池
在系统运行后,在线程快照里总是看到线程池的名字为pool-xx,这样导致很不好定位,怎么给线程池一个有意义的名字呢。参照ThreadPoolExecutor类的ThreadFactory,自己实现ThreadFactory接口,重写newThread方法即可。参考代码如下:
public class Named
- IE 中"HTML Parsing Error:Unable to modify the parent container element before the
周凡杨
html解析errorreadyState
错误: IE 中"HTML Parsing Error:Unable to modify the parent container element before the child element is closed"
现象: 同事之间几个IE 测试情况下,有的报这个错,有的不报。经查询资料后,可归纳以下原因。
- java上传
g21121
java
我们在做web项目中通常会遇到上传文件的情况,用struts等框架的会直接用的自带的标签和组件,今天说的是利用servlet来完成上传。
我们这里利用到commons-fileupload组件,相关jar包可以取apache官网下载:http://commons.apache.org/
下面是servlet的代码:
//定义一个磁盘文件工厂
DiskFileItemFactory fact
- SpringMVC配置学习
510888780
springmvc
spring MVC配置详解
现在主流的Web MVC框架除了Struts这个主力 外,其次就是Spring MVC了,因此这也是作为一名程序员需要掌握的主流框架,框架选择多了,应对多变的需求和业务时,可实行的方案自然就多了。不过要想灵活运用Spring MVC来应对大多数的Web开发,就必须要掌握它的配置及原理。
一、Spring MVC环境搭建:(Spring 2.5.6 + Hi
- spring mvc-jfreeChart 柱图(1)
布衣凌宇
jfreechart
第一步:下载jfreeChart包,注意是jfreeChart文件lib目录下的,jcommon-1.0.23.jar和jfreechart-1.0.19.jar两个包即可;
第二步:配置web.xml;
web.xml代码如下
<servlet>
<servlet-name>jfreechart</servlet-nam
- 我的spring学习笔记13-容器扩展点之PropertyPlaceholderConfigurer
aijuans
Spring3
PropertyPlaceholderConfigurer是个bean工厂后置处理器的实现,也就是BeanFactoryPostProcessor接口的一个实现。关于BeanFactoryPostProcessor和BeanPostProcessor类似。我会在其他地方介绍。PropertyPlaceholderConfigurer可以将上下文(配置文件)中的属性值放在另一个单独的标准java P
- java 线程池使用 Runnable&Callable&Future
antlove
javathreadRunnablecallablefuture
1. 创建线程池
ExecutorService executorService = Executors.newCachedThreadPool();
2. 执行一次线程,调用Runnable接口实现
Future<?> future = executorService.submit(new DefaultRunnable());
System.out.prin
- XML语法元素结构的总结
百合不是茶
xml树结构
1.XML介绍1969年 gml (主要目的是要在不同的机器进行通信的数据规范)1985年 sgml standard generralized markup language1993年 html(www网)1998年 xml extensible markup language
- 改变eclipse编码格式
bijian1013
eclipse编码格式
1.改变整个工作空间的编码格式
改变整个工作空间的编码格式,这样以后新建的文件也是新设置的编码格式。
Eclipse->window->preferences->General->workspace-
- javascript中return的设计缺陷
bijian1013
JavaScriptAngularJS
代码1:
<script>
var gisService = (function(window)
{
return
{
name:function ()
{
alert(1);
}
};
})(this);
gisService.name();
&l
- 【持久化框架MyBatis3八】Spring集成MyBatis3
bit1129
Mybatis3
pom.xml配置
Maven的pom中主要包括:
MyBatis
MyBatis-Spring
Spring
MySQL-Connector-Java
Druid
applicationContext.xml配置
<?xml version="1.0" encoding="UTF-8"?>
&
- java web项目启动时自动加载自定义properties文件
bitray
javaWeb监听器相对路径
创建一个类
public class ContextInitListener implements ServletContextListener
使得该类成为一个监听器。用于监听整个容器生命周期的,主要是初始化和销毁的。
类创建后要在web.xml配置文件中增加一个简单的监听器配置,即刚才我们定义的类。
<listener>
<des
- 用nginx区分文件大小做出不同响应
ronin47
昨晚和前21v的同事聊天,说到我离职后一些技术上的更新。其中有个给某大客户(游戏下载类)的特殊需求设计,因为文件大小差距很大——估计是大版本和补丁的区别——又走的是同一个域名,而squid在响应比较大的文件时,尤其是初次下载的时候,性能比较差,所以拆成两组服务器,squid服务于较小的文件,通过pull方式从peer层获取,nginx服务于较大的文件,通过push方式由peer层分发同步。外部发布
- java-67-扑克牌的顺子.从扑克牌中随机抽5张牌,判断是不是一个顺子,即这5张牌是不是连续的.2-10为数字本身,A为1,J为11,Q为12,K为13,而大
bylijinnan
java
package com.ljn.base;
import java.util.Arrays;
import java.util.Random;
public class ContinuousPoker {
/**
* Q67 扑克牌的顺子 从扑克牌中随机抽5张牌,判断是不是一个顺子,即这5张牌是不是连续的。
* 2-10为数字本身,A为1,J为1
- 翟鸿燊老师语录
ccii
翟鸿燊
一、国学应用智慧TAT之亮剑精神A
1. 角色就是人格
就像你一回家的时候,你一进屋里面,你已经是儿子,是姑娘啦,给老爸老妈倒怀水吧,你还觉得你是老总呢?还拿派呢?就像今天一样,你们往这儿一坐,你们之间是什么,同学,是朋友。
还有下属最忌讳的就是领导向他询问情况的时候,什么我不知道,我不清楚,该你知道的你凭什么不知道
- [光速与宇宙]进行光速飞行的一些问题
comsci
问题
在人类整体进入宇宙时代,即将开展深空宇宙探索之前,我有几个猜想想告诉大家
仅仅是猜想。。。未经官方证实
1:要在宇宙中进行光速飞行,必须首先获得宇宙中的航行通行证,而这个航行通行证并不是我们平常认为的那种带钢印的证书,是什么呢? 下面我来告诉
- oracle undo解析
cwqcwqmax9
oracle
oracle undo解析2012-09-24 09:02:01 我来说两句 作者:虫师收藏 我要投稿
Undo是干嘛用的? &nb
- java中各种集合的详细介绍
dashuaifu
java集合
一,java中各种集合的关系图 Collection 接口的接口 对象的集合 ├ List 子接口 &n
- 卸载windows服务的方法
dcj3sjt126com
windowsservice
卸载Windows服务的方法
在Windows中,有一类程序称为服务,在操作系统内核加载完成后就开始加载。这里程序往往运行在操作系统的底层,因此资源占用比较大、执行效率比较高,比较有代表性的就是杀毒软件。但是一旦因为特殊原因不能正确卸载这些程序了,其加载在Windows内的服务就不容易删除了。即便是删除注册表中的相 应项目,虽然不启动了,但是系统中仍然存在此项服务,只是没有加载而已。如果安装其他
- Warning: The Copy Bundle Resources build phase contains this target's Info.plist
dcj3sjt126com
iosxcode
http://developer.apple.com/iphone/library/qa/qa2009/qa1649.html
Excerpt:
You are getting this warning because you probably added your Info.plist file to your Copy Bundle
- 2014之C++学习笔记(一)
Etwo
C++EtwoEtwoiterator迭代器
已经有很长一段时间没有写博客了,可能大家已经淡忘了Etwo这个人的存在,这一年多以来,本人从事了AS的相关开发工作,但最近一段时间,AS在天朝的没落,相信有很多码农也都清楚,现在的页游基本上达到饱和,手机上的游戏基本被unity3D与cocos占据,AS基本没有容身之处。so。。。最近我并不打算直接转型
- js跨越获取数据问题记录
haifengwuch
jsonpjsonAjax
js的跨越问题,普通的ajax无法获取服务器返回的值。
第一种解决方案,通过getson,后台配合方式,实现。
Java后台代码:
protected void doPost(HttpServletRequest req, HttpServletResponse resp)
throws ServletException, IOException {
String ca
- 蓝色jQuery导航条
ini
JavaScripthtmljqueryWebhtml5
效果体验:http://keleyi.com/keleyi/phtml/jqtexiao/39.htmHTML文件代码:
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>jQuery鼠标悬停上下滑动导航条 - 柯乐义<
- linux部署jdk,tomcat,mysql
kerryg
jdktomcatlinuxmysql
1、安装java环境jdk:
一般系统都会默认自带的JDK,但是不太好用,都会卸载了,然后重新安装。
1.1)、卸载:
(rpm -qa :查询已经安装哪些软件包;
rmp -q 软件包:查询指定包是否已
- DOMContentLoaded VS onload VS onreadystatechange
mutongwu
jqueryjs
1. DOMContentLoaded 在页面html、script、style加载完毕即可触发,无需等待所有资源(image/iframe)加载完毕。(IE9+)
2. onload是最早支持的事件,要求所有资源加载完毕触发。
3. onreadystatechange 开始在IE引入,后来其它浏览器也有一定的实现。涉及以下 document , applet, embed, fra
- sql批量插入数据
qifeifei
批量插入
hi,
自己在做工程的时候,遇到批量插入数据的数据修复场景。我的思路是在插入前准备一个临时表,临时表的整理就看当时的选择条件了,临时表就是要插入的数据集,最后再批量插入到数据库中。
WITH tempT AS (
SELECT
item_id AS combo_id,
item_id,
now() AS create_date
FROM
a
- log4j打印日志文件 如何实现相对路径到 项目工程下
thinkfreer
Weblog4j应用服务器日志
最近为了实现统计一个网站的访问量,记录用户的登录信息,以方便站长实时了解自己网站的访问情况,选择了Apache 的log4j,但是在选择相对路径那块 卡主了,X度了好多方法(其实大多都是一样的内用,还一个字都不差的),都没有能解决问题,无奈搞了2天终于解决了,与大家分享一下
需求:
用户登录该网站时,把用户的登录名,ip,时间。统计到一个txt文档里,以方便其他系统调用此txt。项目名
- linux下mysql-5.6.23.tar.gz安装与配置
笑我痴狂
mysqllinuxunix
1.卸载系统默认的mysql
[root@localhost ~]# rpm -qa | grep mysql
mysql-libs-5.1.66-2.el6_3.x86_64
mysql-devel-5.1.66-2.el6_3.x86_64
mysql-5.1.66-2.el6_3.x86_64
[root@localhost ~]# rpm -e mysql-libs-5.1