Problem: After installing onlyoffice (docker) and onlyoffice-plugin in mattermost. It shows Download failed when open files in mattermost. Reason: JWT_HEADER must be set to a value...
在 Ubuntu 中挂载硬盘后,如果发现硬盘的部分空间显示为“系统占用”或不可用,可能是由于: Ext4 默认会预留 5% 的空间给root,以便在磁盘空间耗尽时仍可进行系统操作。这部分空间通常也会显示为“系统占用”。 解决方法 : 如果这是数据盘而非系统盘,可以使用 sudo tune2fs -m 0 /dev/sdX1
问题描述 smtp服务器已配置ssl,支持465端口并且在其它软件中均可正常配置。但是使用nextcloud-aio-nextcloud docker,在Nextcloud中配置自建smtp服务器时总是遇到报错: “A problem occurred while sending the email. Please revise your settings....
free -h sudo swapoff /swapfile sudo rm /swapfile df -h sudo fallocate -l 64G /swapfile ls -lh /swapfile sudo chmod 600 /swapfile sudo mkswap /swapfile sudo swapon /swapfile sudo sw...
-------------------------- ---- Prerequisites: ---- -------------------------- * The steps here only need to be performed once on your computer; after these are done than you only ...
Problem: Get this error when install ./NVIDIA-Linux-x86_64-535.104.05.run. Solution: Check if any vncserver is running and close it.
Problem: NVIDIA driver install - Error: Unable to find the kernel source tree Solution: sudo apt-get install linux-headers-`uname -r`
问题描述 :近期重启Ubuntu发现home目录写文件报错 cannot create directory ‘disk4’: Read-only file system 解决方案 : sudo mount -o rw,remount /
Problem: NVIDIA driver install - Error: Unable to find the kernel source tree Solution: sudo apt-get install linux-headers-`uname -r`
安装 Nettalk sudo apt install netatalk -y sudo apt install avahi-daemon -y Netatlk 3.x 只使用一个配置文件 /etc/netatalk/afp.conf : [Global] mimic model = TimeCapsule6,106 log level = default:...
安装基础软件 ``` sudo apt update sudo apt-get upgrade sudo apt-get install gnome-panel gnome-settings-daemon metacity nautilus gnome-terminal sudo apt install tightvncserver vncserver 注:...
Problem description >>> torch.cuda.is_available() /home/python3.8/site-packages/torch/cuda/__init__.py:141: UserWarning: CUDA initialization: CUDA unknown error - this may...
近期在ubuntu 18.04上开发PyQt6前段时发现问题: ubuntu 18.04.6 默认的 glibc 版本位 2.27, 在运行最新的 Qt Creator 6.0.2 时会报错 $ /opt/Qt/Tools/QtCreator/bin/qtcreator 报错 /opt/Qt/Tools/QtCreator/bin/qtcreator: /l...
Introduction Virtual Network Computing , or VNC, is a connection system that allows you to use your keyboard and mouse to interact with a graphical desktop environment on a remote ...
在知乎上看到生物信息学领域的牛刊投稿顺序,发现一个很有趣的回答,于是转载一下作为参考: 凡人期 :这是修仙之路的起点,指的是还未开始修炼或刚刚接触修炼之道的普通研究生。 arXiv,bioRxiv 练气期 :这是修仙的基础阶段,研究生修行者开始吸收天地灵气,将其转化为体内的元力。 BMC genomics,BMC bioinformatics,BMC bio...
近期因为工作需求和提高用户友好度的考量需要对软件进行Docker打包,于是总结以下简易流程。 拉取镜像,如果需要预先配置好CUDA等,可以搜索对应镜像: docker pull nvidia/cuda:12.2.2-cudnn8-devel-ubuntu22.04 进入镜像,修改软件配置环境等: docker run --gpus all -it nvidi...
获取IP地址 shell sudo apt install net-tools ifconfig 安装openssh,这样可以远程ssh连接服务器 shell sudo apt install openssh-server 安装gcc sudo apt install gcc g++ make 安装NVIDIA驱动 在https://www.nvidia.c...
We are happy to announce the SkinGPT-4: An Interactive Dermatology Diagnostic System with Visual Large Language Model Skin and subcutaneous diseases rank high among the leading con...
问题描述: 近期在Gradio开发的时候,发现自己服务器搭建的http无法在Chrome下开启麦克风和摄像头 解决方案: 在浏览器地址栏中输入“chrome://flags/#unsafely-treat-insecure-origin-as-secure”,回车 该选项置为Enabled 在输入框中输入需要访问的地址,多个地址使用“,”隔开 然后点击右下角...
问题描述 Mac更新后无法使用任何Apple服务,比如无法退出Apple ID,无法进入Apple Store,但是其它网络连接均正常。 解决方案 打开/Library/Preferences/SystemConfiguration 这个文件夹 删除 除了com.apple.Boot.plist 之外 的其他文件,然后重新启动
参考 https://blog.csdn.net/weixin_51524504/article/details/119487457
今天Cisco Anyconnect莫名奇妙用不了,重新安装却提示安装器错误,于是找到了Openconnect这个替代品 下面说下Openconnect安装方法: 命令行模式: brew install openconnect GUI模式: brew install openconnect-gui --cask 安装完之后, 发现GUI打不开, 提示来自不被...
之前使用命令行安装: brew install cmake 安装的是最新版,安装速度也很快,但是这个cmake是不带 GUI的,用着不习惯,就又一个命令行给卸载了。 brew uninstall cmake 然后手动安装cmake,去官网下载。 网址:https://cmake.org/download/ 下载框线这个,可能因为时间段问题,晚上下载只有几kb...
1,Help -> Find Action -> (输入 “VM”) -> (点击)“Edit Custom VM options” 2,Pycharm会在编辑器中打开适当的vmoptions文件(pycharm.vmoptions或pycharm64.options)。 3,将 -Xms 属性的值修改为你想要的结果,然后保存 -Xmx75...
conda create -n p37 python==3.7 wget https://github.com/TylerGubala/blenderpy/releases/download/v2.91a0/bpy-2.91a0-cp37-cp37m-manylinux2014_x86_64.whl pip install bpy-2.91a0-cp37-c...
When setting jupyter interpreter in pycharm, it may throw the error: jupyter URL is invalid Solution: Even without a token, use the url: http://url:port?token= Then it works
相信大家对numpy, Tensorflow, Pytorch已经极其熟悉,不过,你知道JAX吗? JAX发布之后,有网友进行了测试,发现,使用JAX,Numpy运算可以快三十多倍! 下面是使用Numpy的运行情况: import numpy as np # 使用标准numpy,运算将在CPU上执行。 x = np.random.random([5000, ...
Outsourcing computation, privately Homomorphic evaluation function: Eval: f, Enc(x) -> Enc(f(x)) Fully homomorphic encryption Fully homomorphic = correctness for any efficient f...
同态加密是密码学领域自1978年以来的经典难题,也是实现数据隐私计算的关键技术,在云计算、区块链、隐私计算等领域均存在着广泛的应用需求和一些可行的应用方案。 本文首先介绍同态加密的基本概念、研究进展以及标准化进展,然后对主流的乘法/加法半同态加密算法和全同态加密算法及其工程实现情况进行概述,最后对同态加密在各领域的应用场景进行分析。 一、同态加密概述 1、基...
Microsoft SEAL Ref https://www.youtube.com/watch?v=XaYEHnaAg8M
What’s is CKKS Plain Computation Encrypted Computation bool, int (uint 64), modulo p BGV, BFV, TFHE double (float) CKKS Approximate arithmetic For floating-point arithmetic, we kee...
Run Ubuntu Linux in Docker with Desktop Environment and VNC Step 1 – Install Docker on your System sudo systemctl start docker && sudo systemctl enable docker Add your syst...
全同态加密 Fully homomorphic encryption (FHE) What’s is FHE 第一种形式:同时使用secret key加密和解密,public key用于第三方加密进行同态计算 第二种形式:asymmetric FHE,只使用public key进行加密,secret key用于解密 Efficient FHE is a gi...
After installing PyG, here is the error: libc10_cuda.so: cannot open shared object file: No such file or directory Solution conda install pytorch==1.11.0 cudatoolkit=11.3 -c pytorc...
在运行任务时,往linux的同一个文件夹中写入超过500万个文件,导致在硬盘还有空间的情况下,在该文件夹下无法继续写入文件,也无法使用ls、rm等命令。记录处理过程。 Background: physical server, about two years old, 7200-RPM SATA drives connected to a 3Ware RAID...
Automatically Sort Data in Google Sheets Extension -> Apps script function autoSort(e) { const ss = SpreadsheetApp.getActiveSpreadsheet() const ws = ss.getSheetByName("Shee...
Check SWAP used by differnt PID for i in $(cd /proc;ls | grep "^[0-9]" | awk '$0>100'); do awk '/Swap:/{a=a+$2}END{print '"$i"',a/1024"M"}' /proc/$...
显示“未能找到金属编译器安装的Xcode。请安装Xcode并运行Xcode.app来接受协议,或确保激活的开发者目录设为当前的Xcode安装(使用xcode-select) 解决方案: sudo xcode-select -s /Applications/Xcode.app/Contents/Developer
给定两个稀疏向量,计算它们的点积(数量积)。 实现类 SparseVector: SparseVector(nums) 以向量 nums 初始化对象。 dotProduct(vec) 计算此向量与 vec 的点积。 稀疏向量 是指绝大多数分量为 0 的向量。你需要 高效 地存储这个向量,并计算两个稀疏向量的点积。 进阶:当其中只有一个向量是稀疏向量时,你该如...
Implement pow(x, n) , which calculates x raised to the power n (i.e., xn ). Example 1: Input: x = 2.00000, n = 10 Output: 1024.00000 Example 2: Input: x = 2.10000, n = 3 Output: 9....
Given two strings s and t of lengths m and n respectively, return the minimum window substring of s such that every character in t (including duplicates) is included in the window....
You are given two integer arrays nums1 and nums2 , sorted in non-decreasing order , and two integers m and n , representing the number of elements in nums1 and nums2 respectively. ...
Given a characters array tasks , representing the tasks a CPU needs to do, where each letter represents a different task. Tasks could be done in any order. Each task is done in one...
Given an integer array nums, return all the triplets [nums[i], nums[j], nums[k]] such that i != j , i != k , and j != k , and nums[i] + nums[j] + nums[k] == 0 . Notice that the sol...
Serialization is the process of converting a data structure or object into a sequence of bits so that it can be stored in a file or memory buffer, or transmitted across a network c...
Given the root of a binary tree, return the vertical order traversal of its nodes' values. (i.e., from top to bottom, column by column). If two nodes are in the same row and column...
Title: Personalized Federated Learning: A Meta-Learning Approach INFO: 34th Conference on Neural Information Processing Systems (NeurIPS 2020) 研究背景 目前的联邦学习框架是基于所有users的数据,整合训练出一个最优...
Title: Personalized Federated Learning With Differential Privacy DOI: 10.1109/JIOT.2020.2991416 INFO: IEEE INTERNET OF THINGS JOURNAL, VOL. 7, NO. 10, OCTOBER 2020 发表周期 : Manuscrip...
并列递进 moreover, in addition, furthermore, besides, likewise, also, then, additionally 转折 not, yet, however, nevertheless, nonetheless, meanwhile, on the other hand, on the contrary,...
给你一个会议时间安排的数组 intervals ,每个会议时间都会包括开始和结束的时间 intervals[i] = [starti, endi] ,返回 所需会议室的最小数量 。 示例 1: 输入:intervals = [[0,30],[5,10],[15,20]] 输出:2 示例 2: 输入:intervals = [[7,10],[2,4]] 输出:...
Given the root node of a binary search tree and two integers low and high , return the sum of values of all nodes with a value in the inclusive range [low, high] . Example 1: Input...
本文转载自:https://zhuanlan.zhihu.com/p/31088141 本文的内容分为: Time Machine 是什么? 自建Time Machine 服务器的理由 硬件的选择 软件的部署 Mac 备份到Time Machine 服务器 从Time Machine 服务器恢复Mac Time Machine 是什么? Time Machi...
Given an input string s and a pattern p , implement regular expression matching with support for '.' and '*' where: '.' Matches any single character. '*' Matches zero or more of th...
A permutation of an array of integers is an arrangement of its members into a sequence or linear order. For example, for arr = [1,2,3] , the following are considered permutations o...
Given an array of intervals where intervals[i] = [starti, endi] , merge all overlapping intervals, and return an array of the non-overlapping intervals that cover all the intervals...
A phrase is a palindrome if, after converting all uppercase letters into lowercase letters and removing all non-alphanumeric characters, it reads the same forward and backward. Alp...
Given an integer array nums , return an array answer such that answer[i] is equal to the product of all the elements of nums except nums[i] . The product of any prefix or suffix of...
Given two non-negative integers, num1 and num2 represented as string, return the sum of num1 and num2 as a string . You must solve the problem without using any built-in library fo...
Given an array of integers nums and an integer k , return the total number of continuous subarrays whose sum equals to k . Example 1: Input: nums = [1,1,1], k = 2 Output: 2 Example...
Given a string s that contains parentheses and letters, remove the minimum number of invalid parentheses to make the input string valid. Return all the possible results . You may r...
Given two binary strings a and b , return their sum as a binary string . Example 1: Input: a = "11", b = "1" Output: "100" Example 2: Input: a = "...
Convert a non-negative integer num to its English words representation. Example 1: Input: num = 123 Output: "One Hundred Twenty Three" Example 2: Input: num = 12345 Outpu...
Given an array of points where points[i] = [xi, yi] represents a point on the X-Y plane and an integer k , return the k closest points to the origin (0, 0) . The distance between t...
Given a string s , return true if the s can be palindrome after deleting at most one character from it . Example 1: Input: s = "aba" Output: true Example 2: Input: s = &q...
In an alien language, surprisingly, they also use English lowercase letters, but possibly in a different order . The order of the alphabet is some permutation of lowercase letters....
Given a string s of '(' , ')' and lowercase English characters. Your task is to remove the minimum number of parentheses ( '(' or ')' , in any positions ) so that the resulting par...
用两个栈实现一个队列。队列的声明如下,请实现它的两个函数 appendTail 和 deleteHead ,分别完成在队列尾部插入整数和在队列头部删除整数的功能。(若队列中没有元素,deleteHead 操作返回 -1 ) 示例 1: 输入: ["CQueue","appendTail","deleteHea...
Design a stack that supports push, pop, top, and retrieving the minimum element in constant time. Implement the MinStack class: MinStack() initializes the stack object. void push(i...
Title: A geometric deep learning approach to predict binding conformations of bioactive molecules DOI: https://doi.org/10.1038/s42256-021-00409-9 INFO: NATURE MACHINE INTELLIGENCE ...
ER diagram Notation: Chen Notation Crow’s Foot Notation UML Class Diagram Notation
Example MD
Problem Description Fors some unknow reason, the user is unable to click the text boxes or type anything into the publish window after running the Build & Publish. When the use...
Avticate your environment,check for package ipykernel python -m ipykernel --version If it’s not installed: python -m pip install ipykernel Add kernel to Jupyter notebook python -m ...
Given a string s , find the length of the longest substring without repeating characters. Example 1: Input: s = "abcabcbb" Output: 3 Explanation: The answer is "abc&...
Install sudo apt install slurm-wlm slurm-wlm-doc -y Modify config rm /etc/slurm-llnl/slurm.conf vi /etc/slurm-llnl/slurm.conf Example of config # slurm.conf file generated by confi...
Q. What are genetic algorithm and evolutionary algorithm? Genetic algorithm (GA) is a sub-class of evolutionary algorithm (EA). There are 3 implementation of EAs: GA, evolution str...
问题在于VNCServer使用Python编写,所以受到系统Python版本影响。 解决方案: $ cd $HOME $ vim .bashrc 找到如下语句: export PATH="/home/user/anaconda2/bin:$PATH" 并修改为,并保存退出。 export PATH="$PATH:/home/us...
Q. What Are the Different Types of Machine Learning? Supervised learning A model makes predictions or decisions based on past or labeled data. Labeled data refers to sets of data t...
You are given two non-empty linked lists representing two non-negative integers. The digits are stored in reverse order , and each of their nodes contains a single digit. Add the t...
MacOS install uPic brew install uPic Set uPic Set uPic host to Github The default host is SMMS Set Typora uploading to uPic
Mofidy .inputrc sudo vi ~/.inputrc Add this line set completion-ignore-case on Restart your terminal Now you can ignore the upper and lower case when you use Tab in terminal
Mofidy bash.bashrc sudo vi /etc/bash.bashrc Find those code in the file #enable bash completion in interactive shells #if ! shopt -oq posix; then # if [-f /usr/share/bash-completio...
Q. How Many Times Do A Clock’s Hands Overlap In A Day? The most important is not the answer but the way to think and work out problems. In total 22, because the clock hands approxi...
Install You can find it at here: https://github.com/svenstaro/miniserve/releases Usage miniserve --help miniserve 0.4.1 Sven-Hendrik Haase <svenstaro@gmail.com>, Boastful Squ...
Q. What is the most efficient way to sort a million integers? Time Complexity Sorting Algorithm Average Case Best Case Worst Case Bubble Sort O(n^2) O(n) O(n^2) Insertion Sort O(n^...
Install Conda Packaging Tool conda install conda-build anaconda-client File Structure - home/ - my_package/ - my_package/ - package_lib/ - setup.py - README.md - run_test.py - buil...