2个类,一个基类,一个构建头信息调用类 关于如何获取到post中的内容,你之需要用http抓包工具把你与目标网站的请求信息抓下来后,打开分析下按照抓下来的包中的数 据进行构建就行了 using System; using System.Collections.Generic; using System.Text; using System.Net; using System.IO; namespace bot { public class Html { /// <summary> /// ht…
检查死锁方式 用dba用户执行以下语句,可以查看到被死锁的语句. select sql_text from v$sql where hash_value in (select sql_hash_value from v$session where sid in (select session_id from v$locked_object)) 1)查找死锁的进程: sqlplus “/as sysdba” (sys/change_on_install) SELECT s.username,l.O…
1. is only supported for sorted input in LINQ to Entities The method :只支持排序输入实体LINQ 的方法 是使用skip()时没有排序时报的错误 2. Validation failed for one or more entities. 'See EntityValidationErrors' property for more details :验证失败的一个或多个实体.更多细节见“entityvalidationerr…
初学Untiy3D,记录备忘. public static void DontDestroyOnLoad(Object target); Makes the object target not be destroyed automatically when loading a new scene. When loading a new level all objects in the scene are destroyed, then the objects in the new level a…
cheat 是一个Unix命令行小工具,用来查询一些常用命令的惯用法(我们都知道,man page阅读起来太累了,常常是跳到最后去看 examples,但并不是所有man pages里面都有examples). 举个例子,输入 cheat tar ,它就显示如下图所示的内容: (图来自: Cheat - An Ultimate Command Line 'Cheat-Sheet' for Linux Beginners and Administrators ) 安装与使用: cheat 本身是用…
开场白:这里简单记录一些常用的bash命令,一则备忘,二来希望可以帮助别人解决一些问题. 1.检测文件是否存在 if [ -f ./foo.txt ] then echo the file exists fi 2. 检测目录是否存在 if [ -d ./test1 ] then echo the directory exists fi 3. 让高亮功能一直存在 androidyue@ubuntu:~/Desktop$ ls | grep s --color=always | more 4.使用c…
又是一篇备忘... 主要记录一些知识,进行一些资源的汇总. 先来群里liufor大大提供的两张图,清晰易懂: Dockerized Java https://www.youtube.com/watch?v=NQ5hTEp-GTM Java on Linux for devs and ops https://www.slideshare.net/aragozin/java-on-linux-for-devs-and-ops 一些线上排查的注意事项: 1.greys不能用于增强系统类,即便他给了个开…