摘要: docker run \ --detach \ --publish 20443:443 \ --publish 20080:80 \ --name gitlab \ --restart unless-stopped \ --volume ~/gitlabdata/etc:/etc/gitlab \ --volume ~/gitlabdata... 阅读全文
posted @ 2018-01-02 13:24 以沫浅夏 阅读(4789) 评论(1) 推荐(0) 编辑
摘要: public static class MakeNames { static Random r = new Random(); public static List<string> Xing = new List<string>() {"赵", "钱", "孙", "李", "周", "吴", "郑 阅读全文
posted @ 2017-12-26 15:28 以沫浅夏 阅读(873) 评论(0) 推荐(0) 编辑
摘要: docker run -d -v ~/leanotedata:/leanotedata -p 80:9000 leanote/leanote 阅读全文
posted @ 2017-12-25 14:30 以沫浅夏 阅读(689) 评论(0) 推荐(0) 编辑
摘要: 1、查看端口占用 netstat -ntpl 阅读全文
posted @ 2017-12-08 13:53 以沫浅夏 阅读(148) 评论(0) 推荐(0) 编辑
摘要: class Program { static void Main(string[] args) { Console.WriteLine(ActionExtension.Profiler(a, 10)); } static void a() { } } //... 阅读全文
posted @ 2017-11-28 12:41 以沫浅夏 阅读(2195) 评论(0) 推荐(0) 编辑
摘要: 发送消息: static ConnectionFactory factory = new ConnectionFactory(); //static IConnection connection = factory.CreateConnection(); //static IModel channel = connection.CreateMo... 阅读全文
posted @ 2017-11-23 17:06 以沫浅夏 阅读(313) 评论(0) 推荐(0) 编辑
摘要: 但是这样没有在后台启动;因此sh那一行代码需要修改: 前边加上nohup 后边加上& nohup dotnet helloword.dll & 然后,进程启动之后,按任意键进入输入状态,输入exit正常退出用户,再关闭Xshell(切不可强制关闭窗口来退出用户!!!) 阅读全文
posted @ 2017-09-13 17:45 以沫浅夏 阅读(2269) 评论(0) 推荐(0) 编辑
摘要: http://xidea.online 阅读全文
posted @ 2017-09-11 19:38 以沫浅夏 阅读(192) 评论(0) 推荐(0) 编辑
摘要: 转自:https://topshelf.readthedocs.io/en/latest/overview/commandline.html Topshelf Command-Line Reference Once a service has been created using Topshelf, 阅读全文
posted @ 2017-07-28 10:13 以沫浅夏 阅读(1667) 评论(0) 推荐(0) 编辑
摘要: class Program { static void Main(string[] args) { HostFactory.Run(x => //1 { x.RunAsLocalSystem(); ... 阅读全文
posted @ 2017-07-28 09:56 以沫浅夏 阅读(273) 评论(0) 推荐(0) 编辑