How to download ebooks from Library Genesis (libgen) for free

As a follow-up to my prior guide on how to use Sci-hub to download academic papers for free, here’s a simple guide to use Library Gensis aka. Libgen.

Library Genesis is another guerilla open access project, also run by people from the Russia-sphere. It’s relatively easy to use.

1. Go to the Libgen website

There’s a few URLs, but I generally use this version:

If it’s blocked, use one of the many open proxies. For instance, hide.me works for this (I used the USA exit). If the domain is taken down, find a new one via Wikipedia.

2. Search for some book you want

Enter the title (and maybe author name) of some book you want. Here we pretend we want to read Lee Jussim’s great book on social psychology:

  • Jussim, L. (2012). Social perception and social reality: Why accuracy dominates bias and self-fulfilling prophecy. OUP USA.

Enjoy!

FROM: http://emilkirkegaard.dk/en/?p=7172

杂语

  • 最近一个月找深圳工作,不太顺利,还需要再接再厉。我投简历,小玲也帮忙投,都是在前程无忧。昨晚决定换个平台,比如智联或者猎聘。
  • 每次和小玲交流一些看法,想法和见解都很有意思。真是觉得小玲是美貌和智慧一体的奇女子啊。爱得越来越深,深不见底。
  • 小玲有时候会做不好的梦,什么吵架啊,分手啊什么的。大约还是受过伤害的经历的折射吧,小玲要时间慢慢修复,我也会用我的爱帮助小玲的。
  • 小玲说我们现在什么都不缺,无话不谈,多重关系,就是缺钱。哈哈。

Restore Configuration From PRTG’s Auto-Backup

PRTG automatically saves a daily backup of its configuration file in the \Configuration Auto-Backupssub folder of the data folder.

In order to restore a previous configuration from PRTG’s auto-backup please follow these steps.

  1. Stop both PRTG services:
    1. Open the PRTG Administration Tool on your PRTG core server system.
    2. Open the Service Start/Stop tab.
    3. Click on Stop Core Server and Stop Probe Service
      • Note: In PRTG versions previous to 14.4.12, you have to use the PRTG Probe Administrator and PRTG Server Administrator programs to stop both services.
  2. Open the PRTG data folder
  3. Your current configuration file’s name is PRTG Configuration.dat. Please rename it.
  4. In the Configuration Auto-Backups sub folder, locate the ZIP file with the configuration you want to restore. Unzip and copy it to the data folder to replace your current configuration.
  5. Restart both PRTG services:
    1. Open the PRTG Administration Tool on your PRTG core server system.
    2. Open the Service Start/Stop tab.
    3. Click on Start Core Server and Start Probe Service
      • Note: In PRTG versions previous to 14.4.12, you have to use the PRTG Probe Administrator and PRTG Server Administrator programs to start both services.

Done. PRTG is now running with the new configuration.

Note: If you’re looking for the last working configuration (e.g. after a crash), repeat the steps above and go back date by date until you obtain a valid configuration again.

https://kb.paessler.com/en/topic/12313-how-do-i-restore-a-previous-configuration-of-prtg-from-automated-backup-zips#reply-34593

ArcGIS 10.5 安装配置

  1. 下载:http://data.wvgis.wvu.edu/SecureFTP/securedownload/arc/Version_10_5/
  2. 安装IIS;
  3. 安装SQL server 2017;
  4. 安装ArcGIS Server 10.5,并配置;
  5. 安装ArcGIS Data Store,并配置;
  6. 安装Portal for ArcGIS,并配置;
  7. 安装ArcGIS Web Adaptor,并配置;
  8. Portal for ArcGIS和ArcGIS for Server的联合和托管
  9. 安装LicenseManager;
  10. 安装ArcGIS Desktop,并配置。

参考:https://blog.csdn.net/smss007/article/details/74301174

https://www.cnblogs.com/DanielLau/p/6358664.html

共享打印机后,开启打印历史记录

昨天晚上,莲姐打电话问我能不能查到打印历史记录。原来莲姐本来要打印双面的6页个人所得税申请表,结果翻页之后被人找去聊天打断,后面发现这6页纸不见了。个人所得税呢,嗯,应该人都有好奇心看看其他人的工资情况吧?哈哈。

但是Windows共享打印机很讨厌啊,默认的打印历史记录是关闭的。如下步骤启用打印历史记录:

Print Service Logging in Event Viewer

Step 1

Press “Windows” to open Windows Start, type “Run”, Type “eventvwr.msc” into the field next to “Open” and then click the “OK” button to open Event Viewer.

Step 2

