.gitignore只能忽略那些原来没有被track的文件,如果某些文件已经被纳入了版本管理中,则修改.gitignore是无效的 对应在解决方法: git rm -r --cached . git add . git commit -m 'update .gitignore' ...
分类:
其他好文 时间:
2020-02-07 19:12:42
阅读次数:
88
今天有个场景需要webapi返回给客户端回应一个图片,以前的老套路不能用了。刚开始以为是需要使用“HttpResponseMessage“,直接在Response里输出文件流。 这是错误的方向。正确的方式是使用FileContentResult,如下: /// <summary> /// 获取图片 ...
::-webkit-scrollbar{width:6px;height:16px;} ::-webkit-scrollbar-track-piece{background-color: #f3f3f3;-webkit-border-radius: 3px;} ::-webkit-scrollbar ...
分类:
其他好文 时间:
2020-01-31 15:59:34
阅读次数:
81
链接:https://www.jianshu.com/p/9aa66f634ed6 概述 盘片(platter) 磁头(head) 磁道(track) 扇区(sector) 柱面(cylinder) 盘片 片面 和 磁头 硬盘中一般会有多个盘片组成,每个盘片包含两个面,每个盘面都对应地有一个读/写磁 ...
分类:
其他好文 时间:
2020-01-26 11:44:46
阅读次数:
71
Keeping track of all the cows can be a tricky task so Farmer John has installed a system to automate it. He has installed on each cow an electronic ID ...
分类:
其他好文 时间:
2020-01-22 20:05:48
阅读次数:
73
package rjcs; import java.text.SimpleDateFormat; import java.util.ArrayList; import java.util.Calendar; import java.util.List; import java.util.Set; i ...
分类:
编程语言 时间:
2020-01-20 09:54:49
阅读次数:
116
Consider a text input. It would be impossible for anyone to model every value you could possibly put into it, because the number of possible values is ...
分类:
其他好文 时间:
2020-01-20 00:06:35
阅读次数:
71
在Keys类下有一个方法叫chord(参数1,参数2),在键盘输入事件也就是多个键同时按下的效果。package rjcs; import java.text.SimpleDateFormat; import java.util.Calendar; import java.util.List; im ...
分类:
编程语言 时间:
2020-01-19 22:25:43
阅读次数:
143
package rjcs; import java.util.List; import org.openqa.selenium.TakesScreenshot; import org.openqa.selenium.firefox.FirefoxDriver; import org.openqa.s ...
分类:
编程语言 时间:
2020-01-19 17:46:01
阅读次数:
89
Step by step for crontab stop setup Sea@sea:/etc/lazada$ sudo crontab -e 1.Edit cron job 0 */6 * * * curl -X POST -d @/etc/lazada/lazada_tracking.txt ...
分类:
其他好文 时间:
2020-01-17 21:21:36
阅读次数:
67