会员
周边
众包
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
ForMeDream
博客园
首页
新随笔
联系
订阅
管理
2023年11月23日
前端html 通过文件流下载文件
摘要: 后台返回文件流方式,前端采用form表单 action 属性赋值流。代码submit提交. 前端代码如下: <form id="download" action='' method='post'/></form> $("#download").attr("action", url);//触发subm
阅读全文
posted @ 2023-11-23 11:24 ForMeDream
阅读(346)
评论(0)
推荐(0)
2023年8月9日
centos7 更改root 密码
摘要: 1.开机 按 e 键 utf8 后面 添加 rw init=/sysroot/bin/sh 按 ctrl -x 2.输入命令 chroot /sysroot 3. 输入命令 passwd root ,输入密码回车 再输入一次 回车 4.输入命令 touch /.autorelabel 5.输入命令
阅读全文
posted @ 2023-08-09 15:10 ForMeDream
阅读(1358)
评论(0)
推荐(0)
2023年3月2日
偌依cas 单点登录
摘要: # 配置 application.yml 文件 #CAS服务配置cas: server: host: #cas服务后台地址 url: http://localhost:9100/cas #CAS服务登录地址 login_url: ${cas.server.host.url}/login #CAS服务
阅读全文
posted @ 2023-03-02 10:56 ForMeDream
阅读(583)
评论(0)
推荐(0)
2022年10月25日
oracle 锁表解决方法
摘要: select b.username,b.sid,b.serial#,logon_time from v$locked_object a,v$session b where a.session_id=b.sid order by b.logon_time alter system kill sessi
阅读全文
posted @ 2022-10-25 14:39 ForMeDream
阅读(27)
评论(0)
推荐(0)
2022年7月6日
git 仓库迁移
摘要: 1,先将所有人的代码都提交并push到远程仓库。 2,找一个文件夹中执行git 命令克隆一份裸版本库 git clone --bare git://39.xx.xx.xx/project_name.git3、进入到project_name.git目录中,再执行git push --mirror命令,
阅读全文
posted @ 2022-07-06 15:00 ForMeDream
阅读(69)
评论(0)
推荐(0)
2021年5月28日
Linux epoll 单线程
摘要: #include <sys/socket.h> #include <sys/wait.h> #include <netinet/in.h> #include <netinet/tcp.h> #include <sys/epoll.h> #include <sys/sendfile.h> #inclu
阅读全文
posted @ 2021-05-28 17:16 ForMeDream
阅读(89)
评论(0)
推荐(0)
2020年10月14日
springboot 日志配置logback.xml
摘要: <?xml version="1.0" encoding="UTF-8"?> <configuration scan="true" scanPeriod="60 seconds"> <appender name="stdout" class="ch.qos.logback.core.ConsoleA
阅读全文
posted @ 2020-10-14 10:07 ForMeDream
阅读(202)
评论(0)
推荐(0)
2020年9月4日
springboot 日志配置
摘要: <?xml version="1.0" encoding="UTF-8"?> <configuration scan="true" scanPeriod="60 seconds"> <appender name="stdout" class="ch.qos.logback.core.ConsoleA
阅读全文
posted @ 2020-09-04 14:55 ForMeDream
阅读(92)
评论(0)
推荐(0)
2020年6月19日
android 相机拍照
摘要: package com.example.take_photo; import android.Manifest; import android.app.Activity; import android.content.ContentValues; import android.content.Int
阅读全文
posted @ 2020-06-19 01:02 ForMeDream
阅读(155)
评论(0)
推荐(0)
2020年4月2日
golang time.Time json 自定义格式
摘要: package main import ( "encoding/json" "fmt" "strconv" "time" ) const ( format="2006-01-02 15:04:05" ) type MyTime time.Time func (t MyTime) MarshalJSO
阅读全文
posted @ 2020-04-02 22:43 ForMeDream
阅读(1789)
评论(0)
推荐(0)
下一页
公告