Select |”Applications and Services Logs”|”Microsoft”|”Windows”|”PrintService”|. The PrintService folder contains administrative and operational controls for print services in Windows.

Step 3

Right-click “Operational” and then select “Enable Log.” This command enables logging of all future print jobs and can be viewed anytime by returning to the PrintService folder in the Event Viewer.

2018-07-13_142714

TFS 2018 and SQL Server 2017–Multidimensional server mode

TFS2012成功升级到了TFS2018,因为安装SQL Server时候没有选择SSAS的模式(需要选择Multidimensional),默认是Tabular:

[Warning] An error was encountered while attempting to upgrade either the warehouse databases or the Analysis Services database. Reporting features will not be usable until the warehouse and Analysis Services database are successfully configured. Use the Team Foundation Server Administration console to update the Reporting configuration. Error details: TF400646: Team Foundation Server requires Analysis Services instance installed in the ‘Multidimensional’ server mode. The Analysis Services instance you supplied (<INSTANCE NAME>) is in ‘Tabular’ server mode. You can either install another instance of Analysis Services and supply that instance name, or you can uninstall this instance and install it in the required server mode.

Turns out that in SQL Server 2017 Analysis Services you can choose between 3 possible modes:

Relational modeling constructs (model, tables, columns), articulated in tabular metadata object definitions in Tabular Model Scripting Language (TMSL) and Tabular Object Model (TOM) code. This is the default value. OLAP modeling constructs (cubes, dimensions, measures). Originally an add-in, but now fully integrated into Excel. Visual modeling only, over an internal Tabular infrastructure. You can import a Power Pivot model into SSDT to create a new Tabular model that runs on an Analysis Services instance.

Value

Description

TABULAR Relational modeling constructs (model, tables, columns), articulated in tabular metadata object definitions in Tabular Model Scripting Language (TMSL) and Tabular Object Model (TOM) code.
MULTIDIMENSIONAL OLAP modeling constructs (cubes, dimensions, measures).
POWERPIVOT Originally an add-in, but now fully integrated into Excel. Visual modeling only, over an internal Tabular infrastructure. You can import a Power Pivot model into SSDT to create a new Tabular model that runs on an Analysis Services instance.

More information: https://docs.microsoft.com/en-us/sql/analysis-services/comparing-tabular-and-multidimensional-solutions-ssas

参考此文章更改Tabular模式为Multidimensional模式:Changing an Analysis Services instance to tabular mode

TFS2012升级到TFS2018

TFS2012。Windows Server 2008 R2 + SQL Server 2008 R2 + TFS 2012 sp3。

  1. Full备份11个数据库,ReportServer,ReportServerTempDB,Tfs_Configuration,Tfs_DefaultCollection,Tfs_Warehouse,TfsWarehouse,WSS_AdminContent,WSS_Config,WSS_Content,WSS_Logging,Tfs_Analysis.abf需要手动备份。
  2. 也可以在TFS ADMIN Console处进行Scheduled Backups。

TFS2018。Windows Server 2016 Std + SQL Server 2017 + TFS 2018。

  1. 安装Windows Server 2016 Std,固定IP,加域,关闭IE增强,开远程桌面,安装.NET 3.5和4.5;
  2. 安装SQL Server 2017,勾选Database和Full-Text Search,SSAS选择Multidimensional mode,安装SSRS,安装SSMT;
  3. 还原TFS2012的11个数据库;
  4. 配置SSRS,Service Account:Network Service,Web Service URL和Web Portal URL:Apply,Database选择刚才还原的ReportServer,Encrytion Keys选择Delete;
  5. SQL Protocols 全部Enabled;
  6. 进行TFS Admin Console配置,选择I have existing databases for use for this Team Foundation Server deployment。Upgrade Progress花了3个小时46分钟。

2018-07-10_093932_cr2018-07-10_093920_cr2018-07-10_093932-1_cr2018-07-10_095833_cr

2018-07-10_134934

补充,从TFS2018升级到TFS2018 Update 2的时候,Team Project Collection启动不了,提示TF400787错误,Detach Collection的时候提示数据库版本不对。

解决办法:修改数据库Tfs_DefaultCollection和Tfs_Configuration的属性–Extended Properties–TFS_SERVICE_LEVEL的值,从Dev16.M122.5改为Dev16.M131.6。

image

image (1)

DAS、SAN和NAS

数据即血液。

DAS即直接连接存储(Direct Attached Storage),NAS即网络接入存储(Network Attached Storage),SAN即存储区域网络(Storage Area Network)。

DAS是指将外置存储通设备通过SCSI或FC接口直接连接到应用服务器上,存储设备是整个服务器结构的一部分。在这种情况下,数据和操作系统往往都未分离。

