码迷,mamicode.com
首页 >  
搜索关键字:text    ( 52583个结果
perl学习笔记
1. 数组#!/usr/bin/perlmy $str = "hello,nihao,no,o,good";my @arr = split(/,/, $str);print "len:" . @arr . "\n";for (my $i=0; $i >text.txt")用追加,不要用>,>会清空原...
分类:其他好文   时间:2015-01-17 15:12:49    阅读次数:142
jquery操作select(取值,设置选中)
每一次操作select的时候,总是要出来翻一下资料,不如自己总结一下,以后就翻这里了。比如1、设置value为pxx的项选中 $(".selector").val("pxx");2、设置text为pxx的项选中 $(".selector").find("option[text='pxx']").at...
分类:Web程序   时间:2015-01-17 15:08:29    阅读次数:175
c# 隐藏 控制台应用程序
using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Diagnostics;using System.Runtime.InteropServices;namesp...
分类:Windows程序   时间:2015-01-17 13:48:59    阅读次数:558
关于AlertDialog
应用中常用的弹出对话框,提示一些信息,或是让用户输入一些信息。在此记下使用步骤。1、建立对话框的界面,使用xml文件。 2、获取对话框界面及界面下的组件,如获取EditText因为可能要取它的Text View view = getLayoutInflater().inf...
分类:其他好文   时间:2015-01-17 12:27:03    阅读次数:178
Newtonsoft.Json(C#处理json)
转载自:http://blog.csdn.net/wswqiang/article/details/6783161using Newtonsoft.Json;using System.Text;StringBuilder sb = new StringBuilder(); ...
分类:Windows程序   时间:2015-01-17 11:13:21    阅读次数:172
Java web----POST和GET中文编码问题
1 说明 乱码问题: 获取请求参数中的乱码问题; POST请求:request.setCharacterEncoding(“utf-8”);GET请求:newString(request.getParameter(“xxx”).getBytes(“iso-8859-1”), “utf-8”); 响应的乱码问题:response.setContextType(“text/ht...
分类:编程语言   时间:2015-01-17 10:02:47    阅读次数:305
Sublime Text 3 史上最性感的编辑器
↑ ↑ ↑ ↑ ↑ 请看文件夹 ↑ ↑ ↑ ↑ ↑下载 / 安装windows / MAC OS官网下载,双击安装,这个都会吧~linuxlinux下安装,一种办法是从官网下载 tar.bz ,手动安装。这里介绍用 apt-get 自己主动安装方法:sudo add-apt-repository p...
分类:其他好文   时间:2015-01-17 10:00:45    阅读次数:291
Sublime Text 3 Nodejs build 配置
{ "file_regex": "^[ ]*File \"(...*?)\", line ([0-9]*)", "shell_cmd": "taskkill /F /IM node.exe & node \"$file\"", "selector": "source.js", "encodi...
分类:Web程序   时间:2015-01-17 06:22:24    阅读次数:174
html DOM对象 open()方法
定义和用法 open() 方法可打开一个新文档,并擦除当前文档的内容。 语法 document.open(mimetype,replace) 参数 描述 mimetype 可选。规定正在写的文档的类型。默认值是 "text/html"。 replace 可选。当此参数设置后,可引起新文档从父文档继承历史条目。 说明 该方法将擦除当前 H...
分类:Web程序   时间:2015-01-17 01:03:32    阅读次数:282
eclipse块编辑
1. Windows > Preferences然后键入keys或浏览到General > Keys。根据该键输入filter text的block selection快速找到快捷方式上市toggle block selection。在这里,您可以在快捷方式列选择如你所愿。 2. 您可以通过键盘快捷...
分类:系统相关   时间:2015-01-17 01:00:06    阅读次数:441
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!