测试项目已上传到码云,可以下载:https://gitee.com/yangxioahui/aopdemo.git 具体如下: public interface Calc { Integer add(int num1,int num2); }//目标是对add 方法进行切入 @Component p ...
分类:
其他好文 时间:
2020-07-08 13:07:10
阅读次数:
52
安装 git Download Page of Mac OS X Download Page of Windows Download Page of Linux/Unix 安装 nodejs Download Page (English) 下载地址 (中文) 修改配置 国内淘宝NPM镜像使用方法(三 ...
分类:
其他好文 时间:
2020-07-08 13:04:23
阅读次数:
84
完整迁移,就是指,不仅将所有代码移植到新的仓库,而且要保留所有的commit记录 1. 随便找个文件夹,从原地址克隆一份裸版本库 git clone --bare 旧的git地址 会在当前目录下产生一个 xxx.git 的文件夹 这个步骤,就是克隆git每一次的提交信息 和本地的代码没有关系,只要线 ...
分类:
其他好文 时间:
2020-07-08 10:23:28
阅读次数:
125
1、在 app 目录下创建 templatetags 目录(目录名只能是 templatetags)。 如: app/ __init__.py models.py templatetags/ __init__.py mytag.py views.py 2、创建任意 .py 文件,如:mytag.py ...
分类:
其他好文 时间:
2020-07-08 01:15:14
阅读次数:
66
1. 背景介绍 在实际开发中,经常要一边开发一边测试,经常为了一个功能而不断更新版本,这些情况都会涉及到频繁的打包、部署;手动打包的涉及到项目上传、打包、发布等很多重复工作; 那么,有一种工具能够实现,将代码提交到git后就自动打包部署,替换手动认为打包,答案是肯定的:Jenkins ,当然除了Je ...
分类:
其他好文 时间:
2020-07-08 00:52:35
阅读次数:
119
2020宁波市第三届网络安全大赛,比赛分行业组和院校组进行团体赛。感觉这次比赛还是很不错的~ 值得参加。 Easy_SSRF <?php show_source(__FILE__); $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, $_GET["ur ...
分类:
Web程序 时间:
2020-07-07 21:04:32
阅读次数:
428
绝对导入模板 glance/ ├── __init__.py from glance import api from glance import cmd from glance import db ├── api │ ├── __init__.py from glance.api import po ...
分类:
其他好文 时间:
2020-07-07 20:47:36
阅读次数:
67
+ sh make_release.sh fatal: could not read Username for 'http://gitlab.yintech.net': No such device or address vim .git/config [core] repositoryformat ...
分类:
其他好文 时间:
2020-07-07 20:17:20
阅读次数:
64
1、生成ssh秘钥,一路回车 ssh-keygen -o 会生成两个文件id_rsa 和 id_rsa.pub 2、找到id_rsa.pub,复制到github或者其他git平台,保存,然后就可以git clone xxx,无需秘钥 window在C:\Users\Administrator\.ss ...
分类:
其他好文 时间:
2020-07-07 19:46:11
阅读次数:
235
使用git show 查看特定提交涉及的文件 # git show 5cb95146bb29f94ee1faa3e1cdcff84bdbdc46ef --statcommit 5cb95146bb29f94ee1faa3e1cdcff84bdbdc46ef (HEAD -> master, orig ...
分类:
其他好文 时间:
2020-07-07 18:09:59
阅读次数:
59