自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(12)
  • 收藏
  • 关注

原创 WSL图形化界面

https://blog.csdn.net/w_weilan/article/details/82862913按这篇博客的流程,Firefox无法显示,此时需sudo apt-get install x11-apps DISPLAY=:0 程序名

2019-06-21 19:16:56 3490

转载 WSL挂载windows文件

WSL 系统可以通过/mnt/<盘号>/目录(挂载点)来访问你计算机上的文件系统。举个例子,你的 Windows 上的 C:\ 和 D:\ 根目录可以在 WSL 中相应地通过 /mnt/c 和 /mnt/d 访问。当你要把你的 Windows 下的项目文件、下载的内容和其它文件用到 Linux/Bash 之中时这很有用。上图显示的两个目录分别对应于我的计算机上的 SSD 和...

2019-06-21 16:20:24 16322

转载 github下载单个文件夹

step1:From GitURL to SVNURL点开”/jpeg”子文件,复制浏览器中的地址,如下:https:// github. com/shanfl/collectcode/tree/3b09c/jpeg(链接加了左右空格,防止智能识别链接。下同)将”/tree/3b09c/”替换成”/trunk/”,则新生成的新链接为:https:// github .com/shanf...

2019-05-31 11:30:38 375

转载 Colab中使用tensorboardX

原地址:https://medium.com/looka-engineering/how-to-use-tensorboard-with-pytorch-in-google-colab-1f76a938bc34Why you’reherePyTorchis the fastest growing deep learning framework. It offers several be...

2019-05-30 10:07:08 2219

转载 使用Google免费GPU进行BERT模型fine-tuning

使用Google免费GPU进行BERT模型fine-tuning原地址:https://leowood.github.io/2018/11/16/BERT-fine-tuning-01/字数统计:927|阅读时长 ≈4使用Google Colab中自带的免费GPU进行BERT fine-tuning。前期准备首先,需要申请一个谷歌账号。打开谷歌云端硬盘,...

2019-05-29 16:02:52 811

转载 pip国内源(转)

清华:https://pypi.tuna.tsinghua.edu.cn/simple阿里云:http://mirrors.aliyun.com/pypi/simple/中国科技大学 https://pypi.mirrors.ustc.edu.cn/simple/华中理工大学:http://pypi.hustunique.com/山东理工大学:http://pypi.sdutlin...

2019-05-28 19:00:15 122

原创 HTML笔记

&lt;a&gt; 标签的 href 属性h:用于指定超链接目标的 URL&lt;%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %&gt;:引用JSTL标签--核心标签库&lt;h3&gt;标签:第3级标题&lt;table&gt;标签:表格&lt;tr&gt;标签:表格中的一行&lt;

2018-09-02 14:38:43 101

原创 jsp中url找不到Servlet的可能原因

  尝试用jsp+servlet写项目时发现,url里用相对路径取不到servlet。  后发现在web.xml中对servlet配置如下 &lt;servlet&gt; &lt;servlet-name&gt;PlayerServlet&lt;/servlet-name&gt; &lt;servlet-class&gt;Servlet.Player...

2018-09-02 13:32:34 6243

原创 fitnesshourglass技术总结

github地址:https://github.com/huanglixiao/fitnesshourglass2。 功能简介:以倒计时为基础,加上组数计次和计数清零的功能。 应用截图:   实现原理:   在Android SDK自带的CountdownTimer基础上,修改为带有暂停的Timer。   在service中开启子线程运行Timer;在MainAc...

2018-08-15 15:56:19 225

原创 Can't create handler inside thread Thread that has not called Looper.prepare()的解决

 8月9日在service中创建子线程时再次遇到java.lang.RuntimeException: Can't create handler inside thread Thread that has not called Looper.prepare()这个问题。代码如下new Thread(new Runnable() { @Override...

2018-08-09 14:17:08 79439 7

原创 记录使用AsyncTask遇到的问题(8.9更新,已解决)

解决方法写在这篇博客《Can't create handler inside thread Thread that has not called Looper.prepare()的解决》https://blog.csdn.net/weixin_42694582/article/details/81535083在service中调用task,重写了doInBackground方法如下  @...

2018-08-08 00:09:55 619

原创 《第一行代码(第二版)》7.4节 ProviderTest项目出错分析

点击 Add data按钮时程序闪退。Logcat里显示出错信息为java.lang.NullPointerException: Attempt to invoke virtual method 'java.util.List android.net.Uri.getPathSegments()' on a null object reference.调试时将 newId = ne...

2018-07-17 13:33:51 1642 8

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除