administration

Migrating R libraries

☆樱花仙子☆ 提交于 2019-11-26 23:59:35
问题 I'd like to move several R libraries (*) from one drive to another, on Linux, and would like to know whether a simple move is feasible and safe or if I should uninstall and reinstall the packages. I realize that the locations of libraries are identified via .libPaths() and have looked through the "R Installation and Administration" manual to find out about migrating libraries, but don't see a recommended process. I perceive three options: Run remove.packages() for all of the non-base packages

SSL Multilevel Subdomain Wildcard

半世苍凉 提交于 2019-11-26 23:03:22
I bought a wildcard certificate for *.example.com. Now, I have to secure *.subdomain.example.com. Is it possible to create a sub-certificate for my wildcard-certificate? If it is, how I can do this? Steffen Ullrich No, it is not possible. A wildcard inside a name only reflects a single label and the wildcard can only be leftmost. Thus *.*.example.org or www.*.example.org are not possible. And *.example.org will neither match example.org nor www.subdomain.example.org , only subdomain.example.org . But you can have multiple wildcard names inside the same certificate, that is you can have *

Listing each branch and its last revision's date in Git

可紊 提交于 2019-11-26 11:45:51
问题 I need to delete old and unmaintained branches from our remote repository. I\'m trying to find a way with which to list the remote branches by their last modified date, and I can\'t. Is there an easy way to list remote branches this way? 回答1: commandlinefu has 2 interesting propositions: for k in `git branch | perl -pe s/^..//`; do echo -e `git show --pretty=format:"%Cgreen%ci %Cblue%cr%Creset" $k -- | head -n 1`\\t$k; done | sort -r or: for k in `git branch | sed s/^..//`; do echo -e `git

Command line tool to delete folder with a specified name recursively in Windows?

喜夏-厌秋 提交于 2019-11-26 10:15:39
问题 I want to delete every \"_svn\" in every folder and subfolder... For example c:\\ proyect1 _svn images _svn banner _svn buttons _svn Then I run something like rm-recurse c:\\proyect1 _svn And I should get: c:\\ proyect1 images banner buttons The ideal thing would be a tiny stand-alone EXE or something like that. -- Thanks Grant, as soon as I posted the question I saw SVN documentation about the SVN export command, but I also want to delete the _vti_* folders stuff Visual Studio creates, so I\

MongoDB won't start after server crash

耗尽温柔 提交于 2019-11-26 10:07:22
问题 My Ubuntu computer had crashed, and when I restarted it MongoDB wasn\'t working. I tried the following commands, and got the following output: $ mongo Error: couldn\'t connect to server 127.0.0.1:27017 src/mongo/shell/mongo.js:91 exception: connect failed $ service mongodb status mongodb stop/waiting $ service mongodb restart stop: Unknown instance: start: Rejected send message, 1 matched rules; type=\"method_call\", sender=\":1.57\" (uid=1000 pid=2227 comm=\"start mongodb \") interface=\"com

How SID is different from Service name in Oracle tnsnames.ora

蹲街弑〆低调 提交于 2019-11-26 09:05:23
问题 Why do I need two of them? When I have to use one or another? 回答1: @DAC In short: SID = the unique name of your DB, ServiceName = the alias used when connecting Not strictly true.. SID = unique name of the INSTANCE (eg the oracle process running on the machine). Oracle considers the "Database" to be the files. Service Name = alias to an INSTANCE (or many instances). The main purpose of this is if you are running a cluster, the client can say "connect me to SALES.acme.com", the DBA can on the

SSL Multilevel Subdomain Wildcard

不问归期 提交于 2019-11-26 07:46:19
问题 I bought a wildcard certificate for *.example.com. Now, I have to secure *.subdomain.example.com. Is it possible to create a sub-certificate for my wildcard-certificate? If it is, how I can do this? 回答1: No, it is not possible. A wildcard inside a name only reflects a single label and the wildcard can only be leftmost. Thus *.*.example.org or www.*.example.org are not possible. And *.example.org will neither match example.org nor www.subdomain.example.org , only subdomain.example.org . But