`
tanglong8848
  • 浏览: 72888 次
  • 性别: Icon_minigender_1
  • 来自: 北京
文章分类
社区版块
存档分类
最新评论
文章列表
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%> <% String path = request.getContextPath(); String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/"; %> & ...
function sortUp(obj)//向上移动 { var targetOptions=document.getElementById(obj);//提取操作的对象集合,也就是需要操作的select if(targetOptions!=undefined) { var length=targetOptions.options.length; if(length>0){ for(index=0;index<length;index++) { if(targetOptions.option ...
<!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=gb2312"> <title>可以编辑的表格</title> <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.6.3/jquery.min.js" type=& ...
package com.ogilvy.sayes.util; import java.io.InputStream; import java.net.URL; import java.util.ArrayList; import java.util.Hashtable; /* Description: 爬网页用 Author : long.tang */ public class SearchCrawler { public String myGetHttpFile2(String url) { String ur ...
# 在每一行后面增加一空行   sed G   # 将原来的所有空行删除并在每一行后面增加一空行。   # 这样在输出的文本中每一行后面将有且只有一空行。   sed '/^$/d;G'   # 在每一行后面增加两行空行   sed 'G;G'   # 将第一个脚本所产生的所有空行删除(即删除所有偶数行)   sed 'n;d'   # 在匹配式样“regex”的行之前插入一空行   sed '/regex/{x;p;x;}'   # 在匹配式样“regex”的行之后插入一空行   sed '/regex/G'   # 在匹配式样“regex”的行之前和之后各插入一空行 ...
/*update SQL:执行一个语句把字段中%替换成''*/ update web_traffic_data_raw set ubi_bounce_rate=replace(ubi_bounce_rate,'%','') where web_id=1811 commit; /*先把%去掉然后除以100再转化成char类型*/ update web_traffic_data_raw set ubi_bounce_rate=to_char((to_number(replace(ubi_bounce_rate,'%',''))/100),'fm999990.000000') ...
create or replace trigger wid_iwm_new_id_tri before insert on web_iwm_data_raw for each row declare -- local variables here begin select WEB_SPLIT_IWM_SEQ.NEXTVAL into :new.id from dual; end wid_iwm_new_id_tri;
[分享]开发工程师人生之路-与30岁左右的开发人员共勉开发工程师人生之路-与30岁左右的开发人员共勉 -转自三毛电子世界 ww.mculib.com ---------------------------- 作者:我本闲人 ------------------------------------------------------------------------------------------   恭喜,你选择开发工程师做为自已的职业 悲哀,你选择开发工程师做为自已的职业  本文所指的开发工程师,仅指程序开发人员和以数字电路开发为主的电子工程师。当你选择计算 ...
启动:net start mySql;   进入:mysql -u root -p/mysql -h localhost -u root -p databaseName;   列出数据库:show databases;   选择数据库:use databaseName;   列出表格:show tables;   显示表格列的属性:show columns from tableName;   建立数据库:source fileName.txt;   匹配字符:可以用通配符_代表任何一个字符,%代表任何字符串;   增加一个字段:alter table tabelName add ...
DROP SEQUENCE WPP_ID_SEQ CREATE SEQUENCE WPP_ID_SEQ INCREMENT BY 1 START WITH 1; declare i number; j number; begin i:= 0; j:= 0; loop i := i + 1; select WPP_ID_SEQ.Nextval into j from dual; exit when i = 3502 ; end loop; end; select WPP_ID_SEQ.Nextval from dual ...
using System; using System.Collections.Generic; using System.Web; using System.Net.Mail; using System.Text; using System.Configuration; using System.Web.UI; using System.Web.UI.WebControls; public partial class sendmail : System.Web.UI.Page { //带附件发送 public static bool Sen ...
功能最强在的编辑器——vi   vi是所有UNIX系统都会提供的屏幕编辑器,它提供了一个视窗设备,通过它可以编辑文件。当然,对UNIX系统略有所知的人,   或多或少都觉得vi超级难用,但vi是最基本的编辑器,所以希望读 ...
import java.io.UnsupportedEncodingException; import java.net.URLEncoder; public class UnicodeChange { //UTF-8->GB2312 public static String utf8Togb2312(String str){ StringBuffer sb = new StringBuffer(); for ( int i=0; i<str.length(); i++) { char ...
using System.Xml; try { //记录访问数据 String down_file = ""; String count = ""; String page = ""; XmlDocument doc = new XmlDocument(); ...
<html> <head> <title>jQuery Ajax 实例演示</title> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> </head> <script src="http://code.jquery.com/jquery-1.4.3.js"></script> <script type="text/ja ...
Global site tag (gtag.js) - Google Analytics