上一页 1 2 3 4 5 6 7 ··· 55 下一页

2023年8月15日

spring mvc 前端返回 js

摘要: @RequestMapping(value = "/test",produces = "text/html; charset=UTF-8")@ResponseBodypublic String test(){String url = "";return "<script>window.locatio 阅读全文

posted @ 2023-08-15 14:33 正义的伙伴! 阅读(33) 评论(0) 推荐(0) 编辑

2023年8月14日

openssl 生成证书

摘要: # 生成证书 1. - 2. 转换证书格式为 java 用 `openssl pkcs8 -topk8 -inform PEM -in private_key.pem -outform PEM -nocrypt` 3. 生成公钥 `openssl rsa -in private.key -pubou 阅读全文

posted @ 2023-08-14 10:44 正义的伙伴! 阅读(3) 评论(0) 推荐(0) 编辑

2023年8月8日

禁用通过域名直接访问页面

摘要: # nginx 禁用通过域名直接访问页面 参考 https://www.codedodle.com/disable-direct-ip-access-nginx.html ```conf server { listen 80 default_server; # 下面两行, 需要 按照 ssl_rej 阅读全文

posted @ 2023-08-08 12:47 正义的伙伴! 阅读(17) 评论(0) 推荐(0) 编辑

2023年7月25日

键盘符号中英文名称大全

摘要: 键盘符号中英文名称大全 From: http://www.fhdq.net/bd/16.html 符号 英文名 中文名 ~ tilde or swung dash 波浪字符或代字号 ! exclamation mark 惊叹号 @ at sign or commercial at 爱特或小老鼠 # 阅读全文

posted @ 2023-07-25 13:45 正义的伙伴! 阅读(166) 评论(0) 推荐(0) 编辑

2023年7月7日

mybatis: 正确使用mybatis中的mapperLocations配置多个xml扫描路径

摘要: <!-- myBatis文件 --> <bean id="sqlSessionFactory" class="org.mybatis.spring.SqlSessionFactoryBean"> <property name="dataSource" ref="dataSource" /> <!-- 阅读全文

posted @ 2023-07-07 11:00 正义的伙伴! 阅读(251) 评论(0) 推荐(0) 编辑

2023年6月28日

git merge 合并代码命令别名

摘要: ## 合并代码 ### 带全部 commit message 的合并 有时候, 期望合并的时候, 把相关的提交也带上,比如下面的格式 ``` Merge branch whmmm/abcd into test ::SUMMARY:: Branch whmmm/abcd commits: 751572 阅读全文

posted @ 2023-06-28 09:39 正义的伙伴! 阅读(25) 评论(0) 推荐(0) 编辑

2023年6月9日

chrome 跨域问题解决

摘要: ## 1. 后端设置了跨域, https 下可以, http 不可以 高版本 chrome 配置了策略, 如果访问私有网络, 会出现禁止跨域 chrome://flags/#block-insecure-private-network-requests Block insecure private 阅读全文

posted @ 2023-06-09 11:53 正义的伙伴! 阅读(200) 评论(0) 推荐(0) 编辑

2023年6月5日

chrome 插件备忘

摘要: ## 主题 1. https://chrome.google.com/webstore/detail/light-theme-for-google-ch/macolkedjdbklefnogmlebabkakpcacg 阅读全文

posted @ 2023-06-05 16:41 正义的伙伴! 阅读(8) 评论(0) 推荐(0) 编辑

2023年6月3日

js 动态添加样式

摘要: ```js // 添加 css 脚本 export const loadStyle = url => { const link = document.createElement('link'); link.type = 'text/css'; link.rel = 'stylesheet'; lin 阅读全文

posted @ 2023-06-03 12:25 正义的伙伴! 阅读(180) 评论(0) 推荐(0) 编辑

2023年6月1日

package.json scripts 备忘

摘要: ## 传参 ```sh ## -- 后面跟参数 ## 参考 https://stackoverflow.com/questions/11580961/sending-command-line-arguments-to-npm-script npm run pack -- -i ``` 阅读全文

posted @ 2023-06-01 17:38 正义的伙伴! 阅读(4) 评论(0) 推荐(0) 编辑

上一页 1 2 3 4 5 6 7 ··· 55 下一页

导航

//增加一段JS脚本,为目录生成使用