会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
laremehpe
新随笔
新文章
管理
上一页
1
···
7
8
9
10
11
12
13
14
15
···
18
下一页
2023年5月29日
vs 控制台输出
摘要: void __cdecl OutputDebugPrintf(const char* format, ...) { va_list vlArgs; char* strBuffer = (char*)GlobalAlloc(GPTR, 4096); va_start(vlArgs, format);
阅读全文
posted @ 2023-05-29 23:22 laremehpe
阅读(340)
评论(0)
推荐(0)
编辑
2023年5月16日
springmvc上传文件——疯狂踩坑
摘要: 添加依赖: 配置: 注意这里bean的id必须为 multipartResolver 实现: 这里需要注意圈起来的地方的名字和文件上传时候的字段名称需要保持一致 测试: 这里键名必须为upload和上面那张图中的upload对应 public Result uploadResFile(@Reques
阅读全文
posted @ 2023-05-16 15:44 laremehpe
阅读(6)
评论(0)
推荐(0)
编辑
2023年4月29日
获取html中styles内容
摘要: public class getStyle { public static void main(String[] args) throws FileNotFoundException { try { getStyle.handler(); } catch (IOException e) { thro
阅读全文
posted @ 2023-04-29 16:51 laremehpe
阅读(5)
评论(0)
推荐(0)
编辑
jQuery轮播图(模仿滑动窗口算法)
摘要: ``` const status = [ "left:0px;", "left:10px;", "left:20px;", "left:30px;", "left:40px;", ]; const list = $("#carousel > ul > li"); const len = list.l
阅读全文
posted @ 2023-04-29 10:13 laremehpe
阅读(12)
评论(0)
推荐(0)
编辑
2023年4月25日
c++遍历搜索关键字
摘要: #include <iostream> #include <windows.h> #include <string.h> #include <strsafe.h> #define MAX_INPUT_LENGTH 255 using namespace std; void printMemory(c
阅读全文
posted @ 2023-04-25 18:00 laremehpe
阅读(31)
评论(0)
推荐(0)
编辑
2023年4月23日
nodejs从命令行获取参数
摘要: //添加参数 let arr = process.argv; const config = { src: "",//添加参数 }; for (let i = 2, len = arr.length; i < len; i += 2) config[arr[i].substring(1)] = arr
阅读全文
posted @ 2023-04-23 15:08 laremehpe
阅读(143)
评论(0)
推荐(0)
编辑
2023年4月20日
Android之调用service的方法
摘要: MainActivity.java : private BackgroundMusicService caller; @Override protected void onCreate(Bundle savedInstanceState) { Intent svc = new Intent(getA
阅读全文
posted @ 2023-04-20 13:29 laremehpe
阅读(235)
评论(0)
推荐(0)
编辑
2023年4月14日
Java异步同步回调
摘要: 同步回调: 打印结果: 1 2 3 public interface Result { void callBack(); } public static void main(String[] args) throws InterruptedException { Entity entity = ne
阅读全文
posted @ 2023-04-14 13:36 laremehpe
阅读(37)
评论(0)
推荐(0)
编辑
2023年4月12日
android监听耳机按键
摘要: app 在前台的监听方式: @Override boolean onKeyDown(int keyCode, KeyEvent event) { if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP) { return super.onK
阅读全文
posted @ 2023-04-12 10:10 laremehpe
阅读(196)
评论(1)
推荐(1)
编辑
2023年3月24日
java mysql+sqlite普通查询
摘要: import java.sql.*; public class Test { public static void main(String[] args) { try { // new Test().queryMySql(); new Test().querySqlite(); } catch (S
阅读全文
posted @ 2023-03-24 15:59 laremehpe
阅读(20)
评论(0)
推荐(0)
编辑
上一页
1
···
7
8
9
10
11
12
13
14
15
···
18
下一页