自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(14)
  • 资源 (11)
  • 收藏
  • 关注

原创 腾讯地图坐标拾取器

腾讯地图坐标拾取器https://lbs.qq.com/tool/getpoint/index.html

2020-08-31 11:47:06 13222

原创 github热门趋势及常用搜索方法

参考:https://docs.github.com/en/github/searching-for-information-on-github/about-searching-on-github https://www.cnblogs.com/xiaozi/p/10687606.html https://blog.csdn.net/luoyayun361/article/details/883746721、github热门栏目 htt...

2020-08-28 11:55:59 462

原创 thinkphp 5 用Query对象执行 增删改查

$Model = new \think\db\Query(); //执行查询 //查询订单号对应的货品product_id $sql = "SELECT * FROM jshop_order_items WHERE order_id='".$order_id."' ORDER BY id DESC limit 1"; $list = $Model->query($sql); $product_id = $list[0]["product_...

2020-08-23 11:32:20 699

原创 uni-app input设置只读

uni-app input 设置只读,设置属性disabled为true或disabled<input type="digit" class='cell-bd-input' placeholder='请填写押金' v-model="deposit" disabled="true"></input>

2020-08-23 10:28:57 18577 3

原创 字节跳动微信小程序迁移

微信小程序迁移到字节跳动小程序:https://microapp.bytedance.com/docs/zh-CN/mini-app/introduction/plug-in/mini-app-developer/annex-micro-channel-migration-applet/

2020-08-20 15:48:53 1566

原创 字节跳动小程序地图定位

1、获取设备当前的地理位置https://microapp.bytedance.com/docs/zh-CN/mini-app/develop/api/location/tt-get-location2、使用今日头条内置地图查看位置https://microapp.bytedance.com/docs/zh-CN/mini-app/develop/api/location/tt-open-location3、地图https://microapp.bytedance.com/docs/zh

2020-08-20 15:46:59 1966

原创 字节跳动小程序 web-view jssdk H5传递参数 判断H5页面是否在小程序 web-view打开

1、jssdk地址https://microapp.bytedance.com/docs/zh-CN/mini-app/develop/component/open-capacity/web-view/2、H5传递参数<web-view src="{{url}}" bindload="webviewOnLoad" binderror="webviewOnError" bindmessage="onMessage"></web-view>Pa.

2020-08-20 15:41:58 2265

原创 百度贴吧 吧主 帖子置顶

参考:https://zhidao.baidu.com/question/548482430.html

2020-08-07 21:21:42 180

原创 kendo-ui 下载试用

https://www.kendouicn.com/post/product/kendo-ui

2020-08-07 20:14:40 177

原创 Kendo UI使用教程:入门指南

参考:https://blog.csdn.net/weixin_30938149/article/details/97802391

2020-08-07 20:13:37 192

原创 thinkphp 6.x制定渲染模板