SAN是通过光纤交换机连接存储阵列和服务器,建立专用数据存储的存储私网。

NAS采用网络技术(TCP/IP、ATM、FDDI),通过网络交换机连接存储系统和服务器主机来建立存储私网。其主要特征是把存储设备、网络接口和以太网技术集成在一起,直接通过以太网网络存取数据。也就是把存储功能从通用文件服务器中分离出来。

三种模式中,DAS模式最简单,就是直接把存储设备连接到服务,而这种模式最大的问题是:每个应用服务器都要有独立的存储设备,这样增加了数据处理的复杂度,随着服务器的增加,网络系统效率也急剧下降。为了解决上述问题,提出了NAS和SAN两种模式。

NAS:通过TCP/IP协议访问数据,采用业界标准文件共享协议,如果NFS、HTTP、CIFS实现共享。

SAN:通过专用光纤交换机访问数据,采用SCSI、FC-AL接口。

NAS和SAN最本质的区别就是文件管理系统在哪里。如图1所示,SAN结构中,文件管理系统(FS)分别在每一个应用服务器上面,而NAS则是每个应用服务器通过网络共享协议,使用同一个文件管理系统。即NAS和SAN存储系统的区别就是NAS有自已的文件管理系统。

链接:https://www.zhihu.com/question/24335605/answer/27454928

TF255050: A connection cannot be made to the Report Server WMI provider

当配置TFS2018时候出现此错误,SQL安装在同一台:


TF255050: A connection cannot be made to the Report Server WMI provider. Verify the following:
1. You have entered the correct name for the server, including the instance name.
2. The Windows Management Instrumentation service is running on tfsssrs.
3. The service is not blocked by Windows Firewall.
4. You have the required permissions to connect.
Details:
The RPC server is unavailable. (Exception from HRESULT: 0x800706BA)


第一:Reporting Service Instance填写:计算机名\ReportServer实例名;

第二:在Report Server Configuration Manager配置好Service Acount、Web Service URL和Web Portal URL,点击Apply起作用。

CI/CD持续集成/持续部署 敏捷开发

敏捷软件开发(英语:Agile software development),又称敏捷开发,是一种从1990年代开始逐渐引起广泛关注的一些新型软件开发方法,是一种应对快速变化的需求的一种软件开发能力。它们的具体名称、理念、过程、术语都不尽相同,相对于“非敏捷”,更强调程序员团队与业务专家之间的紧密协作、面对面的沟通(认为比书面的文档更有效)、频繁交付新的软件版本、紧凑而自我组织型的团队、能够很好地适应需求变化的代码编写和团队组织方法,也更注重软件开发过程中人的作用。

1,CI/CD持续集成/持续部署

持续集成(Continuous integration)是一种软件开发实践,即团队开发成员经常集成它们的工作,通过每个成员每天至少集成一次,也就意味着每天可能会发生多次集成。每次集成都通过自动化的构建(包括编译,发布,自动化测试)来验证,从而尽早地发现集成错误。

持续部署(continuous deployment)是通过自动化的构建、测试和部署循环来快速交付高质量的产品。某种程度上代表了一个开发团队工程化的程度,毕竟快速运转的互联网公司人力成本会高于机器,投资机器优化开发流程化相对也提高了人的效率,让 engineering productivity 最大化。

   持续交付(英语:Continuous delivery,缩写为 CD),是一种软件工程手法,让软件产品的产出过程在一个短周期内完成,以保证软件可以稳定、持续的保持在随时可以释出的状况。它的目标在于让软件的建置、测试与释出变得更快以及更频繁。这种方式可以减少软件开发的成本与时间,减少风险。

  与DevOps的关系

持续交付与DevOps的含义很相似,所以经常被混淆。但是它们是不同的两个概念。DevOps的范围更广,它以文化变迁为中心,特别是软件交付过程所涉及的多个团队之间的合作(开发、运维、QA、管理部门等),并且将软件交付的过程自动化。另壹方面,持续交付是壹种自动化交付的手段,关注点在于将不同的过程集中起来,并且更快、更频繁地执行这些过程。因此,DevOps可以是持续交付的壹个产物,持续交付直接汇入DevOps;

  与持续部署的关系

有时候,持续交付也与持续部署混淆。持续部署意味着所有的变更都会被自动部署到生产环境中。持续交付意味着所有的变更都可以被部署到生产环境中,但是出于业务考虑,可以选择不部署。如果要实施持续部署,必须先实施持续交付。

1.1、Jenkins是什么?

Jenkins是一个可扩展的持续集成引擎。

