vs调用note转存文件

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了vs调用note转存文件相关的知识,希望对你有一定的参考价值。

vs调用note转存文件如下:
直接PDF(需要latex)
这两种本身支持将noteboook直接导出到pdf格式,过程类似。以Jupyter Notebook为例:
在这里插入图片描述
点击左上角【文件】-【下载】-【.pdf】即可导出为pdf格式文件。但是这种方法要求电脑提前安装latex,否则会报错。
可以尝试在电脑终端输入以下代码来安装latex:

sudo apt-get install texlive-full
1
1
如果这一步有问题可以尝试方法二或跳转到方法四查看详细的安装步骤。

2. Jupyter Notebook / Google Colab方法二:Markdown后PDF
除了直接导出pdf格式文件,也可以先将ipynb导出为Markdown格式再转换为pdf。首先通过点击【文件】-【下载】-【.md】下载Markdown格式文件,之后用电脑本地软件进行格式转换。
这里推荐Typora,一款完全免费的、实时预览的 Markdown 文本编辑器。Typora安装包可以在官网下载。
打开Typora之后点击左上角【文件】-【打开】打开之前下载的.md格式文件。
在这里插入图片描述
之后点击左上角【文件】-【导出】-【PDF】即可将文件导出为pdf格式。
参考技术A 1、登录VPS服务器;
2、打开终端,然后输入“ssh root@服务器IP”,登录VPS SSH;
3、输入“cd ~”,将进入到根目录;
4、输入“scp -r notepad@服务器IP:/path/to/local/directory /path/to/remote/directory”,即可将notepad上的文件转存到VPS上的指定路径下;
5、最后输入“exit”即可退出VPS。
参考技术B VS调用note可以将文件保存到note中,包括文本、图片和其他文件类型。

Learning Note: SQL Server VS Oracle–Database architecture

 http://www.sqlpanda.com/2013/07/learning-note-sql-server-vs.html

This is my learning note base on the “SQL Server Essentials for Oracle DBAs Jump Start” .

 

DATA BLOCK/EXTEND AND SEGMENT

image: http://lh5.ggpht.com/-FxEKn7CCNd0/UetkOxZ6igI/AAAAAAAAIns/YbXbA67epJw/image_thumb%25255B1%25255D.png?imgmax=800

技术分享

 

  • Oracle use Extend allocation map to track extend. Extend is continually blocks. Each Extend is always part of one segment. The object is created on the segment.
  • MSSQL use GAM/SGAM to track the page usages. The objects can be uniform extend or in mix extend depends on the object size. Trace 1118 turn on would force the SQL server always use uniform extend.
  • SQL Server is always 8K per page and 64K per extend ( 8 pages X 8K), Oracle has various block size hence has various extend size. Oracle can also has uniform extend size and other various extend size base on how  “Extend management” setting within the table space. ( see here).

 

TABLESPACES AND SYSTEM DATABASES

Because there is always one database per oracle instances so most of the system database mapping to Oracle is tablespace.

  • Model DB: Because there is no need to create the separate user db in the Oracle. The close thing to the SQL Server model db is “database Template” which we can use to define the characteristic of database and we can use it to create the database on another instance.
  • Tempdb: Oracle can have multiple temporary table space. SQL server’s tempdb is shared among entire servers. If we turn on the RCSI for the SQL Server database, the version store is also store in the Tempdb versus Oracle store the version in the UNDO tablespace.  DBA_TEMP_FILES list the temporary table space files. For SQL Server, sp_helpdb tempdb.
  • Log file: SQL Server log files are split internally as multiple VLFs and contain both UNDO and REDO logs. ( Except the tempdb log files , it only has UNDO). Oracle log files only has REDO. UNDO log store in the UNDO table space. In SQL Server, each database has its own log files and the log file within the same db are used sequentially. In Oracle, the log files are being divided as log group, each groups can have multiple log files.

image: http://lh5.ggpht.com/-DT_hl9I-kxw/UetkPk67AxI/AAAAAAAAIoA/8cKNDm94F8s/image_thumb1.png?imgmax=800

技术分享

 

 

SYSTEM LEVEL INFORMATION

Oracle store the system level information in the SYSTEM tablespace under the schema SYS.

SQL Server store in the master database.

  Oracle SQL Server Master database
Users DBA_USERS syslogins
Objects DBA_OBJECTS sys.objects
Tables DBA_TABLES sys.tables
DataFiles DBA_DATAFILES sys.databases

 

In SQL Server, we can use sp_help to find out the basic information of the object. In Oracle, we use DESC . See here .

v$datafiles and V$logfile are the system level view which allow as to see the information within oracle even the database is not open.

LIST ALL PROCESS

Oracle: v$sessoins

MSSQL: sys.dm_exec_requests or sp_who2

 

SERVER CONFIGURATION

For SQL Server, a lot of configuration values are defined as advance, therefore , we have to

EXEC sp_configure ‘show advanced option‘, ‘0‘;
reconfigure

 

In SQL Server 2008R2, the basic configuration option is 16. All options including advance are 70.

For Oracle, show parameter would display all the options. there are many advance options but most of time, we don’t really need to change it unless it is asked by Oracle support.

 

  Oracle MSSQL
List all parameters show parameter sp_configure
List single parameter show parameter X sp_configure ‘X’
list parameter with keyword match show paramter XXX N/A

 

Oracle:  please refer here for detail.

alter system set PARAMETER = XX scope=[MEMORY|SPFILE|BOTH]

 

MSSQL :See here for configuration option.

sp_configure ‘XXX‘.value;
reconfigure;


Read more at http://www.sqlpanda.com/2013/07/learning-note-sql-server-vs.html#Ocyxh20sYbvww0jA.99


以上是关于vs调用note转存文件的主要内容,如果未能解决你的问题,请参考以下文章

在vs2015怎样调用一个类库

VS2010的MFC程序如何调用动态库文件(dll文件)?放在system32中仍然编译无法打开d

Unity与 DLL文件 ☀️| 怎样使用VC++生成一个DLL文件并调用!(包括 在VS 中调用 和 在Unity中调用)

vs2005怎么调用sql语句,需要加啥头文件?

VS2008调用webservice 没有生成Reference.cs文件 所以不能调用方法

VS编译器如何调用动态链接库文件