/** * 去除左侧空格 */ function lTrim(str) { if (str) { return str.replace(/(^\s*)/g,""); } return null } /** * 去除右侧空格 */ function rTrim(str) { if (str) { re ...
分类:
Web程序 时间:
2021-06-23 17:07:01
阅读次数:
0
2021-04-2711:01:23.286 ERROR 12572 [nio-8077-exec-5] o.s.b.w.servlet.support.ErrorPageFilter: Cannot forward to error page for request [/check/checkev ...
分类:
其他好文 时间:
2021-06-23 16:47:55
阅读次数:
0
?Jupyter Notebook 详细介绍点击跳转 Jupyter主页 ?问题产生 Jupyter Notebook默认只能选择一个文件下载 ?批量下载 如需要保留层级目录并批量打包下载 在需要下载目录新建一个ipynb 运行如下代码 import os import tarfile def re ...
分类:
编程语言 时间:
2021-06-23 16:45:10
阅读次数:
0
import android.annotation.TargetApi; import android.content.Context; import android.content.res.TypedArray; import android.os.Build; import android.ut ...
分类:
移动开发 时间:
2021-06-22 17:57:53
阅读次数:
0
今天完成了昨天的初步构想,详细介绍见上一篇博客,具体项目结构和案例如下: MainActivity.java: package com.example.familybooks; import android.os.Bundle; import android.provider.ContactsCon ...
分类:
移动开发 时间:
2021-06-21 20:51:37
阅读次数:
0
今天在昨天的基础上,相继完成了三个页面的布局和显示情况: 新增加的xml文件如下: activity_add.xml: <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android ...
分类:
移动开发 时间:
2021-06-21 20:49:16
阅读次数:
0
Android使用开源的与操作系统无关的SQL数据库——SQLite 一:在命令行下创建数据库: 1.启动模拟器后,打开命令行,执行adb shell 2.进入所在工程目录 3.执行sqlite3 mydb创建数据库文件 :表示结尾,--表示注解 二:包Android.database.sqlite ...
分类:
数据库 时间:
2021-06-21 20:47:00
阅读次数:
0
今天学习了time date组件 <TextClock android:layout_width="wrap_content" android:layout_height="wrap_content" android:format12Hour="MM/dd/yy h:mmaa"/> <TextClo ...
分类:
其他好文 时间:
2021-06-21 20:41:25
阅读次数:
0
1.android的HttpURLConnection发送POST请求 核心代码: PostUtils.java public class PostUtils { public static String LOGIN_URL = "http://172.16.2.54:8080/HttpTest/S ...
分类:
其他好文 时间:
2021-06-21 20:31:45
阅读次数:
0
We have n jobs, where every job is scheduled to be done from startTime[i] to endTime[i], obtaining a profit of profit[i]. You're given the startTime, ...
分类:
其他好文 时间:
2021-06-21 20:22:26
阅读次数:
0