摘要: sed -i 's/\r$//' control.sh 阅读全文
posted @ 2022-03-25 08:07 乐上 阅读(14) 评论(0) 推荐(0) 编辑
摘要: 1.设置虚拟网络 2.设置linux ip 打开Ubuntu的终端,输入: sudo gedit /etc/network/interfaces 原有内容只有如下两行:auto loiface lo inet loopback 在后边追加 auto ens33iface ens33 inet sta 阅读全文
posted @ 2016-08-30 15:57 乐上 阅读(4034) 评论(0) 推荐(0) 编辑
摘要: undefinedJSON.stringify(obj);substring(start,end)开始和结束的位置,从零开始的索引参数 描述start 必需。一个非负的整数,规定要提取的子串的第一个字符在 stringObject 中的位置。stop 可选。一个非负的整数,比... 阅读全文
posted @ 2015-12-04 18:10 乐上 阅读(114) 评论(0) 推荐(0) 编辑
摘要: SimpleDateFormat sdf = new SimpleDateFormat("yyyyMM"); Date date = sdf.parse("201508"); String s =new java.text.SimpleDateFormat("yyyyMM01").format... 阅读全文
posted @ 2015-09-08 15:14 乐上 阅读(215) 评论(0) 推荐(0) 编辑
摘要: package com;public interface IPeople {public abstract void desc();}package com;public class Women implements IPeople {@Overridepublic void desc() {Sys... 阅读全文
posted @ 2015-09-08 15:11 乐上 阅读(109) 评论(0) 推荐(0) 编辑
摘要: MapInfo1.县级行政边界shp 2.县界.MAPPatienceexport 导出 Query9.MIF csv 名称显示位置.UltraEdit 行换逗号 ^n , 阅读全文
posted @ 2015-08-31 22:11 乐上 阅读(316) 评论(0) 推荐(0) 编辑
摘要: <script type ="text/javascript"> $(document).ready(function(){ $("#Web1_hid").val($("#div").html()); // select add 1. $("#sel").append("<option value='213123'>24324</option>"); //add 2. var op = new Option(); op.text = " 阅读全文
posted @ 2011-05-23 23:07 乐上 阅读(295) 评论(0) 推荐(0) 编辑
摘要: Working ExampleThe following is an example showing an already populated select. Clicking the "Add option" button adds a new option to the end of the select and makes it the selected one. Clicking "Replace options" replaces them with a new set of options and then selects the " 阅读全文
posted @ 2011-05-23 14:40 乐上 阅读(1938) 评论(0) 推荐(0) 编辑
摘要: create proc [dbo].[backupdb]asbegindeclare @str varchar(1000);set @str = 'backup database runewcarsbd to disk =''D:\CarManage\db\'+convert(varchar(8),getdate(),112)+'runewcarsbd.bak'''exec (@str)end--还原数据库resotre database dbnamefrom disk = '' 阅读全文
posted @ 2011-05-13 17:47 乐上 阅读(174) 评论(0) 推荐(0) 编辑
摘要: <html><head><script type="text/javascript">//<!--function isIFrameSelf(){try{if(window.top ==window){return false;}else{return true;}}catch(e){return true;}}function toHome(){ if(!isIFrameSelf()){ window.location.href="http://www.baidu.com";}}window.setTimeou 阅读全文
posted @ 2011-05-13 09:38 乐上 阅读(151) 评论(0) 推荐(0) 编辑