thinkphp 6.x用view()方法指定渲染模板:<?phpdeclare (strict_types = 1);namespace app\admin\controller;class Test{ public function index() { return '您好!这是一个[admin]示例应用'; } public function index2() { //默认模板渲染,模板路径:app\admin\view

2020-08-04 14:24:57 376

原创 thinkphp 6.x分页

use think\Facade\Db; //引用Dbpublic function getList(){ $page = isset($_GET['page']) ? intval($_GET['page']) : 1; $limit = isset($_GET['limit']) ? intval($_GET['limit']) : 10; $name = isset($_GET["name"]) ? $_GET["name"] : ''; //使用“Db::ta.

2020-08-04 12:21:09 301

原创 thinkphp 6.x 开启多应用模块模式

1、安装多应用模式扩展think-multi-appcomposer require topthink/think-multi-app2、安装视图扩展composer require topthink/think-view3、config/app.php 中,修改"auto_multi_app"值为true,没有则添加// 开启多应用自动加载'auto_multi_app' => true,4、删除原有app目录下controller目录5、创建两个模块“admi

2020-08-04 12:16:23 689

原创 kali linux安装中文输入法

参考:https://blog.csdn.net/wanglolaini/article/details/828457481.查看自己内核信息,内核版本太低需要的源不用2.使用命令vim /etc/apt/sources.list,配置阿里云镜像源(只需要一个阿里云源)deb http://mirrors.aliyun.com/kali kali-rolling main non-free contrib3. 使用命令更新apt-get update &&...

2020-08-02 11:10:52 346

极光推送C#实例(含android例子)

极光推送C#实例(含android例子)

2017-01-25

Google ZXing二维码扫描例子

使用Google ZXing生成二维码、条形码扫描

2016-02-08

Activiti 5.13中文用户手册

Activiti 5.13中文用户手册,Activiti快速上手

2015-12-11

Magic Zoom Plus v4.5.39 魔法放大镜 JS代码完美去水印

Magic Zoom Plus v4.5.39 魔法放大镜 JS代码完美去水印

2015-10-08

VC 获取公网 ip 地址

参考了部分网友的资源,改写了一个获取公网IP地址的方法。忘记了网友网址,如冒犯,请原谅!发布此代码的目的旨在交流。代码如下: //头文件 #include "afxinet.h" //获取公网IP地址 CString getLocalIpAddress() { CInternetSession session; //声明该对象为获取网页属性做准备 CHttpFile *pFile=NULL; CString str,ch; CString m_szSite="http://www.zu14.cn/ip/"; //该地址是获取外网IP的关 键,原理就是通过该地址来获取外网IP的 try{ pFile=(CHttpFile*)session.OpenURL(m_szSite);} //打开该地 址 catch(CInternetException *pEx) //错误处理 { pFile=NULL; pEx->Delete(); } if(pFile) { while(pFile->ReadString(str)) //读入该字符串 { ch+=str+"\r\n"; } pFile->Close(); delete pFile; } else { ch+=""; } return ch;//返回公网IP地址 } CString jian(CString ch) { CString aaa; for(int i=0;i<ch.GetLength();i++) { if(ch.Mid(i,1)=='0'||ch.Mid(i,1)=='1'||ch.Mid(i,1) =='2'||ch.Mid(i,1)=='3'||ch.Mid(i,1)=='4'||ch.Mid(i,1)=='5'||ch.Mid(i,1) =='6'||ch.Mid(i,1)=='7'||ch.Mid(i,1)=='8'||ch.Mid(i,1)=='9'||ch.Mid(i,1)=='.') aaa+=ch.Mid(i,1); else break; } return(aaa); }

2009-08-07

C++ 四舍五入函数

参考了一些网友的资料,自己动手写了四舍五入函数。代码如下: //num 是待四舍五入的数 //presion 是保留的小数位数 //问题:假定num = 3.1415926, presion=3,返回结果是3.14000 //返回结果是3.14000,即后面多余的 0 如何去掉. //若有哪位大虾解决了,请将代码发给ycs_0405@126.com,谢谢 float rounding(float num,int presion) { char s[20]; CString formatstr = "%."; CString temp; temp.Format("%d",presion); formatstr += temp; formatstr += "f"; char *formatstr2; formatstr2 = formatstr.GetBuffer(formatstr.GetLength()); sprintf(s,formatstr2 , 3.1415626); float result = atof((LPCTSTR)s); return result; //返回四舍五入后的数 }

2009-08-07

Visual C++网络通信协议分析与应用实现 源代码

本书是Visual C++网络通信协议分析与应用实现的源代码,内容涵盖第三章至第十二章

2009-07-19

虚拟存储管理器的页面调度

参考网友写的虚拟存储管理器的页面调度c实现(http://www.educity.cn/zk/czxt/NO00051.htm),觉得欠妥,于是进行了部分修改,欢迎指正.

2009-04-28

虚拟存储管理器的页面调度

参考网友的程序(网址: http://www.educity.cn/zk/czxt/NO00051.htm),感觉有些欠妥。 于是进行部分修改。

2009-04-28

matlab中文帮助

在google上收索到的matlab中文帮助,chm格式

2009-04-04

自然语言处理与自然语言理解

计算语言学(Computational Linguistics, CL) 自然语言处理(Natural Language Processing, NLP) 自然语言理解(Natural Language Understanding, NLU) 人类语言技术(Human Language Technology, HLT) 语言信息处理(Language Processing Technology,LPT) (大致相同,又各有侧重。) 中文信息处理(Chinese Information Processing, CIP)

2009-03-23

空空如也

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

TA关注的人

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