前言 业务需求 步骤 location / { if ($request_uri ~* ^/\?id\=(.*)\&type\=(\d)$) { return 307 https://shtlc.xxxx.cn/micro_code/customize?id=$arg_id; } try_files ...
分类:
其他好文 时间:
2020-07-11 10:08:47
阅读次数:
100
官方地址:https://wiki.connect.qq.com/qq%E7%99%BB%E5%BD%95 添加 open_sdk_xxxx_lite.jar 必要权限 <uses-permission android:name="android.permission.INTERNET" /> <u ...
分类:
移动开发 时间:
2020-07-10 11:28:57
阅读次数:
155
Windows-bat-loop for restart exe July 10, 2020 2:09 AM 周期重启某个指定的程序 @echo off :start choice /t 10 /d y /n >nul cd C:\Users\Administrator\Desktop\XXXX.e ...
用于将本地特定规则的请求转发到某个ip port代理 var proxy = "PROXY 127.0.0.1:xxxx; DIRECT;"; var rules = [ "||xxx.xxx.com", ]; /* * This file is part of Adblock Plus <http ...
分类:
其他好文 时间:
2020-07-10 00:43:50
阅读次数:
78
#!/usr/bin/env python3 # -*- coding: utf-8 -*- # # # Date : xxxx-xx-xx # # Author : Created by zhouwanchun. # # Wechat : loveoracle11g # # Function: T ...
分类:
数据库 时间:
2020-07-08 23:25:48
阅读次数:
106
SpringIOC容器Bean对象实例化模拟思路:定义Bean工厂接口,提供获取bean方法定义Bean工厂接口实现类,解析配置文件,实例化Bean对象实现获取Bean方法定义Bean属性对象packagecom.xxxx.spring;/***bean对象*用来接收配置文件中bean标签的id与class属性值*/publicclassMyBean{privateStringid;//bean对
分类:
编程语言 时间:
2020-07-08 21:28:10
阅读次数:
68
#!/usr/bin/env python3 # -*- coding: utf-8 -*- # # # Date : xxxx-xx-xx # # Author : Created by zhouwanchun. # # Wechat : loveoracle11g # # Function: T ...
分类:
编程语言 时间:
2020-07-08 15:05:09
阅读次数:
77
由于工作需要必须将word文档内容粘贴到编辑器中使用 但发现word中的图片粘贴后变成了file:///xxxx.jpg这种内容,如果上传到服务器后其他人也访问不了,网上找了很多编辑器发现没有一个能直接解决这个问题 考虑到自己除了工作其他时间基本上不使用windows,因此打算使用nodejs来解决 ...
分类:
其他好文 时间:
2020-07-08 13:21:07
阅读次数:
61
在mvc的解决方案中,增加webapi接口。 新添加Controller,模板选用webapi,由于原来mvc版本使用4.5,所以webapi也使用4.5,创建完成后,会在app_start中创建webapiconfig的配置文件。 ps:自动创建的无action,需要添加action。 添加完后, ...
方案设计 使用redis列表存储两个用户之间的聊天数据,存储内容使用json字符串封装,字段包括:fromid、toid、msg、time四个字段。 使用redis hash存储一个用户未读的消息条数。 存在问题:原子性问题。 Python Demo实现 import json import tim ...
分类:
其他好文 时间:
2020-07-07 15:45:35
阅读次数:
173