会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
sevenun
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
下一页
2016年9月22日
LeetCode 401 Binary Watch
摘要: 题意: 一块表,上面有四个灯,分别显示8、4、2、1;下面有六个灯,分别显示32、16、8、4、2、1。 上面的灯代表小时,下面的灯代表分钟,给你数字n,代表有n个灯亮,让你求出n个灯亮可能代表的时间是多少。 (小时范围是0到11,分钟范围是0到59) 我的思路: 用数组记录一定数量灯亮的时候代表的
阅读全文
posted @ 2016-09-22 14:12 sevenun
阅读(664)
评论(0)
推荐(0)
2016年9月11日
Android Studio:Error:Execution failed for task ':app:mergeDebugResources'. > Some file crunching failed, see logs for details
摘要: Gradle 编译错误: 14:39:58 Executing tasks: [clean, :app:generateDebugSources, :app:mockableAndroidJar, :app:prepareDebugUnitTestDependencies, :app:generat
阅读全文
posted @ 2016-09-11 14:46 sevenun
阅读(3368)
评论(0)
推荐(1)
2016年9月10日
inconvertible types; cannot cast 'android.supoort.v4.app.Fragment' to 'com.example.sevenun.littledemo.fragment.NewsTitleFragment'
摘要: inconvertible types; cannot cast 'android.supoort.v4.app.Fragment' to 'com.example.sevenun.littledemo.fragment.NewsTitleFragment' inconvertible types;
阅读全文
posted @ 2016-09-10 14:44 sevenun
阅读(6977)
评论(0)
推荐(1)
Android Studio:Unable to add window android.view.ViewRootImpl$W@5e2d85a -- permission denied for this window 第一行代码
摘要: 学习《第一行代码》的时候,出现的错误。 java.lang.RuntimeException: Unable to start receiver com.example.sevenun.littledemo.receiver.ForceOfflineReceiver: android.view.Wi
阅读全文
posted @ 2016-09-10 08:56 sevenun
阅读(14590)
评论(0)
推荐(1)
2016年9月9日
Android Studio:You need to use a Theme.AppCompat theme (or descendant) with this activity. AlertDialog
摘要: 学习《第一行代码》的时候遇到的问题。 Process: com.example.sevenun.littledemo, PID: 2085 java.lang.RuntimeException: Unable to start receiver com.example.sevenun.littled
阅读全文
posted @ 2016-09-09 21:21 sevenun
阅读(2422)
评论(0)
推荐(1)
2016年6月7日
Ubuntu/Linux 笔记应用 为知笔记(支持markdown)
摘要: 发现网易云笔记没有Linux,但是为知笔记有Linux版本,且支持markdown格式 地址:http://www.wiz.cn/wiznote-linux.html
阅读全文
posted @ 2016-06-07 11:27 sevenun
阅读(2125)
评论(0)
推荐(1)
2016年6月6日
Ubuntu mysql安装,还有可视化界面
摘要: 安装mysql 安装mysql的可视化界面(mysql workbench)
阅读全文
posted @ 2016-06-06 22:19 sevenun
阅读(4686)
评论(0)
推荐(1)
2016年5月26日
Ubuntu 无线连接能上网,但是有线连接不能上
摘要: 这两天装Ubuntu,遇到小问题。最头疼的还是上网,过去我装了Ubuntu时,都是插上网线就能直接上网,这次就不行了。 我刚点开一个网页,接下来点就不能上了,但是无线连接就可以正常上网。 我在一个论坛上咨询了:http://forum.ubuntu.org.cn/viewtopic.php?f=48
阅读全文
posted @ 2016-05-26 19:12 sevenun
阅读(2381)
评论(0)
推荐(1)
Ubuntu Eclipse的Tomcat小问题:不能输入server name,不能启动tomcat
摘要: Ubuntu的Eclipse上安装Tomcat环境,这是让人烦啊,万幸还是终于解决了。 Eclipse上Tomcat的搭建: 1、点击Eclipse上的菜单:Windows - Preference, 窗口左侧Server - Runtime Environment,然后点Add, 因为我从Tomc
阅读全文
posted @ 2016-05-26 19:03 sevenun
阅读(1091)
评论(0)
推荐(1)
Ubuntu 配置Tomcat环境
摘要: 1、下载Tomcat http://tomcat.apache.org/,下载Tomcat 8(由于目前最新eclipse不支持tomcat 9) 将下载的apache-tomcat-8.0.35.tar.gz解压到任意文件夹,再将解压得到的文件夹apache-tomcat-8.0.35,拷贝到目录
阅读全文
posted @ 2016-05-26 15:00 sevenun
阅读(5569)
评论(0)
推荐(2)
上一页
1
2
3
4
5
6
下一页
公告