- 博客(10)
- 资源 (3)
- 收藏
- 关注
原创 从main函数开始学习kotlin
从main函数开始学习kotlinmain的写法:任何一个种语言都有一个共同的入口函数:main,学习kotlin之前先熟悉它的main函数的写法。有了main函数的入口,就能有一片操练的场地,可以在main函数里加入自己的demo代码,以方便学习基本语法。 读者们大概不会对java的main函数感动陌生,学习新知识最好的方法就说关联上大脑里原有的知识,我们来看看java里的main函数,
2017-07-06 21:08:15
2800
转载 android studio更新提示网络连接失败的解决办法
在Android Studio安装目录/bin/studio.exe.vmoptions文件中追加以下几行-Djava.net.preferIPv4Stack=true-Didea.updates.url=http://dl.google.com/android/studio/patches/updates.xml-Didea.patches.url=http://dl.googl
2015-01-25 11:31:10
3735
原创 android studio代码格式化问题
今天从网络上copy一段示例代码到本地运行,代码很乱,便准备格式化,但发现option + command + L后行距还是很大,如图:看上去是否不爽,调了setting中的code style也无效最后找到替代方法,先把代码合并成一行再格式化,合并成一行的快捷键: control + shift + J格式化:option + command + L 结果如下:
2014-12-26 12:21:34
2121
1
原创 git中 Please merge (or rebase) the change locally and upload the resolution for review.
Gerrit Code Review 10:22 AMYour change could not be merged due to a path conflict.Please merge (or rebase) the change locally and upload the resolution for review.无法合并
2014-08-07 11:02:12
4623
原创 linux 输入控制台下输入特殊符号
Shell special characters (metacharacters)Normally, these characters have special meaning to the shell: / " | ; ( ) [ ] ? # $ ^ & * =Here is the meaning of some of them: /
2007-11-20 09:56:00
1525
原创 ASP.NET生成静态页面实现方法
protected override void OnInit (EventArgs e){ int id; try { id = int.Parse (Request.QueryString["id"]); } catch { throw (new Exception ("页面没有指定id")); } string filename=Server.MapPath("
2007-03-13 11:00:00
624
原创 大文件上传解决办法
.net中默只能上传小于4m的文件,大于4M将无法显示页面.那么如何设置来使imputfile能上传更大的文件呢, 1,环境:window 2003 ,IIS6.0 要首先要修改IIS6.0中的asp请求的最大字节数,默认时为200K;方法:打开位于 C:/Windows/System32/Inetsrv 中的 metabase.XML, 并修改 AspMaxReques
2007-01-02 17:21:00
1291
1
原创 大型网站新闻系统如何生成静态网页
大型网站的新闻系统 一般都是以静态html文件的形式出现,这样做的好处就是对搜索引擎友好,能保证搜索引擎有效地收录网站内容. 下面我提出两种解决办法,首先看看微软的解决办法.方法一:微软的解决办法:This step-by-step article describes how to retrieve the HTML results of a page as a strea
2006-12-30 16:10:00
2405
weblogic用户限制的破解
2008-07-28
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人