摘要: > nohup dotnet gprc_service.dll & 后台运行 > ps -ef | grep dotnet 查看目录下dotnet项目(包含进程id) > kill -9 24220(进程id) 停止项目 > error:nohup: ignoring input and appen 阅读全文
posted @ 2023-06-21 09:16 Rock-Warm 阅读(384) 评论(0) 推荐(0) 编辑
摘要: 环境:Centos7 一、防火墙配置 ① 查看防火墙状态:systemctl status firewalld ② 启用防火墙:systemctl start firewalld ③ 禁用防火墙:systemctl stop firewalld ④ 重启防火墙:systemctl restart f 阅读全文
posted @ 2022-05-09 16:37 Rock-Warm 阅读(328) 评论(0) 推荐(0) 编辑
摘要: 一、 定义游标 使用游标相当于C#里面的集合。 二、触发器和游标一起使用 例子 阅读全文
posted @ 2016-03-27 14:13 Rock-Warm 阅读(370) 评论(0) 推荐(0) 编辑
摘要: 语法:CREATE [索引类型] INDEX 索引名称ON 表名(列名)WITH FILLFACTOR = 填充因子值0~100GO/*实例*/USE 库名GOIF EXISTS(SELECT * FROM SYSINDEXES WHERE NAME='IX_TEST_TNAME')--检测是否已经... 阅读全文
posted @ 2015-11-27 16:20 Rock-Warm 阅读(542) 评论(0) 推荐(0) 编辑
摘要: 这个加密类是与java写的DES加密不同时,自己写的,最后与Java的加密相同了,解决了加密后不同的问题。可以直接调用里面的加密和解密的方法。using System;using System.Collections.Generic;using System.Linq;using System.We... 阅读全文
posted @ 2015-01-08 14:40 Rock-Warm 阅读(2388) 评论(0) 推荐(0) 编辑
摘要: 最近根据公司需求,写个邮件发送。 这里面的传入的地址信息的参数都是经过加密的。 主要是保证用户信息的安全。帮助类 1 using System; 2 using System.Collections.Generic; 3 using System.Configuration; 4 usin... 阅读全文
posted @ 2015-01-08 14:32 Rock-Warm 阅读(2428) 评论(1) 推荐(0) 编辑
摘要: 1 using System; 2 using System.Collections.Generic; 3 using System.Drawing; 4 using System.Drawing.Imaging; 5 using System.IO; 6 using System.Linq; 7... 阅读全文
posted @ 2015-01-08 14:07 Rock-Warm 阅读(520) 评论(0) 推荐(0) 编辑