上一页 1 2 3 4 5 6 ··· 28 下一页
摘要: registry: image: registry:latest container_name: registry restart: always volumes: - /data/registry:/var/lib/registry environment: - VIRTUAL_HOST=regi 阅读全文
posted @ 2023-12-04 08:41 shiningrise 阅读(2) 评论(0) 推荐(0) 编辑
摘要: <script type="text/javascript"> (function poll() { console.log("i work") $.ajax({ type: 'POST', url: '/api/Home/ChangeOpenId', dataType: "json", timeo 阅读全文
posted @ 2023-12-04 08:16 shiningrise 阅读(25) 评论(0) 推荐(0) 编辑
摘要: yarn build后显示内存超限,变异失败 更改package.json文件:加上NODE_OPTIONS=\"--max-old-space-size=1024000\" 如下: "build": "cross-env NODE_ENV=production NODE_OPTIONS=\"--m 阅读全文
posted @ 2023-12-03 17:53 shiningrise 阅读(49) 评论(0) 推荐(0) 编辑
摘要: Ubuntu 20.04 修改时区 24小时_lc_time=en_dk.utf-8-CSDN博客 阅读全文
posted @ 2023-12-03 17:49 shiningrise 阅读(208) 评论(0) 推荐(0) 编辑
摘要: docker - 如何为dotnet MVC应用程序配置默认端口? - IT工具网 (coder.work) docker - How to configure the default port for a dotnet MVC application? - Stack Overflow 阅读全文
posted @ 2023-12-01 13:39 shiningrise 阅读(12) 评论(0) 推荐(0) 编辑
摘要: gitea+drone 无法触发自动构建,Web钩子提示错误,要改一下设置 修改 Gitea 服务器的 Webhook 设置 在 conf/app.ini 中添加 ALLOWED_HOST_LIST = * 允许从外部服务器触发 Gitea webhook。 [webhook] ALLOWED_HO 阅读全文
posted @ 2023-12-01 11:25 shiningrise 阅读(99) 评论(0) 推荐(0) 编辑
摘要: Gitea 与 Drone 集成实践:完全基于 Docker 搭建的轻量级 CI/CD 系统-六虎 (6hu.cc) 阅读全文
posted @ 2023-11-28 16:59 shiningrise 阅读(8) 评论(0) 推荐(0) 编辑
摘要: Ubuntu22.04静态ip配置 - 知乎 (zhihu.com) 阅读全文
posted @ 2023-11-28 13:51 shiningrise 阅读(10) 评论(0) 推荐(0) 编辑
摘要: 先用docker system df 命令查看再用docker system prune 清理 阅读全文
posted @ 2023-11-27 13:40 shiningrise 阅读(7) 评论(0) 推荐(0) 编辑
摘要: ASP.NET Core 的 Docker 映像 | Microsoft Learn 阅读全文
posted @ 2023-11-27 13:39 shiningrise 阅读(4) 评论(0) 推荐(0) 编辑
摘要: 1 FROM mcr.microsoft.com/dotnet/aspnet:7.0 AS base 2 WORKDIR /app 3 EXPOSE 80 4 5 FROM mcr.microsoft.com/dotnet/sdk:7.0 AS build 6 WORKDIR /src 7 COPY 阅读全文
posted @ 2023-11-27 09:40 shiningrise 阅读(6) 评论(0) 推荐(0) 编辑
摘要: 要查看特定目录的大小,可以在命令中指定该目录的路径,例如: du -h /path/to/directory 阅读全文
posted @ 2023-11-22 09:44 shiningrise 阅读(18) 评论(0) 推荐(0) 编辑
摘要: mysql删除有外键约束的数据 -- 步骤2:解除外键约束 SET FOREIGN_KEY_CHECKS = 0; -- 步骤3:删除相关数据 DELETE from org_practicebase ; -- 步骤4:重新建立外键约束 SET FOREIGN_KEY_CHECKS = 1; 阅读全文
posted @ 2023-11-21 13:40 shiningrise 阅读(18) 评论(0) 推荐(0) 编辑
摘要: laochiangx/Common.Utility: Various helper class (github.com) 阅读全文
posted @ 2023-11-16 10:42 shiningrise 阅读(6) 评论(0) 推荐(0) 编辑
摘要: sed -i 's/http:\/\/archive.ubuntu.com/https:\/\/mirrors.aliyun.com/g' /etc/apt/sources.list 阅读全文
posted @ 2023-11-14 14:08 shiningrise 阅读(18) 评论(0) 推荐(0) 编辑
摘要: #include "stm32f10x.h" // Device header #include "Delay.h" int main(void) { RCC_APB2PeriphClockCmd(RCC_APB2Periph_GPIOB, ENABLE); GPIO_InitTypeDef GPI 阅读全文
posted @ 2023-11-06 16:27 shiningrise 阅读(11) 评论(0) 推荐(0) 编辑
摘要: #include "stm32f10x.h" // Device header #include "Delay.h" int main(void) { RCC_APB2PeriphClockCmd(RCC_APB2Periph_GPIOA, ENABLE); GPIO_InitTypeDef GPI 阅读全文
posted @ 2023-11-06 16:12 shiningrise 阅读(11) 评论(0) 推荐(0) 编辑
摘要: #include "stm32f10x.h" // Device header #include "Delay.h" int main(void) { RCC_APB2PeriphClockCmd(RCC_APB2Periph_GPIOA, ENABLE); GPIO_InitTypeDef GPI 阅读全文
posted @ 2023-11-06 16:01 shiningrise 阅读(10) 评论(0) 推荐(0) 编辑
摘要: 【最新MDK注册方法】 对于学生朋友,无力购买正版的,请参考注册方法:下载地址:https://www.lanzoui.com/i8v8sbg方法:https://blog.csdn.net/weixin_53944340/article/details/120396237 阅读全文
posted @ 2023-11-06 14:49 shiningrise 阅读(43) 评论(0) 推荐(0) 编辑
摘要: 添加用户为管理员insert into jol.privilege values('wxy','administrator','N'); 阅读全文
posted @ 2023-10-31 14:06 shiningrise 阅读(25) 评论(0) 推荐(0) 编辑
摘要: //执行如下命令,分析根目录下的每个二级目录下有多少个文件。 for i in /*; do echo $i; find $i | wc -l; done linux inode索引节点使用率100% 解决 阅读全文
posted @ 2023-10-30 15:27 shiningrise 阅读(26) 评论(0) 推荐(0) 编辑
摘要: find . -name "*" | xargs rm -rf 3)inode爆满,也可能是某些目录下存在大量的小文件导致。大量小文件分布有两种可能:a)一是只有一个或少量目录下存在大量小文件,这种情况可以使用如下命令来找出这个异常目录:# find / -type d -size +10M 即找出 阅读全文
posted @ 2023-10-30 15:24 shiningrise 阅读(11) 评论(0) 推荐(0) 编辑
摘要: 通用批量永久激活秘钥: 17:JU090-6039P-08409-8J0QH-2YR7F 22H2:ZA5RU-6FYD5-48EPY-3XXEE-PAUGD 阅读全文
posted @ 2023-07-02 20:56 shiningrise 阅读(1978) 评论(0) 推荐(0) 编辑
摘要: sudo ap-get install open-vm-tools-desktop https://blog.csdn.net/baidu_38797690/article/details/124191747 阅读全文
posted @ 2023-06-27 19:16 shiningrise 阅读(67) 评论(0) 推荐(0) 编辑
摘要: 这种错误一般是 mysql 服务器异常关机导致的,解决方案如下: # Ubuntusudo service mysql stop sudo usermod -d /var/lib/mysql/ mysql sudo service mysql start # CentOS sudo systemct 阅读全文
posted @ 2023-06-12 12:50 shiningrise 阅读(339) 评论(0) 推荐(0) 编辑
摘要: 后台导入问题失败1、先用谷歌浏览器直接打开xml文件,看是否有语法错误,如果有,用文本编辑器修订提示的行号。2、如果超过100M,可以先用EasyFPSViewer拆分成多个小文件,然后再导入。3、对于HUSTOJ,可以先压缩为zip再上传导入4、修改/etc/php/7.2/fpm/php.ini 阅读全文
posted @ 2023-06-08 17:30 shiningrise 阅读(217) 评论(0) 推荐(0) 编辑
摘要: sudo cat /etc/mysql/debian.cnf 阅读全文
posted @ 2023-06-08 13:22 shiningrise 阅读(39) 评论(0) 推荐(0) 编辑
摘要: $ sudo curl -L https://github.com/docker/compose/releases/download/1.17.1/docker-compose-`uname -s`-`uname -m` > /usr/local/bin/docker-compose $ sudo 阅读全文
posted @ 2023-06-08 09:28 shiningrise 阅读(55) 评论(0) 推荐(0) 编辑
摘要: registry.cn-shanghai.aliyuncs.com/shiningrise/hustoj:v1.5 hustoj: image: registry.cn-shanghai.aliyuncs.com/shiningrise/hustoj:v1.5 privileged: true re 阅读全文
posted @ 2023-06-06 12:52 shiningrise 阅读(90) 评论(0) 推荐(0) 编辑
摘要: Windows cmd,powershell,git-bash设置代理的方式是不一样的 (因为不同shell"设置环境变量"的语法不同) powershell $env:https_proxy = "127.0.0.1:port" $env:http_proxy = "127.0.0.1:port" 阅读全文
posted @ 2023-06-06 08:01 shiningrise 阅读(54) 评论(0) 推荐(0) 编辑
摘要: git log --pretty=format:"%ci %s" > log.txt 阅读全文
posted @ 2023-05-23 10:15 shiningrise 阅读(15) 评论(0) 推荐(0) 编辑
摘要: 在 /etc/netplan/ 目录下找到配置文件 *.yaml ,修改为 network: version: 2 #renderer: NetworkManager ethernets: ens33: #配置的网卡的名称 addresses: [192.168.44.130/24] #配置的静态i 阅读全文
posted @ 2023-03-26 14:42 shiningrise 阅读(188) 评论(0) 推荐(0) 编辑
摘要: win+R 运行shell:startup vmrun.exe start D:\vm\oj\oj.vmx vmrun.exe start D:\vm\oj\hustoj.vmx 阅读全文
posted @ 2023-03-26 11:27 shiningrise 阅读(272) 评论(0) 推荐(0) 编辑
摘要: 不小心删除了admin的权限,如何修复? insert into jol.privilege values('admin','administrator','N'); sudo su cd /home/judge/src/install echo "insert into jol.privilege 阅读全文
posted @ 2023-03-24 14:52 shiningrise 阅读(46) 评论(0) 推荐(0) 编辑
摘要: hydro重启pm2 restart hydrooj /etc/nix/nix.conf里面substituters加一个 https://cache.nixos.org 或者把nix-bin.hydro.ac全部替换掉都无所谓 然后nix-env -iA nixpkgs.nodejs nixpkg 阅读全文
posted @ 2023-03-22 10:34 shiningrise 阅读(218) 评论(0) 推荐(0) 编辑
摘要: https://blog.csdn.net/weixin_42736510/article/details/127318980 阅读全文
posted @ 2023-03-07 09:59 shiningrise 阅读(123) 评论(0) 推荐(0) 编辑
摘要: 3.2 安装CYaRon包 在你的终端中输入pip install cyaron,这里需要注意一一下你的环境 cyaron生成数据对拍 #!/usr/bin/env python from cyaron import * # 引入CYaRon的库 import random fout = open( 阅读全文
posted @ 2023-02-17 12:36 shiningrise 阅读(109) 评论(0) 推荐(0) 编辑
摘要: https://blog.csdn.net/m0_46201544/article/details/122261480 阅读全文
posted @ 2023-02-16 08:40 shiningrise 阅读(68) 评论(0) 推荐(0) 编辑
摘要: Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETFramework\v4.0.30319] "SchUseStrongCrypto"=dword:00000001 [HKEY_LOCAL_ 阅读全文
posted @ 2023-02-06 09:25 shiningrise 阅读(258) 评论(0) 推荐(0) 编辑
摘要: vmware workstation 17 pro激活密钥,通用批量永久激活许可 17:JU090-6039P-08409-8J0QH-2YR7F 16:ZF3R0-FHED2-M80TY-8QYGC-NPKYF 15:FC7D0-D1YDL-M8DXZ-CYPZE-P2AY6 12:ZC3TK-6 阅读全文
posted @ 2023-01-13 12:12 shiningrise 阅读(335569) 评论(15) 推荐(28) 编辑
上一页 1 2 3 4 5 6 ··· 28 下一页