artifactory notes on

How to change the default Python2 to Python3 on Linux All In One

How to change the default Python2 to Python3 on Linux All In One 在 Linux 中如何把默认的 Python2 更改为 Python3 .bashrc / .zshrc alias symbolic link 符号链接 ......
Python Python2 Python3 default change

Oceans on a Shoestring: Shape Representation, Meshing and Shading(低成本的海洋:形状表示、网格划分和着色)-2013年

作者:Huw Bowles 单位:Studio Gobo Introduction(简介):Studio Gobo is a small team of talented developers based in Brighton / UK The Crew(成员):Ben Andrews, Paul ......

cryptohack wp (CRYPTO ON THE WEB篇)(持续更新)

#Token Appreciation ![](https://img2023.cnblogs.com/blog/2698491/202305/2698491-20230524014509304-1700173564.png) ``` import jwt jwt_token = "eyJ0eXAi ......
cryptohack CRYPTO THE WEB ON

[Error 10048] error while attempting to bind on address (‘127.0.0.1‘, 8000): 通常每个套接字地址(协议/网络地址/端口)..

今天运行程序的时候碰到了这么个问题,因为之前也遇到过这种情况,那时找不到原因重启电脑这方法偶尔能解决,今天就不行了,电脑又没有看到明显的占用这个端口的程序。所以查找资料从根源出发解决。 解决方法是: 1.进入命令行(以管理员身份) 2.输入netstat -aon|findstr "8000" 查找 ......
地址 套接字 端口 attempting address

Game on Paper 题解