主要用用途:

持续、自动的构建/测试软件项目。

监控一些定时执行的任务。、

特点:

易于安装,只要把jenkins.war部署到servlet容器

易于配置-所有配置都通过其提供的web界面实现。

集成RSS/E-mail通过RSS发布构建结果或当构件完成是通过e-mail通知。

生成JUnit/TestNG测试报告。

分布式构建支持Jenkins能够让多台计算机一起构建/测试。

文件识别:Jenkins能够跟踪那次构建生成哪些jar,那次构建使用哪个版本的jar

插入支持:支持扩展插件,可以开发适合自己团队的使用的工具。

Jenkins的目标是监控软件的开发流程,快速显示问题。所以能保证开发人员省事又省力提高开发效率。

2、项目版本迭代控制:、

现有的版本控制工具,如 Github、GitLab、SVN、CVS 等主流工具..

构建及测试:通过 Jenkins 实现自动构建和测试,还有商业软件BAMBOO来持续集成。这个收费的。免费就用Jenkins..

交付:以Docker镜像形式进行交付,提交至镜像仓库;

2.1 SVN服务器:

Subversion是一个版本控制系统,相对于的RCS、CVS,采用了分支管理系统,它的设计目标就是取代CVS。互联网上免费的版本控制服务多基于Subversion。

Subversion的版本库可以通过网络访问,从而使用户可以在不同的电脑上进行操作。从某种程度上来说,允许用户在各自的空间里修改和管理同一组数据可以促进团队协作。因为修改不再是单线进行(单线进行也就是必须一个一个进行),开发进度会进展迅速。此外,由于所有的工作都已版本化,也就不必担心由于错误的更改而影响软件质量—如果出现不正确的更改,只要撤销那一次更改操作即可。某些版本控制系统本身也是软件配置管理系统(SCM),这种系统经过精巧的设计,专门用来管理源代码树,并且具备许多与软件开发有关的特性——比如对编程语言的支持或者提供程序构建工具。不过Subversion并不是这样的系统,它是一个通用系统,可以管理任何类型的文件集。

2.2 CVS服务器:

CVS(Concurrent Versions System)版本控制系统是一种GNU软件包,主要用于在多人开发环境下源码的维护。Concurrent有并发的、协作的、一致的等含义。实际上CVS可以维护任意文档的开发和使用,例如共享文件的编辑修改,而不仅仅局限于程序设计。CVS维护的文件类型可以是文本类型也可以是二进制类型。CVS用Copy-Modify-Merge(拷贝、修改、合并)变化表支持对文件的同时访问和修改。它明确地将源文件的存储和用户的工作空间独立开来,并使其并行操作。CVS基于客户端/服务器的行为使其可容纳多个用户。这一特性使得CVS成为位于不同地点的人同时处理数据文件(特别是程序的源代码)时的首选。

所有重要的免费软件项目都使用CVS作为其程序员之间的中心点,以便能够综合各程序员的改进和更改。这些项目包括GNOME、KDE、THE GIMP和Wine等。

2.3 GIt/github:

GIT (分布式版本控制系统)

Git是一款免费、开源的分布式版本控制系统,用于敏捷高效地处理任何或小或大的项目。Git的读音为/gɪt/。

Git是一个开源的分布式版本控制系统,可以有效、高速的处理从很小到非常大的项目版本管理。Git 是 Linus Torvalds 为了帮助管理 Linux 内核开发而开发的一个开放源码的版本控制软件。Torvalds 开始着手开发 Git 是为了作为一种过渡方案来替代 BitKeeper,后者之前一直是 Linux 内核开发人员在全球使用的主要源代码工具。开放源码社区中的有些人觉得BitKeeper 的许可证并不适合开放源码社区的工作,因此 Torvalds 决定着手研究许可证更为灵活的版本控制系统。尽管最初 Git 的开发是为了辅助 Linux 内核开发的过程,但是我们已经发现在很多其他自由软件项目中也使用了 Git。例如 很多 Freedesktop 的项目迁移到了 Git 上。

gitHub是一个面向开源及私有软件项目的托管平台,因为只支持git 作为唯一的版本库格式进行托管,故名gitHub。

gitHub于2008年4月10日正式上线,除了git代码仓库托管及基本的 Web管理界面以外,还提供了订阅、讨论组、文本渲染、在线文件编辑器、协作图谱(报表)、代码片段分享(Gist)等功能。目前,其注册用户已经超过350万,托管版本数量也是非常之多,其中不乏知名开源项目 Ruby on Rails、jQuery、python 等。

From:https://blog.csdn.net/qq_32261399/article/details/76651376