- 博客(7)
- 收藏
- 关注
转载 “Unable to correct problems, you have held broken packages” 报错解决
1. 问题描述最近我在Ubuntu上安装包的时候遇到如下报错The following packages have unmet dependencies: mssql-tools : Depends: msodbcsql17 (>= 17.3.0.0) but it is not going to be installed unixodbc-dev : Depends: unixodbc (= 2.3.7) Depends: odbcinst1debian
2020-12-31 11:33:22 5944
转载 How to find your database IP address and SQL port
First, make sure that you are on the server computer. You can check by searching for "SQL server management studio" in windows. If it shows up then you're on the server.How to find internal IP address (local network connection).1.Hold the window...
2020-12-28 14:23:40 222
原创 连接SQL Server的三种方式
1. 问题背景最近老板在AWS上创建了一个Microsoft SQL Server,给我分配一个用户名和密码让我处理数据。然而我以前一直用的是MYSQL,对新数据库突然有些手足无措。在研究了一段时间后,我总结了三种连接到SQL Server的方式,分别是:Python利用sqlalchemy包来连接 SSMS (MicrosoftSQL Server Management Studio) sqlcmd一般SQL Server指的就是Microsoft SQL Server。2. 连接SQ.
2020-12-27 15:18:22 7460 1
原创 linux文件大小查看
一. 问题背景当我们在管理Linux文件系统的时候,我们需要查看每个文件的大小。本文介绍如何使用 du去查看文件大小,如何使用sort 排序,以及如何使用 more控制输出二. dudu -sh用于显示当前目录文件大小。-h的意思是要给输出加单位,也就是human-readable。-s的意思是只显示当前目录,不显示子文件夹。$ du -sh876M .输出的意思是当前目录下文件总大小。如果我们想看特定文件的大小,我们需要 du -sh file1 file2 .....
2020-12-17 08:07:34 745
原创 linux命令行特殊符号语法入门介绍
一. 问题背景在linux中,所有的操作都可以用终端命令来操作。我们遇到不懂的命令的时候,我们就会去搜索引擎去搜索相关的语法。但是我们经常会看到一些特殊符号,比如 -*[]|,这些符号常常叫人摸不着头脑。有些符号有些很深刻的含义,而有些却不太重要。在这篇文章里,我总结了这些符号在命令行里的一起常用含义和用法。本文读者需了解一些基本命令如:ls, cd二. 基本符号介绍1. 无符号任何一个命令都是由一个不带空格的单词构成的,一个命令的最简单用法就是直接输入这个命令并执行。比如ls$
2020-12-17 06:27:54 1445
原创 Keep processes running in the background and even after SSH session disconnects
I started running a computation-intensivepython script on aSSH session. But the session kept disconnecting and I lost all my results all the time. The solution was to run the script in the background without interrupting.Linux nohup Command worksperfe...
2020-12-13 18:43:07 338
转载 git clone is not working for a private repo
I tried to git clone some private. Then the following errorpopped up:remote: Repository not found.fatal: repository 'https://github.com/tottoramen/data_mining_project.git/' not foundIt turned out that I had an old session state:Open Control Panel f.
2020-12-10 02:05:25 114
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人