[题目传送门](https://www.luogu.com.cn/problem/CF203B) 一道模拟题。 如果每涂一个格子就判断整个矩阵,那时间复杂度显然会炸。 我们每涂一个格子,影响的应该只是以这个格子为中心的 $3 \times 3$ 矩阵,判断以这些点为中心的话会不会涂出 $3 \tim ......
题解 Paper Game on

abc271_f XOR on Grid Path 题解

# [XOR on Grid Path](https://vjudge.csgrandeur.cn/problem/AtCoder-abc271_f) ## 题意 有一个 $n \times n$ 的整数矩阵,第 $i$ 行 $j$ 列的数字为 $a_{i,j}$。 你站在 $(1,1)$,每次你可 ......
题解 Grid Path abc 271

1127 ZigZagging on a Tree

题目: Suppose that all the keys in a binary tree are distinct positive integers. A unique binary tree can be determined by a given pair of postorder and ......
ZigZagging 1127 Tree on

ruby on rails 方法小结

1.获取两个日期之间的月份和年份的唯一数组 require 'date' def doit(first, last) first = first << 1 (12*last.year + last.month - 12*first.year - first.month + 1). times.map ......
小结 方法 rails ruby on

JFrog Artifactory 系列5 --- 备份和还原

一、概要 1. 承上启下 JFrog Artifactory 系列1 安装与配置 JFrog Artifactory 系列2 Nginx与Https JFrog Artifactory 系列3 仓库与配置 JFrog Artifactory 系列4 Maven的配置与集成 二、备份 1. 备份配置 ......
Artifactory 备份 JFrog

Wake-on-LAN,网络唤醒

1 #!/bin/bash 2 # yum install -y epel-release 3 # yum install -y wol 4 5 host201 6 wol 00:e0:4c:a1:02:22 #主 7 wol 00:e0:4c:a1:02:23 8 9 host202 10 wol ......
Wake-on-LAN 网络 Wake LAN on

Sep 2022-Prioritized Training on Points that are Learnable, Worth Learning, and Not Yet Learnt

提出了Reducible Holdout Loss Selection (RHOLOSS),一种简单但有原则的技术,近似地选择那些最能减少模型泛化损失的点进行训练 ......

[ARC114D] Moving Pieces on Line 解题报告

[AT题面](https://atcoder.jp/contests/arc114/tasks/arc114_d) ## 简要题意 有一个红色的数轴,相邻两个整点之间连有一条边,所有边初始为红色。数轴上有 $n$ 个棋子,将一个棋子从 $a$ 位置移到 $b$ 位置,可以将 $(a,b)$ 之间红边 ......
报告 Moving Pieces 114D Line

RabbitMQ: Error: unable to perform an operation on node 'rabbit@prod-ad-api-02'. Please see diagnostics information and suggestions below.

Error: unable to perform an operation on node 'rabbit@prod-ad-api-02'. Please see diagnostics information and suggestions below. rabbit@prod-ad-api-02 ......

SoftRAID/FakeRAID hardware. In the first case run chkdsk /f on Windows

[root@storage1 ~]# mount /dev/sdj3 /mnt/data-dir/ntfs_mst_post_read_fixup_warn: magic: 0xffffffff size: 1024 usa_ofs: 65535 usa_count: 65535: Invalid ......
SoftRAID FakeRAID hardware Windows chkdsk

使用 Ef core 时 报错Data is Null. This method or property cannot be called on Null values.”

1.问题 在使用EF core做查询操作的时候报错 "Data is Null. This method or property cannot be called on Null values.”" 2.解决 这是数据库中的某个属性为空导致,即使这个属性srting类型,也需要将字段标记为可空的 ......
Null property cannot called method

Shortcut of Chrome on Windows & Linux

Shortcut of Chrome on Windows & Linux Tab & window shortcuts | Action | Shortcut | | | | | Open a new window | Ctrl + n | | Open a new window in Incog ......
Shortcut Windows Chrome Linux amp

Note - 速通 NPC?有限域算术!

浅谈有限域在 OI 中的一些应用 (2023 国家集训队论文), 戚朗瑞. $\textbf{Example 1.}$ 给定一张有向图 $G=(V,E)$, $|V|=n$, $|E|=m$. 要求找到一条最长的简单路径. 保证最长路径长度 $k\ll n$. $\textbf{Solution 1 ......
算术 有限 Note NPC

keras.preprocessing.text.Tokenizer.fit_on_texts(texts)

1.fit_on_texts()的作用 fit_on_texts的作用就是根据输入的文本列表生成一个大词典,保存在t里面,每个词有唯一一个不重复的索引。如果有新的语句,可直接通过t来转成对应的词索引列表。 2.用法 fit_on_texts(text) 中的text应该输入是一个列表,每个元素是切分 ......

freeRtos on ESP32

01-freertos简介 - 张喆坤 - 博客园 (cnblogs.com) 02-freertos多任务电灯 - 张喆坤 - 博客园 (cnblogs.com) ......
freeRtos ESP 32 on

安装SQL Server累积版本更新包,提示“Not Clustered or the Cluster service is up and online”和 There are no SQL Server Instances or shared features that can be updated on this computer

1. Not Clustered or the Cluster service is up and online 起因是服务器SQL Server之前有开启SQL Server AlwaysOn High availability feature and installed Failover Clu ......
Server SQL Clustered Instances features

DGL-tutorials-reading-notes

DGL 教程阅读笔记 Datetime: 2023-03-27T17:29+08:00 Categories: Python | MachineLearning 教程网址:https://docs.dgl.ai/en/latest/index.html 毕设的笔记,只能给自己看,换一个人或者过一段时 ......

JFrog Artifactory 系列2 --- Https

一、概念 1. 承上启下 JFrog Artifactory 系列1 安装与配置 2. 配置方式 如果希望通过Https访问JFrog Artifactory,有三种配置方式: (1) 代理HTTPS方式:在代理软件(负载均衡软件)处配置TLS,代理软件与JFrog Artifactory的通信采用 ......
Artifactory JFrog Https

1 - Hand on system programming with Linux - 虚拟内存

虚拟内存 我的博客 虚拟内存 现代操作系统基于称作虚拟内存的内存模型。这些操作系统包括 Linux、UNIX、MS Windows 以及 macOS。要想真正理解现代操作系统,必须深入理解虚拟内存以及内存管理。 没有虚拟内存会有什么问题 现在,让我们考虑一个只具有 64 MB RAM 物理内存的情况 ......
programming 内存 system Linux Hand

树上启发式合并(dsu on tree)

解决树上询问问题,没有修改 时间复杂度:$O(nlogn)$ 例题:https://codeforc.es/contest/600/problem/E 题意:给定一颗树,每个节点有一个颜色,求出子树中颜色最多的颜色值之和。 代码: #include<bits/stdc++.h> using name ......
tree dsu on

WCF Error : Manual addressing is enabled on this factory, so all messages sent must be pre-addressed

WCF Error : Manual addressing is enabled on this factory, so all messages sent must be pre-addressed 回答2 I added a service reference as usual and got ......

Robust Deep Reinforcement Learning against Adversarial Perturbations on State Observations

郑重声明:原文参见标题,如有侵权,请联系作者,将会撤销发布! NeurIPS 2020 ......

SPOJ COT3 Combat on a tree

简要题意 给定一棵有根树,初始有黑点白点。两人交替操作,每次选择一个白点,将这个点到根路径上所有点染黑,选不了则输。求先手能否必胜;如果能,给出第一步可能的所有走法。 数据范围:$1\le n\le 10^5$。 题解 小清新题。难度不配黑题。 进行一次操作以后,这个点到根路径上所有点两侧的子树全部 ......
Combat SPOJ COT3 tree COT

docker pull nacos/nacos-server出现xx: no space left on device

这个提示明显是内存不足了,使用docker system df查看docker内存情况 可以发现Build Cache占用了很多空间,执行docker builder prune -f命令清除缓存。 然后重新执行docker pull nacos/nacos-server 可以从上图发现最新版的na ......
nacos nacos-server docker device server

vCenter报错:Log Disk Exhaustion on 10

vCenter报错:Log Disk Exhaustion on 10 1、问题现象: 巡检时发现 vCenter Server 中,错误显示为:Log Disk Exhaustion on 10(字面意思是日志磁盘耗尽),VC版本 6.7 在浏览器输入https://appliance-IP-ad ......
Exhaustion vCenter Disk Log 10

面向开发人员的chatgpt提示工程-自用回顾note

关键原则 1. 编写清晰具体的指令 1.1 使用限定符区分prompt 和 文本 Pasted image 20230430123729 1.2 结构化输出 Pasted image 20230430123839 1.3 要求模型检查是否满足条件 Pasted image 2023043012391 ......
chatgpt 人员 工程 note