- 快捷方式 指向的驱动器或网络连接不可用
元凌丶
windows
由于电脑固态硬盘有问题换了个盘,数据丢失了有些软件就暂时存到了C盘。装回来之后发现任务栏的快捷方式图标显示不正确。有相关解决办法是说把【appdata】路径下的【Iconcache.db】删除然后让Windows资源管理器重启。但是这种方法有和我情况相似的同学可能解决不了。需要把快捷方式的目标路径改一下。(我只解决了自己的问题,不确定是否一样,大家举一反三应该可以找到)1,首先要找到丢失图标的快捷
- MATLAB默认工作路径修改
bu_shuo
matlab开发语言
MATLAB默认工作路径修改如下图所示,我的MATLAB默认工作路径为H:\R2020b\bin有时我们需要修改该默认工作路径,以下为修改该默认路径的方法修改步骤一、首先找到MATLAB软件的快捷方式,选中,然后单击鼠标右键,点击属性,可以看到以下画面二、接下来在起始位置一栏,写入我们需要设置修改的工作路径,填入点击确定,重启MATLAB软件后,修改即可生效,例如我把起始位置修改为E:\MATLA
- Windows常用的快捷键
AitTech
windows
Windows常用的快捷键非常丰富,这些快捷键可以大大提高用户的工作效率和操作便捷性。以下是一些常用的Windows快捷键及其功能说明:1.基本窗口操作Win+D:显示桌面,最小化所有打开的窗口。再次按下则恢复之前的状态。Win+E:打开文件资源管理器,快速访问文件和文件夹。Win+L:锁定电脑屏幕,适用于暂时离开电脑时保护隐私。Win+M:最小化所有打开的窗口。Win+Shift+M:恢复最小化
- 电脑任务栏应用图标变成白色怎么恢复
还在学习进步
其他
我们在操作电脑的时候,若是遇到了任务栏应用图标变成白色了,这要怎么恢复呢,我们通过快捷方式打开运行窗口,输入ie4uinit.exe-show回车即可解决问题,如果没有解决,那么就重新在运行窗口输入其他的命令回车,这要就能解决电脑任务栏应用图标变成白色的问题呀。电脑任务栏应用图标变成白色了恢复教程教程一1、首先按下键盘“win+r”打开运行2、接着在其中输入“ie4uinit.exe-show”回
- 10-Swift下标脚本(Subscripts)
王梓懿_1fbc
下标脚本可以定义在类、结构体和枚举中,即是访问集合、列表、学列的快捷方式,使用下标脚本的索引设置和获取值,不需要再调用实例特定的赋值和访问方法。一、下标脚本语法下标脚本允许通过实例方法后面的方括号传入一个或多个的索引值来对实例进行访问和赋值。语法类似于实例方法和计算属性的混合。与定义实例方法类似,定义下标脚本使用subscript关键字,显式声明入参和返回类型。与实例方法不同的是下标脚本可以设定为
- vi/vim编辑器·
开花沼泽.
编辑器vimlinux
目录vi/vim概念vi/vim的三种模式及各个模式之间的转换关系模式切换操作步骤编辑命令和快捷方式插入命令:(一般模式进入到插入模式)定位命令:替换和取消命令(一般模式下):删除命令:(从光标开始删,光标所在位置也删,光标狠起来自己都删,光标所到之处寸草不生)常用快捷键:区块复制粘贴1.vi/vim概念在CentOS中,常用的文本编译器是vi编译器和它的升级版本vim编译器。vi编辑器是所有Un
- CSOL控制台与FPS优化命令大全
Bryan Ding
游戏程序
下面的控制台命令会让你游戏FPS达到不可思议的地步!在CSOL图标找到属性,然后再快捷方式找到目标,在目标后面加“-CONSOLE”。-的前面必须加一个空格,不然起不到优化效果。改变CS游戏中的帧数,也就是说游戏里面的“FPS”,把它最大值固定到99。让游戏更加流畅。输入“fps_max101”其实还不够,这只是理论上的帧数而已,要想达到实际帧数,那么接下去看看吧……CS中控制台实际帧数的命令“c
- 分子可视化软件--RasTop
开源神器
科研软件科研软件
软件介绍RasTop是一款分子可视化软件,改编自最初由RogerSayle开发的RasMol程序。RasTop为“RasMol分子引擎”提供了一个用户友好的图形界面。软件下载https://pan.quark.cn/s/6c34865a4a3d安装教程1、双击运行自解压文件2、点击解压(解压码后台回复密码免费获取)3、复制此文件4、粘贴到软件D盘5、进入粘贴后的文件6、将程序图标发送到桌面快捷方式
- VS历程简单记录
凌川江雪
当时一开始装VS2015,是用了很长时间了。装了之后是可以用的,打了不少代码的。后来很长一段时间没用它了,时隔良久,双击快捷方式竟然打开不了,让我“重装”。其实也不用重装,本机用的Win10,去控制面板找到VS,双击它,进入“安装程序”,有修改/修复/卸载三个按钮,点击修复就可以了(嗯窗口类似长这样):修复的时间没有安装用的时间那么长,是快了很多的,大概就半个小时多一点,装完之后便可以打开了,不会
- 草图大师SketchUp2019如何设置快捷键
微微一笑念伊人
草图大师SketchUp中的默认快捷键与CAD中的快捷键是不一样的,在日常的建模操作中,很容易弄混,那草图大师SketchUp的快捷键我们要如何设置?1、首先打开草图大师2、点击菜单栏中的SketchUp,选择使用偏好3、打开SketchUp系统设置,在左边选择快捷方式4、在右侧选要改快捷键的功能,在文字栏中,输入你要设置的快捷键中文即可。
- anaconda安装后桌面无快捷方式
盼丨盼
pythonlinux开发语言
在安装目录的Anaconda3\Scripts中找到需要的exe文件,生成快捷方式到桌面即可。如果想要改变快捷方式的图标,可以在桌面快捷方式上右键选择属性,点击更改图标--浏览--输入图标地址(在安装的Anaconda3\Menu中),选择对应的图标后即可。例如我的安装目录:D:\MyProgramInstall\Anaconda3\Scripts图标目录:D:\MyProgramInstall\
- 打造全屏无法退出的浏览器启动页面
耳双月月鸟儿
前端
在特定场景下,我们可能需要将浏览器设置成启动时默认打开一个特定的网页,并保持全屏状态,防止用户通过快捷键退出全屏。这种需求常见于数字标牌、信息展示或公共展示等场景。在本篇博客中,我们将介绍如何使用不同浏览器的参数来实现这一目标。首先,我们需要在通过右键创建一个快捷方式,并根据以下内容进行输入:1.GoogleChrome对于GoogleChrome,我们可以使用·--kiosk`参数来启动浏览器进
- 招聘人才哪家好?求职工作哪家才是靠谱的平台?二者兼得看这里
配音就业圈
人才招聘去哪里找?求职高岗位去哪家平台?还在大海捞针似的找工作?这些快捷方式你知道吗?这些找工作的小技巧你知道吗?兼职副业推荐公众号,配音新手圈,声优配音圈,新配音兼职圈,配音就业圈,鼎音副业,有声新手圈,每天更新各种远程工作与在线兼职,职位包括:写手、程序开发、剪辑、设计、翻译、配音、无门槛、插画、翻译、等等。。。每日更新兼职。智联、前程和58这些招聘平台都是一些老牌人才招聘网站,有大量的用户群
- 【Windows】Windows11、Windows10完美去除快捷方式小箭头的方法
LuckiBit
Storywindows快捷方式图标win11win10代码终端桌面美化
目录1.前言2.先看效果2.1win11原始桌面快捷方式图标:2.2修改后:3.win11修改方法3.1去除箭头3.2恢复箭头4.win10修改方法4.1去除箭头4.2恢复箭头1.前言Windows桌面图标右下角的小箭头对于一些用户来说可能会显得多余,现在,我想和大家分享一下在Windows11和Windows10中如何去除这些快捷方式小箭头的方法,希望能够帮助到同样有这个困扰的朋友们。1.1定义
- Metasploit漏洞利用系列(十):MSF渗透测试 - 震网三代(远程快捷方式漏洞)实战
Alfadi联盟 萧瑶
网络安全
在本系列的第十篇中,我们将深入探讨如何利用MetasploitFramework(MSF)来利用著名的震网三代(Stuxnet三代)中的一个远程快捷方式漏洞(LNK漏洞)。虽然“震网三代”并非官方术语,而是为了描述一个类似震网蠕虫的高级威胁,但我们将以此为背景,探索利用Windows快捷方式(LNK)文件的漏洞进行渗透测试的技术细节。此漏洞允许攻击者通过精心构造的快捷方式文件远程执行代码,对目标系
- 通过css,js html结合实现第一个页面
小刘|
javascripthtmlcss
html以及js代码DocumentNewcomer'Session河大主页|学信网首页网上报告入学指南走进河大学在河大家在河大联系我们河大易班快捷方式学院简介辅导员风评防控疫情咨询留言通知公告272024.082021级新生网上预报到流程来了按照提示写信息完成注册及校方认证,点击注册,根据提示填写信息,点击下一步,马上去认证,填写校方信息身份272024.082021级新生网上预报到流程来了按照
- 职业生涯中的善良天使
李道宽
美国著名认知心理学家史蒂芬.平克在他的《人性中的善良天使》中指出,当今世界正向着越来越好的方向发展,而这不仅是在社会层面,在个人层面也是成立的道理。就像北京的天气一样,现在慢慢的迎来了“APEC蓝”“北京蓝”,这就是政策规划引导作用。而放在个人身上,做好职业生涯规划就是我们自己的生活越来越好的快捷方式,相比于依靠命运的裁决与别人的帮助,能够主动的规划自己的美好生活是更加高效、便捷的方式。说起命运的
- 如何设置电脑开机自启动程序
前端兵仔
软件运维
1、快捷键:“win”+“R”,打开运行。2、输入shell:startup点击回车确认。3、打开启动文件后,将需要启动程序的快键键放入该文件夹里。或者继续以下操作!4、选择文件,点击鼠标右键,选择发送到,再选择点击桌面快捷方式,这里就会在桌面上创建出一个新的启动文件夹。5、把需要开机启动的程序,同样以快捷方式放入到该启动文件夹里就可以实现开机自启动。如果没有实现开机自启动效果,可以试试设置下面的
- 在Linux/Ubuntu/Debian中创建自己的命令快捷方式
理工男老K
linuxubuntudebian运维
虽然图标快捷方式使你移动鼠标双击就打开目标,但是你还是需要先定位到它。而在终端Terminal中你只需要输入一个自定义命令就能一步到位。要在Ubuntu中创建你自己的命令或别名,你可以使用主目录中的“.bashrc”文件。以下是创建通过Wine运行Photoshop的别名的方法:打开终端窗口。在文本编辑器中打开“.bashrc”文件。你可以使用你喜欢的任何文本编辑器,例如nano或vim。例如:n
- ubuntu20.04下安装anaconda+配置环境变量+运行+创建快捷方式
Terry Cao 漕河泾
ubuntulinux
原来是在windows下用matlab进行数据处理与算法验证,在ubuntu下进行C++部署应用,需要不断的重启切换双系统,太麻烦,打算在ubuntu下用python进行数据处理与算法验证。安装anaconda如下1.官网下载anacondaFreeDownload|Anaconda2.安装,在文件夹下打开命令窗口,输入bashAnaconda3-2022.10-Linux-x86_64.sh具体
- 如何领取淘宝优惠券?怎么领取淘宝内部优惠券?
氧惠超好用
淘宝购物,乐趣无穷,而优惠券则是增添乐趣的调味料。想要掌握获取优惠券的快捷方式吗?让我为你揭示淘宝优惠券的秘密通道,让你的购物体验更加丰富多彩!氧惠APP是与以往完全不同的抖客+淘客app!2024全新模式,我的直推也会放到你下面。主打:带货高补贴,深受各位带货团队长喜爱(训练营导师每天出单带货几万单)。注册即可享受高补贴+0撸+捡漏等带货新体验。送万元推广大礼包,教你如何1年做到百万团队。古楼导
- jupyter notebook闪退解决方案
星辰漫步之LLM
python解决方案anacondapython
windows环境下,遇到jupyternotebook闪退,可以查看jupyter快捷文件的属性里的快捷方式,找到“目标”里的目录或文件,将%HOME%删掉即可
- 可用性测试
Rannio
可用性测试•站点整体布局、风格适宜•页面导航直观•页面内容准确•使用过程是否方便、易理解•注意快捷方式•满足区域文化•考虑用户群体
- Winform中设置隐藏窗体且不在任务栏中显示
霸道流氓气质
C#winform
场景Winform中设置程序开机自启动(修改注册表和配置自启动快捷方式):Winform中设置程序开机自启动(修改注册表和配置自启动快捷方式)_winfrom如何设置开启自动启动-CSDN博客通过以上方式设置winform程序开机自启动之后,需要启动后判断配置文件如果不为空则窗体隐藏,任务后台进行。Winform中实现保存配置到文件/项目启动时从文件中读取配置(序列化与反序列化对象):Winfor
- Linux 软链接和硬链接
Linux开发那些事儿
在Linux系统中,链接是一种文件共享的方式,它分为软链接和硬链接,对应的命令是ln什么是软连接软链接又叫符号链接,它类似于windows系统中的快捷方式,常用于将目录层次较深的文件链接到比较容易访问的目录中创建软链接使用ln-s源文件软链接命令就可以创建一个软链接,软链接可以对文件、目录、跨文件系统的文件或目录创建文件的软链接[root@ecs-centos-7tt]#stata.txt|gre
- 小白学PS的笔记~今日
杂色皱菊
选区和选框工具一多边形套索工具(适直线):1,可用Backspace键或Delete键,来删除刚才的锚点。2,交接快捷方式:双击按住Ctrl左击回车二磁性套索工具:1,可快速的将颜色相近的区域变成选区(若图像简单,纯色背景,可选中背景,后右击,可得人物选区)2,容差越大识别范围就越大,反之就越小。3,勾选连续只能选取互为相邻的相似像素。三快速选择工具(最好):1,适用于扣图2,调整边缘命令可以优化
- VsCode指定插件安装目录
tglingli
VsCodevscodeide编辑器
VsCode指定插件安装目录VsCode安装的默认目录是在用户目录(%HomePath%)下的.vscode文件夹下的extensions目录下,随着安装插件越来越多会占用大量C盘空间。指定VsCode的插件目录Vscode安装目录:D:\MicrosoftVSCode\Code.exeVscode插件安装目录:D:\MicrosoftVSCodeextensions修改Vscode快捷方式的目标
- Android 9.0 Launcher3桌面显示多个相同app图标的解决办法
安卓兼职framework应用工程师
android9.0Rom定制化系统开发讲解系列androidLauncher3app图标显示多个问题解决app图标显示多个多个相同app图标显示
1.前言在9.0的系统ROM定制化开发中,在Launcher3的系统原生桌面中,在显示桌面的时候,在禁用和启用app的功能测试的时候,会发现有多个相同app的图标显示在桌面这对Launcher3的体验效果不是很好,所以为了优化产品,需要解决这个bug,然后让产品更完善2.桌面显示多个相同app图标的解决办法的核心类packages/apps/Launcher3/src/com/android/la
- linux的硬链接和软连接的区别
生活需要深度
Linux用户态linux软连接
Linux中有两种链接文件:1)软链接(符号链接symbol),等同于Windows中快捷方式ln-s源文件名符号链接文件名,源文件名和符号链接文件名是主从关系,源被删了,符号链接也就失效了eg:ln-ssrc.clinker.c(linker.c就是src.c的一个符号链接文件);2)硬链接,ln源文件名符号链接文件名,源文件名和符号链接文件名是并列关系,源被删了,符号链接依然有效。硬链接实际上
- Linux中的硬链接和软连接
foreverxzt
linux学习笔记
touchf1创建一个f1文件lnf1f2创建一个硬链接f2ln-sf1f3创建一个软链接(符号链接)f3利用echo可以将字符串输入到文件中硬链接相当于文件备份,即删除了源文件,通过硬链接创建的文件依然存在而软链接相当于快捷方式,即删除了源文件,通过软链接创建的文件不存在
- Java序列化进阶篇
g21121
java序列化
1.transient
类一旦实现了Serializable 接口即被声明为可序列化,然而某些情况下并不是所有的属性都需要序列化,想要人为的去阻止这些属性被序列化,就需要用到transient 关键字。
- escape()、encodeURI()、encodeURIComponent()区别详解
aigo
JavaScriptWeb
原文:http://blog.sina.com.cn/s/blog_4586764e0101khi0.html
JavaScript中有三个可以对字符串编码的函数,分别是: escape,encodeURI,encodeURIComponent,相应3个解码函数:,decodeURI,decodeURIComponent 。
下面简单介绍一下它们的区别
1 escape()函
- ArcgisEngine实现对地图的放大、缩小和平移
Cb123456
添加矢量数据对地图的放大、缩小和平移Engine
ArcgisEngine实现对地图的放大、缩小和平移:
个人觉得是平移,不过网上的都是漫游,通俗的说就是把一个地图对象从一边拉到另一边而已。就看人说话吧.
具体实现:
一、引入命名空间
using ESRI.ArcGIS.Geometry;
using ESRI.ArcGIS.Controls;
二、代码实现.
- Java集合框架概述
天子之骄
Java集合框架概述
集合框架
集合框架可以理解为一个容器,该容器主要指映射(map)、集合(set)、数组(array)和列表(list)等抽象数据结构。
从本质上来说,Java集合框架的主要组成是用来操作对象的接口。不同接口描述不同的数据类型。
简单介绍:
Collection接口是最基本的接口,它定义了List和Set,List又定义了LinkLi
- 旗正4.0页面跳转传值问题
何必如此
javajsp
跳转和成功提示
a) 成功字段非空forward
成功字段非空forward,不会弹出成功字段,为jsp转发,页面能超链接传值,传输变量时需要拼接。接拼接方式list.jsp?test="+strweightUnit+"或list.jsp?test="+weightUnit+&qu
- 全网唯一:移动互联网服务器端开发课程
cocos2d-x小菜
web开发移动开发移动端开发移动互联程序员
移动互联网时代来了! App市场爆发式增长为Web开发程序员带来新一轮机遇,近两年新增创业者,几乎全部选择了移动互联网项目!传统互联网企业中超过98%的门户网站已经或者正在从单一的网站入口转向PC、手机、Pad、智能电视等多端全平台兼容体系。据统计,AppStore中超过85%的App项目都选择了PHP作为后端程
- Log4J通用配置|注意问题 笔记
7454103
DAOapachetomcatlog4jWeb
关于日志的等级 那些去 百度就知道了!
这几天 要搭个新框架 配置了 日志 记下来 !做个备忘!
#这里定义能显示到的最低级别,若定义到INFO级别,则看不到DEBUG级别的信息了~!
log4j.rootLogger=INFO,allLog
# DAO层 log记录到dao.log 控制台 和 总日志文件
log4j.logger.DAO=INFO,dao,C
- SQLServer TCP/IP 连接失败问题 ---SQL Server Configuration Manager
darkranger
sqlcwindowsSQL ServerXP
当你安装完之后,连接数据库的时候可能会发现你的TCP/IP 没有启动..
发现需要启动客户端协议 : TCP/IP
需要打开 SQL Server Configuration Manager...
却发现无法打开 SQL Server Configuration Manager..??
解决方法: C:\WINDOWS\system32目录搜索framedyn.
- [置顶] 做有中国特色的程序员
aijuans
程序员
从出版业说起 网络作品排到靠前的,都不会太难看,一般人不爱看某部作品也是因为不喜欢这个类型,而此人也不会全不喜欢这些网络作品。究其原因,是因为网络作品都是让人先白看的,看的好了才出了头。而纸质作品就不一定了,排行榜靠前的,有好作品,也有垃圾。 许多大牛都是写了博客,后来出了书。这些书也都不次,可能有人让为不好,是因为技术书不像小说,小说在读故事,技术书是在学知识或温习知识,有些技术书读得可
- document.domain 跨域问题
avords
document
document.domain用来得到当前网页的域名。比如在地址栏里输入:javascript:alert(document.domain); //www.315ta.com我们也可以给document.domain属性赋值,不过是有限制的,你只能赋成当前的域名或者基础域名。比如:javascript:alert(document.domain = "315ta.com");
- 关于管理软件的一些思考
houxinyou
管理
工作好多看年了,一直在做管理软件,不知道是我最开始做的时候产生了一些惯性的思维,还是现在接触的管理软件水平有所下降.换过好多年公司,越来越感觉现在的管理软件做的越来越乱.
在我看来,管理软件不论是以前的结构化编程,还是现在的面向对象编程,不管是CS模式,还是BS模式.模块的划分是很重要的.当然,模块的划分有很多种方式.我只是以我自己的划分方式来说一下.
做为管理软件,就像现在讲究MVC这
- NoSQL数据库之Redis数据库管理(String类型和hash类型)
bijian1013
redis数据库NoSQL
一.Redis的数据类型
1.String类型及操作
String是最简单的类型,一个key对应一个value,string类型是二进制安全的。Redis的string可以包含任何数据,比如jpg图片或者序列化的对象。
Set方法:设置key对应的值为string类型的value
- Tomcat 一些技巧
征客丶
javatomcatdos
以下操作都是在windows 环境下
一、Tomcat 启动时配置 JAVA_HOME
在 tomcat 安装目录,bin 文件夹下的 catalina.bat 或 setclasspath.bat 中添加
set JAVA_HOME=JAVA 安装目录
set JRE_HOME=JAVA 安装目录/jre
即可;
二、查看Tomcat 版本
在 tomcat 安装目
- 【Spark七十二】Spark的日志配置
bit1129
spark
在测试Spark Streaming时,大量的日志显示到控制台,影响了Spark Streaming程序代码的输出结果的查看(代码中通过println将输出打印到控制台上),可以通过修改Spark的日志配置的方式,不让Spark Streaming把它的日志显示在console
在Spark的conf目录下,把log4j.properties.template修改为log4j.p
- Haskell版冒泡排序
bookjovi
冒泡排序haskell
面试的时候问的比较多的算法题要么是binary search,要么是冒泡排序,真的不想用写C写冒泡排序了,贴上个Haskell版的,思维简单,代码简单,下次谁要是再要我用C写冒泡排序,直接上个haskell版的,让他自己去理解吧。
sort [] = []
sort [x] = [x]
sort (x:x1:xs)
| x>x1 = x1:so
- java 路径 配置文件读取
bro_feng
java
这几天做一个项目,关于路径做如下笔记,有需要供参考。
取工程内的文件,一般都要用相对路径,这个自然不用多说。
在src统计目录建配置文件目录res,在res中放入配置文件。
读取文件使用方式:
1. MyTest.class.getResourceAsStream("/res/xx.properties")
2. properties.load(MyTest.
- 读《研磨设计模式》-代码笔记-简单工厂模式
bylijinnan
java设计模式
声明: 本文只为方便我个人查阅和理解,详细的分析以及源代码请移步 原作者的博客http://chjavach.iteye.com/
package design.pattern;
/*
* 个人理解:简单工厂模式就是IOC;
* 客户端要用到某一对象,本来是由客户创建的,现在改成由工厂创建,客户直接取就好了
*/
interface IProduct {
- SVN与JIRA的关联
chenyu19891124
SVN
SVN与JIRA的关联一直都没能装成功,今天凝聚心思花了一天时间整合好了。下面是自己整理的步骤:
一、搭建好SVN环境,尤其是要把SVN的服务注册成系统服务
二、装好JIRA,自己用是jira-4.3.4破解版
三、下载SVN与JIRA的插件并解压,然后拷贝插件包下lib包里的三个jar,放到Atlassian\JIRA 4.3.4\atlassian-jira\WEB-INF\lib下,再
- JWFDv0.96 最新设计思路
comsci
数据结构算法工作企业应用公告
随着工作流技术的发展,工作流产品的应用范围也不断的在扩展,开始进入了像金融行业(我已经看到国有四大商业银行的工作流产品招标公告了),实时生产控制和其它比较重要的工程领域,而
- vi 保存复制内容格式粘贴
daizj
vi粘贴复制保存原格式不变形
vi是linux中非常好用的文本编辑工具,功能强大无比,但对于复制带有缩进格式的内容时,粘贴的时候内容错位很严重,不会按照复制时的格式排版,vi能不能在粘贴时,按复制进的格式进行粘贴呢? 答案是肯定的,vi有一个很强大的命令可以实现此功能 。
在命令模式输入:set paste,则进入paste模式,这样再进行粘贴时
- shell脚本运行时报错误:/bin/bash^M: bad interpreter 的解决办法
dongwei_6688
shell脚本
出现原因:windows上写的脚本,直接拷贝到linux系统上运行由于格式不兼容导致
解决办法:
1. 比如文件名为myshell.sh,vim myshell.sh
2. 执行vim中的命令 : set ff?查看文件格式,如果显示fileformat=dos,证明文件格式有问题
3. 执行vim中的命令 :set fileformat=unix 将文件格式改过来就可以了,然后:w
- 高一上学期难记忆单词
dcj3sjt126com
wordenglish
honest 诚实的;正直的
argue 争论
classical 古典的
hammer 锤子
share 分享;共有
sorrow 悲哀;悲痛
adventure 冒险
error 错误;差错
closet 壁橱;储藏室
pronounce 发音;宣告
repeat 重做;重复
majority 大多数;大半
native 本国的,本地的,本国
- hibernate查询返回DTO对象,DTO封装了多个pojo对象的属性
frankco
POJOhibernate查询DTO
DTO-数据传输对象;pojo-最纯粹的java对象与数据库中的表一一对应。
简单讲:DTO起到业务数据的传递作用,pojo则与持久层数据库打交道。
有时候我们需要查询返回DTO对象,因为DTO
- Partition List
hcx2013
partition
Given a linked list and a value x, partition it such that all nodes less than x come before nodes greater than or equal to x.
You should preserve the original relative order of th
- Spring MVC测试框架详解——客户端测试
jinnianshilongnian
上一篇《Spring MVC测试框架详解——服务端测试》已经介绍了服务端测试,接下来再看看如果测试Rest客户端,对于客户端测试以前经常使用的方法是启动一个内嵌的jetty/tomcat容器,然后发送真实的请求到相应的控制器;这种方式的缺点就是速度慢;自Spring 3.2开始提供了对RestTemplate的模拟服务器测试方式,也就是说使用RestTemplate测试时无须启动服务器,而是模拟一
- 关于推荐个人观点
liyonghui160com
推荐系统关于推荐个人观点
回想起来,我也做推荐了3年多了,最近公司做了调整招聘了很多算法工程师,以为需要多么高大上的算法才能搭建起来的,从实践中走过来,我只想说【不是这样的】
第一次接触推荐系统是在四年前入职的时候,那时候,机器学习和大数据都是没有的概念,什么大数据处理开源软件根本不存在,我们用多台计算机web程序记录用户行为,用.net的w
- 不间断旋转的动画
pangyulei
动画
CABasicAnimation* rotationAnimation;
rotationAnimation = [CABasicAnimation animationWithKeyPath:@"transform.rotation.z"];
rotationAnimation.toValue = [NSNumber numberWithFloat: M
- 自定义annotation
sha1064616837
javaenumannotationreflect
对象有的属性在页面上可编辑,有的属性在页面只可读,以前都是我们在页面上写死的,时间一久有时候会混乱,此处通过自定义annotation在类属性中定义。越来越发现Java的Annotation真心很强大,可以帮我们省去很多代码,让代码看上去简洁。
下面这个例子 主要用到了
1.自定义annotation:@interface,以及几个配合着自定义注解使用的几个注解
2.简单的反射
3.枚举
- Spring 源码
up2pu
spring
1.Spring源代码
https://github.com/SpringSource/spring-framework/branches/3.2.x
注:兼容svn检出
2.运行脚本
import-into-eclipse.bat
注:需要设置JAVA_HOME为jdk 1.7
build.gradle
compileJava {
sourceCompatibilit
- 利用word分词来计算文本相似度
yangshangchuan
wordword分词文本相似度余弦相似度简单共有词
word分词提供了多种文本相似度计算方式:
方式一:余弦相似度,通过计算两个向量的夹角余弦值来评估他们的相似度
实现类:org.apdplat.word.analysis.CosineTextSimilarity
用法如下:
String text1 = "我爱购物";
String text2 = "我爱读书";
String text3 =