Basic knowledge: 1. Class VS Instance; class Student(object): def __init__(self, name, score): self.__name = name self.__score = score def print_score ...
分类:
编程语言 时间:
2020-02-27 01:07:23
阅读次数:
62
// 1.md5加密 $str=md5('123456'); // 2.base64_decode加密 $str2=base64_encode('123456'); // 2.1 base64_解密 $str3= base64_decode($str2); // 3.哈希加密 $str4=\Hash ...
分类:
数据库 时间:
2020-02-26 14:18:43
阅读次数:
77
解决方法:build中加过滤存在多级目录要把目录多级处理定位: <resources> <resource> <directory>src/main/resources</directory> <filtering>true</filtering> <excludes> <exclude>stati ...
分类:
其他好文 时间:
2020-02-24 16:46:34
阅读次数:
298
sql语句真是博大精深啊! 下面是报错的sql语句: select lb.contno, decode(cont.conttype, '1', cont.appntno, '2', cont.insuredno), decode(cont.conttype, '1', cont.appntname, ...
分类:
数据库 时间:
2020-02-23 17:57:51
阅读次数:
178
由于历史原因,以及不同开发人员的技术偏好,C语言和C++语言都有一些独有的非常有价值的项目,因而两种语言的互操作,充分利用前人造的轮子是一件非常有价值的事情。C++代码调用C代码很简单,只要分别在包含的C头文件的开头和结尾加上如下的两个块:123extern "C" {#endif和123}#end... ...
分类:
编程语言 时间:
2020-02-23 09:19:15
阅读次数:
76
我在scrapy settings.py中填的REDIS_URL是这样的, 密码中含有特俗符合, 导致连接不上redis服务器 REDIS_URL = 'redis://:^*,dfdas.*,@192.168.10.34:6379/1' 网上有人说,先encode密码, 连接的时候再decode, ...
分类:
其他好文 时间:
2020-02-22 23:55:44
阅读次数:
113
code_in_morse morse decode后得到: b32 docode后,出现png和IHDR、IDAT一堆乱码 条形码,之后得到: jpg图片,在HxD,发现F5,F5隐写 神器地址:https://gchq.github.io/CyberChef/ easyupload 上传一句话木 ...
分类:
其他好文 时间:
2020-02-22 12:03:01
阅读次数:
100
今天在爬取某网站数据内容适合,通过正则匹配拿到了需要的内容字符串,但是在反序列化的时候竟然报错,大概意思知道他不是json的期望值,那么我就会像是不是数据内有一些内容是由于编码的问题导致的呢?因为之前爬一些内容时候在打印一些爬到的东西这些内容是打印不出来的,因为python中的打印好像用的是gbk默 ...
分类:
Web程序 时间:
2020-02-21 17:52:25
阅读次数:
1584
加密的方法是由某管理系统的登录密码加密方法修改得到的,解密的方法是本人写的。 1 <html> 2 <head> 3 <title>Powered By Leisureeen</title> 4 </head> 5 <script language="JavaScript"> 6 function ...
分类:
Web程序 时间:
2020-02-21 14:14:51
阅读次数:
107
public class Solution { /** * @param s: a string, encoded message * @return: an integer, the number of ways decoding */ public static int numDecodings ...
分类:
其他好文 时间:
2020-02-19 20:54:13
阅读次数:
67