lyh7609的博客
lyh7609 · 共 97 篇文章
mount: unknown filesystem type ‘LVM2_member’
解决硬盘挂载报错: mount: unknown filesystem type 'LVM2_member' mount: you must specify the filesystem type [root@renwole-com ~]# fdisk -l Disk /dev/sda: 500.1 GB, 500107862016 bytes 255 heads, 63 sectors/track, 60801 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Sector size (logical/physical):…
2020-10-29 11:15 · linux · 评论(0)
ubuntu welcome to emergency mode & normal user not startx
welcome to emergency mode problem reason 1:/etc/fstab mount some folders that not existed solution: delete these commands in fstab normal user can not startx reason 1: /home/xxx/.ICEauthority permission problem solution: sudo chown xxx:xxx /home/xxx/.ICEauthority
2018-09-06 15:38 · linux · 评论(0)
Spring4 Jasypt1.9.2 Integration
1.add jasypt with maven <!-- Encryption / Decryption --> <dependency> <groupId>org.jasypt</groupId> <artifactId>jasypt-spring3</artifactId> <version>${jasypt.version}</version> </dependency> 2.Download jasypt to encrypt passwod on tomcat server 1)execute command under folder bin to list available a…
2017-11-24 15:00 · 數據安全 · 评论(0)
可重疊的不同形狀的導航按鈕
以下代碼在:http://dojo.telerik.com/上運行 <script src="https://kendo.cdn.telerik.com/2017.2.621/js/jquery.min.js"></script> <script src="https://kendo.cdn.telerik.com/2017.2.621/js/kendo.all.min.js"></script> <div style="width:100%;height:220px;border:1px dotted white;text-align:center"> <span class="k-i-d…
2017-09-05 16:24 · kendoui-angular-sts · 评论(0)
IReport5.6 中文解决
1.download wqy-zenhei font file type is ttc 2.download unitettc Because ireport5.6 needs ttf file type when installing font,convert ttc to ttf with unitettc tool. Command: sudo ./unitettc wqy-zenhei.ttc The command above will generate 3 ttf files,use the first ttf file only when installing font 3.E…
2017-04-06 12:44 · JasperRerport · 评论(0)
kendo grid 编辑一行后,光标仍然留在原处的方法
<!DOCTYPE html> <html> <head> <meta charset="utf-8"/> <title>Kendo UI Snippet</title> <link rel="stylesheet" href="http://kendo.cdn.telerik.com/2017.1.118/styles/kendo.common.min.css"/> <link rel="stylesheet" href="http://kendo.cdn.telerik.com/2017.1.118/styles/kendo.rtl.min.css"/> <link rel="style…
2017-03-27 15:00 · kendoui-angular-sts · 评论(0)
angular state sticky true 刷新問題
问题描述:系统有两个导航栏,一个是kendo的menu,另外一个kendo的mobilegroupbutton. 系统已经添加了ui-router-extras相关的js,angular 也设置了sticky:true。 mobilegroupbutton是根据kedo menu的选项来生成的,现在groupbutton里面查找有无当前选项的对象值, 若没有就添加到groupbutton,然后 $state.go(dataItem.widget,{'menuItem':dataItem}, {reload: true}); 若存在就直接 $state.go(dataItem.widget,{…
2017-03-03 17:52 · kendoui-angular-sts · 评论(0)
generator-angular-fullstack grunt build
Grunt build problem : 1, npm uninstall grunt-contrib-imagemin 2,npm install grunt-contrib-imagemin --save-dev issue1 Loading "cdnify.js" tasks...ERROR >> ReferenceError: primordials is not defined Warning: Task "cdnify" failed. Use --force to continue. Aborted due to warnings. solution: npm install…
2017-03-03 10:35 · kendoui-angular-sts · 评论(0)
kendo grid Add extra button on popup editor window
http://dojo.telerik.com/eZEQe/2 <!DOCTYPE html> <html> <head> <meta charset="utf-8"/> <title>Kendo UI Snippet</title> <link rel="stylesheet" href="http://kendo.cdn.telerik.com/2017.1.118/styles/kendo.common.min.css"/> <link rel="stylesheet" href="http://kendo.cdn.telerik.com/2017.1.118/styles/kendo…
2017-02-15 11:39 · kendoui-angular-sts · 评论(0)
kendo grid inline mode 选择一列的值,自动将次列的其他值插入其他列
打开JS bin,输入以下代码: <!DOCTYPE html> <html> <head> <title>KendoUI Test Page</title> <link href="http://cdn.kendostatic.com/2013.2.716/styles/kendo.common.min.css" rel="stylesheet" /> <link href="http://cdn.kendostatic.com/2013.2.716/styles/kendo.default.min.css" rel="stylesheet" /> <link href="http://c…
2017-02-13 15:25 · kendoui-angular-sts · 评论(0)
Kendo UI input 正则表达式验证
<input type="text" pattern="[A-Z0-9_]{4}" class="k-input k-textbox" name="userId" required="required" data-bind="value:userId" data-required-msg="{{UserId}}{{required}}" validationMessage="编码字符只能是大写字母,数值或下滑线中的字符!" > 1.pattern="[A-Z0-9_]{4}" 2.validationMessage="编码字符只能是大写字母,数值或下滑线中的字符!" 另外一种: $scope…
2017-02-07 10:30 · kendoui-angular-sts · 评论(0)
kendo ui grid fix header
refer to:http://dojo.telerik.com/ewis <!DOCTYPE html> <html> <head> <base href="http://demos.telerik.com/kendo-ui/grid/column-resizing"> <style>html { font-size: 12px; font-family: Arial, Helvetica, sans-serif; }</style> <title></title> <link href="http://cdn.kendostatic.com/2014.2.903/styles/kendo…
2017-01-18 10:30 · kendoui-angular-sts · 评论(0)
Kendo UI Grid change editor by column dynamically
http://dojo.telerik.com/asIle 修改代码如下 <!DOCTYPE html> <html> <head> <meta charset="utf-8"/> <title>Kendo UI Snippet</title> <link rel="stylesheet" href="http://kendo.cdn.telerik.com/2016.3.1118/styles/kendo.common.min.css"/> <link rel="stylesheet" href="http://kendo.cdn.telerik.com/2016.3.1118/style…
2017-01-17 15:50 · kendoui-angular-sts · 评论(0)
Spring data jpa 调用存储过程
1,先保证升级相关的类库 <org.springframework-version>4.1.7.RELEASE</org.springframework-version> <spring.data.jpa.version>1.9.6.RELEASE</spring.data.jpa.version> <org.hibernate-version>5.0.8.Final</org.hibernate-version> 2,create stored procedure PROCEDURE xxSearch_member(xPara in nvarchar2, xcur_ret out nvar…
Kendo Dynamic Grid According to JSON Data
Referenc: http://www.telerik.com/forums/binding-kendoui-grid-to-dynamic-column-and-values-kendo-ui-complete-resources-buy-try 1.html page <!DOCTYPE html> <html> <head> <link href="http://cdn.kendostatic.com/2013.3.1324/styles/kendo.common.min.css" rel="stylesheet" type="text/css" /> <link href="htt…
2016-12-21 12:08 · kendoui-angular-sts · 评论(0)