Compare commits
No commits in common. "master" and "gh-pages" have entirely different histories.
|
@ -1,63 +0,0 @@
|
|||
###############################################################################
|
||||
# Set default behavior to automatically normalize line endings.
|
||||
###############################################################################
|
||||
* text=auto
|
||||
|
||||
###############################################################################
|
||||
# Set default behavior for command prompt diff.
|
||||
#
|
||||
# This is need for earlier builds of msysgit that does not have it on by
|
||||
# default for csharp files.
|
||||
# Note: This is only used by command line
|
||||
###############################################################################
|
||||
#*.cs diff=csharp
|
||||
|
||||
###############################################################################
|
||||
# Set the merge driver for project and solution files
|
||||
#
|
||||
# Merging from the command prompt will add diff markers to the files if there
|
||||
# are conflicts (Merging from VS is not affected by the settings below, in VS
|
||||
# the diff markers are never inserted). Diff markers may cause the following
|
||||
# file extensions to fail to load in VS. An alternative would be to treat
|
||||
# these files as binary and thus will always conflict and require user
|
||||
# intervention with every merge. To do so, just uncomment the entries below
|
||||
###############################################################################
|
||||
#*.sln merge=binary
|
||||
#*.csproj merge=binary
|
||||
#*.vbproj merge=binary
|
||||
#*.vcxproj merge=binary
|
||||
#*.vcproj merge=binary
|
||||
#*.dbproj merge=binary
|
||||
#*.fsproj merge=binary
|
||||
#*.lsproj merge=binary
|
||||
#*.wixproj merge=binary
|
||||
#*.modelproj merge=binary
|
||||
#*.sqlproj merge=binary
|
||||
#*.wwaproj merge=binary
|
||||
|
||||
###############################################################################
|
||||
# behavior for image files
|
||||
#
|
||||
# image files are treated as binary by default.
|
||||
###############################################################################
|
||||
#*.jpg binary
|
||||
#*.png binary
|
||||
#*.gif binary
|
||||
|
||||
###############################################################################
|
||||
# diff behavior for common document formats
|
||||
#
|
||||
# Convert binary document formats to text before diffing them. This feature
|
||||
# is only available from the command line. Turn it on by uncommenting the
|
||||
# entries below.
|
||||
###############################################################################
|
||||
#*.doc diff=astextplain
|
||||
#*.DOC diff=astextplain
|
||||
#*.docx diff=astextplain
|
||||
#*.DOCX diff=astextplain
|
||||
#*.dot diff=astextplain
|
||||
#*.DOT diff=astextplain
|
||||
#*.pdf diff=astextplain
|
||||
#*.PDF diff=astextplain
|
||||
#*.rtf diff=astextplain
|
||||
#*.RTF diff=astextplain
|
|
@ -1,8 +0,0 @@
|
|||
@echo off
|
||||
|
||||
REM git remote add gitlink https://gitlink.org.cn/xieguigang/Darwinism.git
|
||||
|
||||
git pull gitlink HEAD
|
||||
git push gitlink HEAD
|
||||
|
||||
echo synchronization of this code repository job done!
|
|
@ -1,16 +0,0 @@
|
|||
@echo off
|
||||
|
||||
REM git remote remove local
|
||||
REM git remote add local http://192.168.0.232:8848/xieguigang/Darwinism.git
|
||||
REM git remote add local http://git.biodeep.cn/xieguigang/Darwinism.git
|
||||
|
||||
|
||||
git pull gitlink HEAD
|
||||
git pull gitee HEAD
|
||||
git pull local HEAD
|
||||
|
||||
git push gitlink HEAD
|
||||
git push gitee HEAD
|
||||
git push local HEAD
|
||||
|
||||
echo synchronization of this code repository job done!
|
|
@ -1,243 +0,0 @@
|
|||
## Ignore Visual Studio temporary files, build results, and
|
||||
## files generated by popular Visual Studio add-ons.
|
||||
|
||||
# User-specific files
|
||||
*.suo
|
||||
*.user
|
||||
*.userosscache
|
||||
*.sln.docstates
|
||||
|
||||
# User-specific files (MonoDevelop/Xamarin Studio)
|
||||
*.userprefs
|
||||
|
||||
assembly/
|
||||
|
||||
# Build results
|
||||
[Dd]ebug/
|
||||
[Dd]ebugPublic/
|
||||
[Rr]elease/
|
||||
[Rr]eleases/
|
||||
x64/
|
||||
x86/
|
||||
bld/
|
||||
[Bb]in/
|
||||
[Oo]bj/
|
||||
|
||||
# Visual Studio 2015 cache/options directory
|
||||
.vs/
|
||||
# Uncomment if you have tasks that create the project's static files in wwwroot
|
||||
#wwwroot/
|
||||
|
||||
# MSTest test Results
|
||||
[Tt]est[Rr]esult*/
|
||||
[Bb]uild[Ll]og.*
|
||||
|
||||
# NUNIT
|
||||
*.VisualState.xml
|
||||
TestResult.xml
|
||||
|
||||
# Build Results of an ATL Project
|
||||
[Dd]ebugPS/
|
||||
[Rr]eleasePS/
|
||||
dlldata.c
|
||||
|
||||
# DNX
|
||||
project.lock.json
|
||||
artifacts/
|
||||
|
||||
*_i.c
|
||||
*_p.c
|
||||
*_i.h
|
||||
*.ilk
|
||||
*.meta
|
||||
*.obj
|
||||
*.pch
|
||||
*.pdb
|
||||
*.pgc
|
||||
*.pgd
|
||||
*.rsp
|
||||
*.sbr
|
||||
*.tlb
|
||||
*.tli
|
||||
*.tlh
|
||||
*.tmp
|
||||
*.tmp_proj
|
||||
*.log
|
||||
*.vspscc
|
||||
*.vssscc
|
||||
.builds
|
||||
*.pidb
|
||||
*.svclog
|
||||
*.scc
|
||||
|
||||
# Chutzpah Test files
|
||||
_Chutzpah*
|
||||
|
||||
# Visual C++ cache files
|
||||
ipch/
|
||||
*.aps
|
||||
*.ncb
|
||||
*.opendb
|
||||
*.opensdf
|
||||
*.sdf
|
||||
*.cachefile
|
||||
|
||||
# Visual Studio profiler
|
||||
*.psess
|
||||
*.vsp
|
||||
*.vspx
|
||||
*.sap
|
||||
|
||||
# TFS 2012 Local Workspace
|
||||
$tf/
|
||||
|
||||
# Guidance Automation Toolkit
|
||||
*.gpState
|
||||
|
||||
# ReSharper is a .NET coding add-in
|
||||
_ReSharper*/
|
||||
*.[Rr]e[Ss]harper
|
||||
*.DotSettings.user
|
||||
|
||||
# JustCode is a .NET coding add-in
|
||||
.JustCode
|
||||
|
||||
# TeamCity is a build add-in
|
||||
_TeamCity*
|
||||
|
||||
# DotCover is a Code Coverage Tool
|
||||
*.dotCover
|
||||
|
||||
# NCrunch
|
||||
_NCrunch_*
|
||||
.*crunch*.local.xml
|
||||
nCrunchTemp_*
|
||||
|
||||
# MightyMoose
|
||||
*.mm.*
|
||||
AutoTest.Net/
|
||||
|
||||
# Web workbench (sass)
|
||||
.sass-cache/
|
||||
|
||||
# Installshield output folder
|
||||
[Ee]xpress/
|
||||
|
||||
# DocProject is a documentation generator add-in
|
||||
DocProject/buildhelp/
|
||||
DocProject/Help/*.HxT
|
||||
DocProject/Help/*.HxC
|
||||
DocProject/Help/*.hhc
|
||||
DocProject/Help/*.hhk
|
||||
DocProject/Help/*.hhp
|
||||
DocProject/Help/Html2
|
||||
DocProject/Help/html
|
||||
|
||||
# Click-Once directory
|
||||
publish/
|
||||
|
||||
# Publish Web Output
|
||||
*.[Pp]ublish.xml
|
||||
*.azurePubxml
|
||||
# TODO: Comment the next line if you want to checkin your web deploy settings
|
||||
# but database connection strings (with potential passwords) will be unencrypted
|
||||
*.pubxml
|
||||
*.publishproj
|
||||
|
||||
# NuGet Packages
|
||||
*.nupkg
|
||||
# The packages folder can be ignored because of Package Restore
|
||||
**/packages/*
|
||||
# except build/, which is used as an MSBuild target.
|
||||
!**/packages/build/
|
||||
# Uncomment if necessary however generally it will be regenerated when needed
|
||||
#!**/packages/repositories.config
|
||||
# NuGet v3's project.json files produces more ignoreable files
|
||||
*.nuget.props
|
||||
*.nuget.targets
|
||||
|
||||
# Microsoft Azure Build Output
|
||||
csx/
|
||||
*.build.csdef
|
||||
|
||||
# Microsoft Azure Emulator
|
||||
ecf/
|
||||
rcf/
|
||||
|
||||
# Microsoft Azure ApplicationInsights config file
|
||||
ApplicationInsights.config
|
||||
|
||||
# Windows Store app package directory
|
||||
AppPackages/
|
||||
BundleArtifacts/
|
||||
|
||||
# Visual Studio cache files
|
||||
# files ending in .cache can be ignored
|
||||
*.[Cc]ache
|
||||
# but keep track of directories ending in .cache
|
||||
!*.[Cc]ache/
|
||||
|
||||
# Others
|
||||
ClientBin/
|
||||
~$*
|
||||
*~
|
||||
*.dbmdl
|
||||
*.dbproj.schemaview
|
||||
*.pfx
|
||||
*.publishsettings
|
||||
node_modules/
|
||||
orleans.codegen.cs
|
||||
|
||||
# RIA/Silverlight projects
|
||||
Generated_Code/
|
||||
|
||||
# Backup & report files from converting an old project file
|
||||
# to a newer Visual Studio version. Backup files are not needed,
|
||||
# because we have git ;-)
|
||||
_UpgradeReport_Files/
|
||||
Backup*/
|
||||
UpgradeLog*.XML
|
||||
UpgradeLog*.htm
|
||||
|
||||
# SQL Server files
|
||||
*.mdf
|
||||
*.ldf
|
||||
|
||||
# Business Intelligence projects
|
||||
*.rdl.data
|
||||
*.bim.layout
|
||||
*.bim_*.settings
|
||||
|
||||
# Microsoft Fakes
|
||||
FakesAssemblies/
|
||||
|
||||
# GhostDoc plugin setting file
|
||||
*.GhostDoc.xml
|
||||
|
||||
# Node.js Tools for Visual Studio
|
||||
.ntvs_analysis.dat
|
||||
|
||||
# Visual Studio 6 build log
|
||||
*.plg
|
||||
|
||||
# Visual Studio 6 workspace options file
|
||||
*.opt
|
||||
|
||||
# Visual Studio LightSwitch build output
|
||||
**/*.HTMLClient/GeneratedArtifacts
|
||||
**/*.DesktopClient/GeneratedArtifacts
|
||||
**/*.DesktopClient/ModelManifest.xml
|
||||
**/*.Server/GeneratedArtifacts
|
||||
**/*.Server/ModelManifest.xml
|
||||
_Pvt_Extensions
|
||||
|
||||
# Paket dependency manager
|
||||
.paket/paket.exe
|
||||
|
||||
# FAKE - F# Make
|
||||
.fake/
|
||||
/viz/ts/build
|
||||
/build
|
||||
*.map
|
||||
.pkg/ggplot.zip
|
||||
.pkg/Darwinism.zip
|
|
@ -1,3 +0,0 @@
|
|||
[submodule "viz/ts/TsLinq"]
|
||||
path = viz/ts/TsLinq
|
||||
url = https://github.com/GCModeller-Cloud/data.ts.git
|
|
@ -1,10 +0,0 @@
|
|||
@echo off
|
||||
|
||||
SET drive=%~d0
|
||||
SET R_HOME=%drive%/GCModeller\src\R-sharp\App\net6.0
|
||||
SET pkg=./Darwinism.zip
|
||||
|
||||
%R_HOME%/Rscript.exe --build /src ../ /save %pkg% --skip-src-build
|
||||
%R_HOME%/R#.exe --install.packages %pkg%
|
||||
|
||||
pause
|
|
@ -1,13 +0,0 @@
|
|||
@echo off
|
||||
|
||||
SET drive=%~d0
|
||||
SET mzkit_renv=%drive%/mzkit/dist/bin
|
||||
SET Rscript="%mzkit_renv%/Rscript.exe"
|
||||
SET REnv="%mzkit_renv%/R#.exe"
|
||||
|
||||
SET mzkit_pkg=%drive%/mzkit/src/mzkit/setup/Darwinism.zip
|
||||
|
||||
%Rscript% --build /src ../ /save %mzkit_pkg%
|
||||
%REnv% --install.packages %mzkit_pkg%
|
||||
|
||||
pause
|
|
@ -1,3 +0,0 @@
|
|||
{
|
||||
"r.lsp.promptToInstall": false
|
||||
}
|
|
@ -1,30 +0,0 @@
|
|||
// export R# package module type define for javascript/typescript language
|
||||
//
|
||||
// imports "CDF" from "Darwinism";
|
||||
//
|
||||
// ref=Darwinism.CDF@Darwinism, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
declare namespace CDF {
|
||||
/**
|
||||
* open a connection to the netcdf file
|
||||
*
|
||||
*
|
||||
* @param file -
|
||||
* @return the file stream id
|
||||
*/
|
||||
function open(file: string): object;
|
||||
/**
|
||||
* get variable data from given file
|
||||
*
|
||||
*
|
||||
* @param nc -
|
||||
* @param name -
|
||||
*/
|
||||
function var_data(nc: object, name: string): any;
|
||||
/**
|
||||
*/
|
||||
function vars(nc: object): string;
|
||||
}
|
|
@ -1,22 +0,0 @@
|
|||
// export R# package module type define for javascript/typescript language
|
||||
//
|
||||
// imports "Environment" from "Darwinism";
|
||||
//
|
||||
// ref=Darwinism.Env@Darwinism, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
|
||||
|
||||
/**
|
||||
* the IPC parallel environment
|
||||
*
|
||||
*/
|
||||
declare namespace Environment {
|
||||
/**
|
||||
*/
|
||||
function set_libpath(libpath: string): object;
|
||||
/**
|
||||
* set the parallel batch threads
|
||||
*
|
||||
*
|
||||
* @param n_threads -
|
||||
*/
|
||||
function set_threads(n_threads: object): object;
|
||||
}
|
|
@ -1,38 +0,0 @@
|
|||
// export R# package module type define for javascript/typescript language
|
||||
//
|
||||
// imports "Math" from "Darwinism";
|
||||
//
|
||||
// ref=Darwinism.Math@Darwinism, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
|
||||
|
||||
/**
|
||||
* darwinism IPC parallel math
|
||||
*
|
||||
*/
|
||||
declare namespace Math {
|
||||
/**
|
||||
* measure the average distance for the given dataset
|
||||
*
|
||||
*
|
||||
* @param x -
|
||||
* @param env -
|
||||
*
|
||||
* + default value Is ``null``.
|
||||
*/
|
||||
function average_distance(x: any, env?: object): number;
|
||||
/**
|
||||
*
|
||||
* > this function only supports the cosine similarity score function.
|
||||
*
|
||||
* @param x -
|
||||
* @param k -
|
||||
*
|
||||
* + default value Is ``16``.
|
||||
* @param cutoff -
|
||||
*
|
||||
* + default value Is ``0.8``.
|
||||
* @param env -
|
||||
*
|
||||
* + default value Is ``null``.
|
||||
*/
|
||||
function knn(x: any, k?: object, cutoff?: number, env?: object): object;
|
||||
}
|
|
@ -1,47 +0,0 @@
|
|||
// export R# package module type define for javascript/typescript language
|
||||
//
|
||||
// imports "bash" from "Darwinism";
|
||||
//
|
||||
// ref=Darwinism.Bash@Darwinism, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
|
||||
|
||||
/**
|
||||
* An automation pipeline toolkit build for cloud computing
|
||||
*
|
||||
* > working on windows for connect remote linux server via putty
|
||||
*/
|
||||
declare namespace bash {
|
||||
/**
|
||||
* Execute a command on remote linux server session.
|
||||
*
|
||||
*
|
||||
* @param ssh remote linux ssh session
|
||||
* @param command -
|
||||
* @param arguments -
|
||||
*
|
||||
* + default value Is ``null``.
|
||||
*/
|
||||
function exec(ssh: object, command: string, arguments?: string): string;
|
||||
/**
|
||||
* Run a script on remote linux server session.
|
||||
*
|
||||
*
|
||||
* @param ssh remote linux ssh session
|
||||
* @param script -
|
||||
*/
|
||||
function run(ssh: object, script: string): string;
|
||||
/**
|
||||
* Create a new remote linux ssh session
|
||||
*
|
||||
*
|
||||
* @param endpoint
|
||||
* + default value Is ``'127.0.0.1'``.
|
||||
* @param port
|
||||
* + default value Is ``22``.
|
||||
* @param plink -
|
||||
*
|
||||
* + default value Is ``'plink'``.
|
||||
* @param debug
|
||||
* + default value Is ``false``.
|
||||
*/
|
||||
function ssh(user: string, password: string, endpoint?: string, port?: object, plink?: string, debug?: boolean): object;
|
||||
}
|
|
@ -1,27 +0,0 @@
|
|||
// export R# package module type define for javascript/typescript language
|
||||
//
|
||||
// imports "centos" from "Darwinism";
|
||||
//
|
||||
// ref=Darwinism.CentosTools@Darwinism, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
|
||||
|
||||
/**
|
||||
*
|
||||
* > this module only works on linux system
|
||||
*/
|
||||
declare namespace centos {
|
||||
/**
|
||||
* check command is existsed on linux system or not?
|
||||
*
|
||||
*
|
||||
* @param command -
|
||||
* @param env
|
||||
* + default value Is ``null``.
|
||||
*/
|
||||
function check_command_exists(command: string, env?: object): boolean;
|
||||
/**
|
||||
* @param x default value Is ``'-tulnp'``.
|
||||
* @param verbose default value Is ``false``.
|
||||
* @param env default value Is ``null``.
|
||||
*/
|
||||
function netstat(x?: string, verbose?: boolean, env?: object): any;
|
||||
}
|
|
@ -1,52 +0,0 @@
|
|||
// export R# package module type define for javascript/typescript language
|
||||
//
|
||||
// imports "docker" from "Darwinism";
|
||||
//
|
||||
// ref=Darwinism.DockerTools@Darwinism, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
|
||||
|
||||
/**
|
||||
* Docker commands
|
||||
*
|
||||
*/
|
||||
declare namespace docker {
|
||||
/**
|
||||
* List containers
|
||||
*
|
||||
*
|
||||
*/
|
||||
function ps(): object;
|
||||
/**
|
||||
* delete docker images and related containers
|
||||
*
|
||||
*
|
||||
*/
|
||||
function rmImage(imageId: string): boolean;
|
||||
/**
|
||||
* Run a command in a new container.(这个函数会捕捉到命令的标准输出然后以字符串的形式返回)
|
||||
*
|
||||
* > 这个方法能够自定义的参数比较有限,如果需要更加复杂的使用方法,可以使用@``T:Darwinism.Docker.Environment``对象
|
||||
*
|
||||
* @param command -
|
||||
* @param workdir
|
||||
* + default value Is ``null``.
|
||||
* @param mounts
|
||||
* + default value Is ``null``.
|
||||
* @param portForward
|
||||
* + default value Is ``null``.
|
||||
*/
|
||||
function run(container: object, command: string, workdir?: string, mounts?: object, portForward?: object): string;
|
||||
/**
|
||||
* Search the Docker Hub for images
|
||||
*
|
||||
*
|
||||
* @param term -
|
||||
*/
|
||||
function search(term: string): object;
|
||||
/**
|
||||
* Stop one or more running containers
|
||||
*
|
||||
*
|
||||
* @param containers -
|
||||
*/
|
||||
function stop(containers: string): ;
|
||||
}
|
|
@ -1,20 +0,0 @@
|
|||
// export R# source type define for javascript/typescript language
|
||||
//
|
||||
// package_source=Darwinism
|
||||
|
||||
declare namespace Darwinism {
|
||||
module _ {
|
||||
/**
|
||||
*/
|
||||
function onLoad(): object;
|
||||
}
|
||||
/**
|
||||
*/
|
||||
function ___check_netstat(): object;
|
||||
/**
|
||||
*/
|
||||
function ___config_runtime_env(): object;
|
||||
/**
|
||||
*/
|
||||
function no_netstat_warning(): object;
|
||||
}
|
11
DESCRIPTION
|
@ -1,11 +0,0 @@
|
|||
Package: Darwinism
|
||||
Type: Package
|
||||
Title: Create Elegant Data Visualisations Using the Grammar of Graphics
|
||||
Version: 1.0.0.1254
|
||||
Date: 2021-01-25
|
||||
Author: xieguigang
|
||||
Maintainer: xieguigang <gg.xie@bionovogene.com>
|
||||
Description: A R language ggplot2 package liked grammar of
|
||||
graphics library for R# language programming.
|
||||
License: MIT
|
||||
RoxygenNote: 7.1.1
|
|
@ -1,22 +0,0 @@
|
|||
Version: 1.0
|
||||
|
||||
RestoreWorkspace: Yes
|
||||
SaveWorkspace: Ask
|
||||
AlwaysSaveHistory: Yes
|
||||
|
||||
EnableCodeIndexing: Yes
|
||||
UseSpacesForTab: Yes
|
||||
NumSpacesForTab: 2
|
||||
Encoding: UTF-8
|
||||
|
||||
RnwWeave: Sweave
|
||||
LaTeX: pdfLaTeX
|
||||
|
||||
AutoAppendNewline: Yes
|
||||
StripTrailingWhitespace: Yes
|
||||
LineEndingConversion: Posix
|
||||
|
||||
BuildType: Package
|
||||
PackageUseDevtools: Yes
|
||||
PackageInstallArgs: --no-multiarch --with-keep.source
|
||||
PackageRoxygenize: rd,collate,vignette
|
1580
Darwinism.sln
674
LICENSE
|
@ -1,674 +0,0 @@
|
|||
GNU GENERAL PUBLIC LICENSE
|
||||
Version 3, 29 June 2007
|
||||
|
||||
Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
|
||||
Everyone is permitted to copy and distribute verbatim copies
|
||||
of this license document, but changing it is not allowed.
|
||||
|
||||
Preamble
|
||||
|
||||
The GNU General Public License is a free, copyleft license for
|
||||
software and other kinds of works.
|
||||
|
||||
The licenses for most software and other practical works are designed
|
||||
to take away your freedom to share and change the works. By contrast,
|
||||
the GNU General Public License is intended to guarantee your freedom to
|
||||
share and change all versions of a program--to make sure it remains free
|
||||
software for all its users. We, the Free Software Foundation, use the
|
||||
GNU General Public License for most of our software; it applies also to
|
||||
any other work released this way by its authors. You can apply it to
|
||||
your programs, too.
|
||||
|
||||
When we speak of free software, we are referring to freedom, not
|
||||
price. Our General Public Licenses are designed to make sure that you
|
||||
have the freedom to distribute copies of free software (and charge for
|
||||
them if you wish), that you receive source code or can get it if you
|
||||
want it, that you can change the software or use pieces of it in new
|
||||
free programs, and that you know you can do these things.
|
||||
|
||||
To protect your rights, we need to prevent others from denying you
|
||||
these rights or asking you to surrender the rights. Therefore, you have
|
||||
certain responsibilities if you distribute copies of the software, or if
|
||||
you modify it: responsibilities to respect the freedom of others.
|
||||
|
||||
For example, if you distribute copies of such a program, whether
|
||||
gratis or for a fee, you must pass on to the recipients the same
|
||||
freedoms that you received. You must make sure that they, too, receive
|
||||
or can get the source code. And you must show them these terms so they
|
||||
know their rights.
|
||||
|
||||
Developers that use the GNU GPL protect your rights with two steps:
|
||||
(1) assert copyright on the software, and (2) offer you this License
|
||||
giving you legal permission to copy, distribute and/or modify it.
|
||||
|
||||
For the developers' and authors' protection, the GPL clearly explains
|
||||
that there is no warranty for this free software. For both users' and
|
||||
authors' sake, the GPL requires that modified versions be marked as
|
||||
changed, so that their problems will not be attributed erroneously to
|
||||
authors of previous versions.
|
||||
|
||||
Some devices are designed to deny users access to install or run
|
||||
modified versions of the software inside them, although the manufacturer
|
||||
can do so. This is fundamentally incompatible with the aim of
|
||||
protecting users' freedom to change the software. The systematic
|
||||
pattern of such abuse occurs in the area of products for individuals to
|
||||
use, which is precisely where it is most unacceptable. Therefore, we
|
||||
have designed this version of the GPL to prohibit the practice for those
|
||||
products. If such problems arise substantially in other domains, we
|
||||
stand ready to extend this provision to those domains in future versions
|
||||
of the GPL, as needed to protect the freedom of users.
|
||||
|
||||
Finally, every program is threatened constantly by software patents.
|
||||
States should not allow patents to restrict development and use of
|
||||
software on general-purpose computers, but in those that do, we wish to
|
||||
avoid the special danger that patents applied to a free program could
|
||||
make it effectively proprietary. To prevent this, the GPL assures that
|
||||
patents cannot be used to render the program non-free.
|
||||
|
||||
The precise terms and conditions for copying, distribution and
|
||||
modification follow.
|
||||
|
||||
TERMS AND CONDITIONS
|
||||
|
||||
0. Definitions.
|
||||
|
||||
"This License" refers to version 3 of the GNU General Public License.
|
||||
|
||||
"Copyright" also means copyright-like laws that apply to other kinds of
|
||||
works, such as semiconductor masks.
|
||||
|
||||
"The Program" refers to any copyrightable work licensed under this
|
||||
License. Each licensee is addressed as "you". "Licensees" and
|
||||
"recipients" may be individuals or organizations.
|
||||
|
||||
To "modify" a work means to copy from or adapt all or part of the work
|
||||
in a fashion requiring copyright permission, other than the making of an
|
||||
exact copy. The resulting work is called a "modified version" of the
|
||||
earlier work or a work "based on" the earlier work.
|
||||
|
||||
A "covered work" means either the unmodified Program or a work based
|
||||
on the Program.
|
||||
|
||||
To "propagate" a work means to do anything with it that, without
|
||||
permission, would make you directly or secondarily liable for
|
||||
infringement under applicable copyright law, except executing it on a
|
||||
computer or modifying a private copy. Propagation includes copying,
|
||||
distribution (with or without modification), making available to the
|
||||
public, and in some countries other activities as well.
|
||||
|
||||
To "convey" a work means any kind of propagation that enables other
|
||||
parties to make or receive copies. Mere interaction with a user through
|
||||
a computer network, with no transfer of a copy, is not conveying.
|
||||
|
||||
An interactive user interface displays "Appropriate Legal Notices"
|
||||
to the extent that it includes a convenient and prominently visible
|
||||
feature that (1) displays an appropriate copyright notice, and (2)
|
||||
tells the user that there is no warranty for the work (except to the
|
||||
extent that warranties are provided), that licensees may convey the
|
||||
work under this License, and how to view a copy of this License. If
|
||||
the interface presents a list of user commands or options, such as a
|
||||
menu, a prominent item in the list meets this criterion.
|
||||
|
||||
1. Source Code.
|
||||
|
||||
The "source code" for a work means the preferred form of the work
|
||||
for making modifications to it. "Object code" means any non-source
|
||||
form of a work.
|
||||
|
||||
A "Standard Interface" means an interface that either is an official
|
||||
standard defined by a recognized standards body, or, in the case of
|
||||
interfaces specified for a particular programming language, one that
|
||||
is widely used among developers working in that language.
|
||||
|
||||
The "System Libraries" of an executable work include anything, other
|
||||
than the work as a whole, that (a) is included in the normal form of
|
||||
packaging a Major Component, but which is not part of that Major
|
||||
Component, and (b) serves only to enable use of the work with that
|
||||
Major Component, or to implement a Standard Interface for which an
|
||||
implementation is available to the public in source code form. A
|
||||
"Major Component", in this context, means a major essential component
|
||||
(kernel, window system, and so on) of the specific operating system
|
||||
(if any) on which the executable work runs, or a compiler used to
|
||||
produce the work, or an object code interpreter used to run it.
|
||||
|
||||
The "Corresponding Source" for a work in object code form means all
|
||||
the source code needed to generate, install, and (for an executable
|
||||
work) run the object code and to modify the work, including scripts to
|
||||
control those activities. However, it does not include the work's
|
||||
System Libraries, or general-purpose tools or generally available free
|
||||
programs which are used unmodified in performing those activities but
|
||||
which are not part of the work. For example, Corresponding Source
|
||||
includes interface definition files associated with source files for
|
||||
the work, and the source code for shared libraries and dynamically
|
||||
linked subprograms that the work is specifically designed to require,
|
||||
such as by intimate data communication or control flow between those
|
||||
subprograms and other parts of the work.
|
||||
|
||||
The Corresponding Source need not include anything that users
|
||||
can regenerate automatically from other parts of the Corresponding
|
||||
Source.
|
||||
|
||||
The Corresponding Source for a work in source code form is that
|
||||
same work.
|
||||
|
||||
2. Basic Permissions.
|
||||
|
||||
All rights granted under this License are granted for the term of
|
||||
copyright on the Program, and are irrevocable provided the stated
|
||||
conditions are met. This License explicitly affirms your unlimited
|
||||
permission to run the unmodified Program. The output from running a
|
||||
covered work is covered by this License only if the output, given its
|
||||
content, constitutes a covered work. This License acknowledges your
|
||||
rights of fair use or other equivalent, as provided by copyright law.
|
||||
|
||||
You may make, run and propagate covered works that you do not
|
||||
convey, without conditions so long as your license otherwise remains
|
||||
in force. You may convey covered works to others for the sole purpose
|
||||
of having them make modifications exclusively for you, or provide you
|
||||
with facilities for running those works, provided that you comply with
|
||||
the terms of this License in conveying all material for which you do
|
||||
not control copyright. Those thus making or running the covered works
|
||||
for you must do so exclusively on your behalf, under your direction
|
||||
and control, on terms that prohibit them from making any copies of
|
||||
your copyrighted material outside their relationship with you.
|
||||
|
||||
Conveying under any other circumstances is permitted solely under
|
||||
the conditions stated below. Sublicensing is not allowed; section 10
|
||||
makes it unnecessary.
|
||||
|
||||
3. Protecting Users' Legal Rights From Anti-Circumvention Law.
|
||||
|
||||
No covered work shall be deemed part of an effective technological
|
||||
measure under any applicable law fulfilling obligations under article
|
||||
11 of the WIPO copyright treaty adopted on 20 December 1996, or
|
||||
similar laws prohibiting or restricting circumvention of such
|
||||
measures.
|
||||
|
||||
When you convey a covered work, you waive any legal power to forbid
|
||||
circumvention of technological measures to the extent such circumvention
|
||||
is effected by exercising rights under this License with respect to
|
||||
the covered work, and you disclaim any intention to limit operation or
|
||||
modification of the work as a means of enforcing, against the work's
|
||||
users, your or third parties' legal rights to forbid circumvention of
|
||||
technological measures.
|
||||
|
||||
4. Conveying Verbatim Copies.
|
||||
|
||||
You may convey verbatim copies of the Program's source code as you
|
||||
receive it, in any medium, provided that you conspicuously and
|
||||
appropriately publish on each copy an appropriate copyright notice;
|
||||
keep intact all notices stating that this License and any
|
||||
non-permissive terms added in accord with section 7 apply to the code;
|
||||
keep intact all notices of the absence of any warranty; and give all
|
||||
recipients a copy of this License along with the Program.
|
||||
|
||||
You may charge any price or no price for each copy that you convey,
|
||||
and you may offer support or warranty protection for a fee.
|
||||
|
||||
5. Conveying Modified Source Versions.
|
||||
|
||||
You may convey a work based on the Program, or the modifications to
|
||||
produce it from the Program, in the form of source code under the
|
||||
terms of section 4, provided that you also meet all of these conditions:
|
||||
|
||||
a) The work must carry prominent notices stating that you modified
|
||||
it, and giving a relevant date.
|
||||
|
||||
b) The work must carry prominent notices stating that it is
|
||||
released under this License and any conditions added under section
|
||||
7. This requirement modifies the requirement in section 4 to
|
||||
"keep intact all notices".
|
||||
|
||||
c) You must license the entire work, as a whole, under this
|
||||
License to anyone who comes into possession of a copy. This
|
||||
License will therefore apply, along with any applicable section 7
|
||||
additional terms, to the whole of the work, and all its parts,
|
||||
regardless of how they are packaged. This License gives no
|
||||
permission to license the work in any other way, but it does not
|
||||
invalidate such permission if you have separately received it.
|
||||
|
||||
d) If the work has interactive user interfaces, each must display
|
||||
Appropriate Legal Notices; however, if the Program has interactive
|
||||
interfaces that do not display Appropriate Legal Notices, your
|
||||
work need not make them do so.
|
||||
|
||||
A compilation of a covered work with other separate and independent
|
||||
works, which are not by their nature extensions of the covered work,
|
||||
and which are not combined with it such as to form a larger program,
|
||||
in or on a volume of a storage or distribution medium, is called an
|
||||
"aggregate" if the compilation and its resulting copyright are not
|
||||
used to limit the access or legal rights of the compilation's users
|
||||
beyond what the individual works permit. Inclusion of a covered work
|
||||
in an aggregate does not cause this License to apply to the other
|
||||
parts of the aggregate.
|
||||
|
||||
6. Conveying Non-Source Forms.
|
||||
|
||||
You may convey a covered work in object code form under the terms
|
||||
of sections 4 and 5, provided that you also convey the
|
||||
machine-readable Corresponding Source under the terms of this License,
|
||||
in one of these ways:
|
||||
|
||||
a) Convey the object code in, or embodied in, a physical product
|
||||
(including a physical distribution medium), accompanied by the
|
||||
Corresponding Source fixed on a durable physical medium
|
||||
customarily used for software interchange.
|
||||
|
||||
b) Convey the object code in, or embodied in, a physical product
|
||||
(including a physical distribution medium), accompanied by a
|
||||
written offer, valid for at least three years and valid for as
|
||||
long as you offer spare parts or customer support for that product
|
||||
model, to give anyone who possesses the object code either (1) a
|
||||
copy of the Corresponding Source for all the software in the
|
||||
product that is covered by this License, on a durable physical
|
||||
medium customarily used for software interchange, for a price no
|
||||
more than your reasonable cost of physically performing this
|
||||
conveying of source, or (2) access to copy the
|
||||
Corresponding Source from a network server at no charge.
|
||||
|
||||
c) Convey individual copies of the object code with a copy of the
|
||||
written offer to provide the Corresponding Source. This
|
||||
alternative is allowed only occasionally and noncommercially, and
|
||||
only if you received the object code with such an offer, in accord
|
||||
with subsection 6b.
|
||||
|
||||
d) Convey the object code by offering access from a designated
|
||||
place (gratis or for a charge), and offer equivalent access to the
|
||||
Corresponding Source in the same way through the same place at no
|
||||
further charge. You need not require recipients to copy the
|
||||
Corresponding Source along with the object code. If the place to
|
||||
copy the object code is a network server, the Corresponding Source
|
||||
may be on a different server (operated by you or a third party)
|
||||
that supports equivalent copying facilities, provided you maintain
|
||||
clear directions next to the object code saying where to find the
|
||||
Corresponding Source. Regardless of what server hosts the
|
||||
Corresponding Source, you remain obligated to ensure that it is
|
||||
available for as long as needed to satisfy these requirements.
|
||||
|
||||
e) Convey the object code using peer-to-peer transmission, provided
|
||||
you inform other peers where the object code and Corresponding
|
||||
Source of the work are being offered to the general public at no
|
||||
charge under subsection 6d.
|
||||
|
||||
A separable portion of the object code, whose source code is excluded
|
||||
from the Corresponding Source as a System Library, need not be
|
||||
included in conveying the object code work.
|
||||
|
||||
A "User Product" is either (1) a "consumer product", which means any
|
||||
tangible personal property which is normally used for personal, family,
|
||||
or household purposes, or (2) anything designed or sold for incorporation
|
||||
into a dwelling. In determining whether a product is a consumer product,
|
||||
doubtful cases shall be resolved in favor of coverage. For a particular
|
||||
product received by a particular user, "normally used" refers to a
|
||||
typical or common use of that class of product, regardless of the status
|
||||
of the particular user or of the way in which the particular user
|
||||
actually uses, or expects or is expected to use, the product. A product
|
||||
is a consumer product regardless of whether the product has substantial
|
||||
commercial, industrial or non-consumer uses, unless such uses represent
|
||||
the only significant mode of use of the product.
|
||||
|
||||
"Installation Information" for a User Product means any methods,
|
||||
procedures, authorization keys, or other information required to install
|
||||
and execute modified versions of a covered work in that User Product from
|
||||
a modified version of its Corresponding Source. The information must
|
||||
suffice to ensure that the continued functioning of the modified object
|
||||
code is in no case prevented or interfered with solely because
|
||||
modification has been made.
|
||||
|
||||
If you convey an object code work under this section in, or with, or
|
||||
specifically for use in, a User Product, and the conveying occurs as
|
||||
part of a transaction in which the right of possession and use of the
|
||||
User Product is transferred to the recipient in perpetuity or for a
|
||||
fixed term (regardless of how the transaction is characterized), the
|
||||
Corresponding Source conveyed under this section must be accompanied
|
||||
by the Installation Information. But this requirement does not apply
|
||||
if neither you nor any third party retains the ability to install
|
||||
modified object code on the User Product (for example, the work has
|
||||
been installed in ROM).
|
||||
|
||||
The requirement to provide Installation Information does not include a
|
||||
requirement to continue to provide support service, warranty, or updates
|
||||
for a work that has been modified or installed by the recipient, or for
|
||||
the User Product in which it has been modified or installed. Access to a
|
||||
network may be denied when the modification itself materially and
|
||||
adversely affects the operation of the network or violates the rules and
|
||||
protocols for communication across the network.
|
||||
|
||||
Corresponding Source conveyed, and Installation Information provided,
|
||||
in accord with this section must be in a format that is publicly
|
||||
documented (and with an implementation available to the public in
|
||||
source code form), and must require no special password or key for
|
||||
unpacking, reading or copying.
|
||||
|
||||
7. Additional Terms.
|
||||
|
||||
"Additional permissions" are terms that supplement the terms of this
|
||||
License by making exceptions from one or more of its conditions.
|
||||
Additional permissions that are applicable to the entire Program shall
|
||||
be treated as though they were included in this License, to the extent
|
||||
that they are valid under applicable law. If additional permissions
|
||||
apply only to part of the Program, that part may be used separately
|
||||
under those permissions, but the entire Program remains governed by
|
||||
this License without regard to the additional permissions.
|
||||
|
||||
When you convey a copy of a covered work, you may at your option
|
||||
remove any additional permissions from that copy, or from any part of
|
||||
it. (Additional permissions may be written to require their own
|
||||
removal in certain cases when you modify the work.) You may place
|
||||
additional permissions on material, added by you to a covered work,
|
||||
for which you have or can give appropriate copyright permission.
|
||||
|
||||
Notwithstanding any other provision of this License, for material you
|
||||
add to a covered work, you may (if authorized by the copyright holders of
|
||||
that material) supplement the terms of this License with terms:
|
||||
|
||||
a) Disclaiming warranty or limiting liability differently from the
|
||||
terms of sections 15 and 16 of this License; or
|
||||
|
||||
b) Requiring preservation of specified reasonable legal notices or
|
||||
author attributions in that material or in the Appropriate Legal
|
||||
Notices displayed by works containing it; or
|
||||
|
||||
c) Prohibiting misrepresentation of the origin of that material, or
|
||||
requiring that modified versions of such material be marked in
|
||||
reasonable ways as different from the original version; or
|
||||
|
||||
d) Limiting the use for publicity purposes of names of licensors or
|
||||
authors of the material; or
|
||||
|
||||
e) Declining to grant rights under trademark law for use of some
|
||||
trade names, trademarks, or service marks; or
|
||||
|
||||
f) Requiring indemnification of licensors and authors of that
|
||||
material by anyone who conveys the material (or modified versions of
|
||||
it) with contractual assumptions of liability to the recipient, for
|
||||
any liability that these contractual assumptions directly impose on
|
||||
those licensors and authors.
|
||||
|
||||
All other non-permissive additional terms are considered "further
|
||||
restrictions" within the meaning of section 10. If the Program as you
|
||||
received it, or any part of it, contains a notice stating that it is
|
||||
governed by this License along with a term that is a further
|
||||
restriction, you may remove that term. If a license document contains
|
||||
a further restriction but permits relicensing or conveying under this
|
||||
License, you may add to a covered work material governed by the terms
|
||||
of that license document, provided that the further restriction does
|
||||
not survive such relicensing or conveying.
|
||||
|
||||
If you add terms to a covered work in accord with this section, you
|
||||
must place, in the relevant source files, a statement of the
|
||||
additional terms that apply to those files, or a notice indicating
|
||||
where to find the applicable terms.
|
||||
|
||||
Additional terms, permissive or non-permissive, may be stated in the
|
||||
form of a separately written license, or stated as exceptions;
|
||||
the above requirements apply either way.
|
||||
|
||||
8. Termination.
|
||||
|
||||
You may not propagate or modify a covered work except as expressly
|
||||
provided under this License. Any attempt otherwise to propagate or
|
||||
modify it is void, and will automatically terminate your rights under
|
||||
this License (including any patent licenses granted under the third
|
||||
paragraph of section 11).
|
||||
|
||||
However, if you cease all violation of this License, then your
|
||||
license from a particular copyright holder is reinstated (a)
|
||||
provisionally, unless and until the copyright holder explicitly and
|
||||
finally terminates your license, and (b) permanently, if the copyright
|
||||
holder fails to notify you of the violation by some reasonable means
|
||||
prior to 60 days after the cessation.
|
||||
|
||||
Moreover, your license from a particular copyright holder is
|
||||
reinstated permanently if the copyright holder notifies you of the
|
||||
violation by some reasonable means, this is the first time you have
|
||||
received notice of violation of this License (for any work) from that
|
||||
copyright holder, and you cure the violation prior to 30 days after
|
||||
your receipt of the notice.
|
||||
|
||||
Termination of your rights under this section does not terminate the
|
||||
licenses of parties who have received copies or rights from you under
|
||||
this License. If your rights have been terminated and not permanently
|
||||
reinstated, you do not qualify to receive new licenses for the same
|
||||
material under section 10.
|
||||
|
||||
9. Acceptance Not Required for Having Copies.
|
||||
|
||||
You are not required to accept this License in order to receive or
|
||||
run a copy of the Program. Ancillary propagation of a covered work
|
||||
occurring solely as a consequence of using peer-to-peer transmission
|
||||
to receive a copy likewise does not require acceptance. However,
|
||||
nothing other than this License grants you permission to propagate or
|
||||
modify any covered work. These actions infringe copyright if you do
|
||||
not accept this License. Therefore, by modifying or propagating a
|
||||
covered work, you indicate your acceptance of this License to do so.
|
||||
|
||||
10. Automatic Licensing of Downstream Recipients.
|
||||
|
||||
Each time you convey a covered work, the recipient automatically
|
||||
receives a license from the original licensors, to run, modify and
|
||||
propagate that work, subject to this License. You are not responsible
|
||||
for enforcing compliance by third parties with this License.
|
||||
|
||||
An "entity transaction" is a transaction transferring control of an
|
||||
organization, or substantially all assets of one, or subdividing an
|
||||
organization, or merging organizations. If propagation of a covered
|
||||
work results from an entity transaction, each party to that
|
||||
transaction who receives a copy of the work also receives whatever
|
||||
licenses to the work the party's predecessor in interest had or could
|
||||
give under the previous paragraph, plus a right to possession of the
|
||||
Corresponding Source of the work from the predecessor in interest, if
|
||||
the predecessor has it or can get it with reasonable efforts.
|
||||
|
||||
You may not impose any further restrictions on the exercise of the
|
||||
rights granted or affirmed under this License. For example, you may
|
||||
not impose a license fee, royalty, or other charge for exercise of
|
||||
rights granted under this License, and you may not initiate litigation
|
||||
(including a cross-claim or counterclaim in a lawsuit) alleging that
|
||||
any patent claim is infringed by making, using, selling, offering for
|
||||
sale, or importing the Program or any portion of it.
|
||||
|
||||
11. Patents.
|
||||
|
||||
A "contributor" is a copyright holder who authorizes use under this
|
||||
License of the Program or a work on which the Program is based. The
|
||||
work thus licensed is called the contributor's "contributor version".
|
||||
|
||||
A contributor's "essential patent claims" are all patent claims
|
||||
owned or controlled by the contributor, whether already acquired or
|
||||
hereafter acquired, that would be infringed by some manner, permitted
|
||||
by this License, of making, using, or selling its contributor version,
|
||||
but do not include claims that would be infringed only as a
|
||||
consequence of further modification of the contributor version. For
|
||||
purposes of this definition, "control" includes the right to grant
|
||||
patent sublicenses in a manner consistent with the requirements of
|
||||
this License.
|
||||
|
||||
Each contributor grants you a non-exclusive, worldwide, royalty-free
|
||||
patent license under the contributor's essential patent claims, to
|
||||
make, use, sell, offer for sale, import and otherwise run, modify and
|
||||
propagate the contents of its contributor version.
|
||||
|
||||
In the following three paragraphs, a "patent license" is any express
|
||||
agreement or commitment, however denominated, not to enforce a patent
|
||||
(such as an express permission to practice a patent or covenant not to
|
||||
sue for patent infringement). To "grant" such a patent license to a
|
||||
party means to make such an agreement or commitment not to enforce a
|
||||
patent against the party.
|
||||
|
||||
If you convey a covered work, knowingly relying on a patent license,
|
||||
and the Corresponding Source of the work is not available for anyone
|
||||
to copy, free of charge and under the terms of this License, through a
|
||||
publicly available network server or other readily accessible means,
|
||||
then you must either (1) cause the Corresponding Source to be so
|
||||
available, or (2) arrange to deprive yourself of the benefit of the
|
||||
patent license for this particular work, or (3) arrange, in a manner
|
||||
consistent with the requirements of this License, to extend the patent
|
||||
license to downstream recipients. "Knowingly relying" means you have
|
||||
actual knowledge that, but for the patent license, your conveying the
|
||||
covered work in a country, or your recipient's use of the covered work
|
||||
in a country, would infringe one or more identifiable patents in that
|
||||
country that you have reason to believe are valid.
|
||||
|
||||
If, pursuant to or in connection with a single transaction or
|
||||
arrangement, you convey, or propagate by procuring conveyance of, a
|
||||
covered work, and grant a patent license to some of the parties
|
||||
receiving the covered work authorizing them to use, propagate, modify
|
||||
or convey a specific copy of the covered work, then the patent license
|
||||
you grant is automatically extended to all recipients of the covered
|
||||
work and works based on it.
|
||||
|
||||
A patent license is "discriminatory" if it does not include within
|
||||
the scope of its coverage, prohibits the exercise of, or is
|
||||
conditioned on the non-exercise of one or more of the rights that are
|
||||
specifically granted under this License. You may not convey a covered
|
||||
work if you are a party to an arrangement with a third party that is
|
||||
in the business of distributing software, under which you make payment
|
||||
to the third party based on the extent of your activity of conveying
|
||||
the work, and under which the third party grants, to any of the
|
||||
parties who would receive the covered work from you, a discriminatory
|
||||
patent license (a) in connection with copies of the covered work
|
||||
conveyed by you (or copies made from those copies), or (b) primarily
|
||||
for and in connection with specific products or compilations that
|
||||
contain the covered work, unless you entered into that arrangement,
|
||||
or that patent license was granted, prior to 28 March 2007.
|
||||
|
||||
Nothing in this License shall be construed as excluding or limiting
|
||||
any implied license or other defenses to infringement that may
|
||||
otherwise be available to you under applicable patent law.
|
||||
|
||||
12. No Surrender of Others' Freedom.
|
||||
|
||||
If conditions are imposed on you (whether by court order, agreement or
|
||||
otherwise) that contradict the conditions of this License, they do not
|
||||
excuse you from the conditions of this License. If you cannot convey a
|
||||
covered work so as to satisfy simultaneously your obligations under this
|
||||
License and any other pertinent obligations, then as a consequence you may
|
||||
not convey it at all. For example, if you agree to terms that obligate you
|
||||
to collect a royalty for further conveying from those to whom you convey
|
||||
the Program, the only way you could satisfy both those terms and this
|
||||
License would be to refrain entirely from conveying the Program.
|
||||
|
||||
13. Use with the GNU Affero General Public License.
|
||||
|
||||
Notwithstanding any other provision of this License, you have
|
||||
permission to link or combine any covered work with a work licensed
|
||||
under version 3 of the GNU Affero General Public License into a single
|
||||
combined work, and to convey the resulting work. The terms of this
|
||||
License will continue to apply to the part which is the covered work,
|
||||
but the special requirements of the GNU Affero General Public License,
|
||||
section 13, concerning interaction through a network will apply to the
|
||||
combination as such.
|
||||
|
||||
14. Revised Versions of this License.
|
||||
|
||||
The Free Software Foundation may publish revised and/or new versions of
|
||||
the GNU General Public License from time to time. Such new versions will
|
||||
be similar in spirit to the present version, but may differ in detail to
|
||||
address new problems or concerns.
|
||||
|
||||
Each version is given a distinguishing version number. If the
|
||||
Program specifies that a certain numbered version of the GNU General
|
||||
Public License "or any later version" applies to it, you have the
|
||||
option of following the terms and conditions either of that numbered
|
||||
version or of any later version published by the Free Software
|
||||
Foundation. If the Program does not specify a version number of the
|
||||
GNU General Public License, you may choose any version ever published
|
||||
by the Free Software Foundation.
|
||||
|
||||
If the Program specifies that a proxy can decide which future
|
||||
versions of the GNU General Public License can be used, that proxy's
|
||||
public statement of acceptance of a version permanently authorizes you
|
||||
to choose that version for the Program.
|
||||
|
||||
Later license versions may give you additional or different
|
||||
permissions. However, no additional obligations are imposed on any
|
||||
author or copyright holder as a result of your choosing to follow a
|
||||
later version.
|
||||
|
||||
15. Disclaimer of Warranty.
|
||||
|
||||
THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
|
||||
APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
|
||||
HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
|
||||
OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
|
||||
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
|
||||
PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
|
||||
IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
|
||||
ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
|
||||
|
||||
16. Limitation of Liability.
|
||||
|
||||
IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
|
||||
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
|
||||
THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
|
||||
GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
|
||||
USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
|
||||
DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
|
||||
PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
|
||||
EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
|
||||
SUCH DAMAGES.
|
||||
|
||||
17. Interpretation of Sections 15 and 16.
|
||||
|
||||
If the disclaimer of warranty and limitation of liability provided
|
||||
above cannot be given local legal effect according to their terms,
|
||||
reviewing courts shall apply local law that most closely approximates
|
||||
an absolute waiver of all civil liability in connection with the
|
||||
Program, unless a warranty or assumption of liability accompanies a
|
||||
copy of the Program in return for a fee.
|
||||
|
||||
END OF TERMS AND CONDITIONS
|
||||
|
||||
How to Apply These Terms to Your New Programs
|
||||
|
||||
If you develop a new program, and you want it to be of the greatest
|
||||
possible use to the public, the best way to achieve this is to make it
|
||||
free software which everyone can redistribute and change under these terms.
|
||||
|
||||
To do so, attach the following notices to the program. It is safest
|
||||
to attach them to the start of each source file to most effectively
|
||||
state the exclusion of warranty; and each file should have at least
|
||||
the "copyright" line and a pointer to where the full notice is found.
|
||||
|
||||
{one line to give the program's name and a brief idea of what it does.}
|
||||
Copyright (C) {year} {name of author}
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation, either version 3 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
Also add information on how to contact you by electronic and paper mail.
|
||||
|
||||
If the program does terminal interaction, make it output a short
|
||||
notice like this when it starts in an interactive mode:
|
||||
|
||||
{project} Copyright (C) {year} {fullname}
|
||||
This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
|
||||
This is free software, and you are welcome to redistribute it
|
||||
under certain conditions; type `show c' for details.
|
||||
|
||||
The hypothetical commands `show w' and `show c' should show the appropriate
|
||||
parts of the General Public License. Of course, your program's commands
|
||||
might be different; for a GUI interface, you would use an "about box".
|
||||
|
||||
You should also get your employer (if you work as a programmer) or school,
|
||||
if any, to sign a "copyright disclaimer" for the program, if necessary.
|
||||
For more information on this, and how to apply and follow the GNU GPL, see
|
||||
<http://www.gnu.org/licenses/>.
|
||||
|
||||
The GNU General Public License does not permit incorporating your program
|
||||
into proprietary programs. If your program is a subroutine library, you
|
||||
may consider it more useful to permit linking proprietary applications with
|
||||
the library. If this is what you want to do, use the GNU Lesser General
|
||||
Public License instead of this License. But first, please read
|
||||
<http://www.gnu.org/philosophy/why-not-lgpl.html>.
|
33
R/env.R
|
@ -1,33 +0,0 @@
|
|||
|
||||
#' Configs of the default parallel runtime environment
|
||||
#'
|
||||
const ___config_runtime_env = function() {
|
||||
Environment::set_threads(32);
|
||||
Environment::set_libpath(@HOME);
|
||||
}
|
||||
|
||||
#' Check of netstat tool is installed or not
|
||||
#'
|
||||
#' @details this function only works for linux platform
|
||||
#'
|
||||
const ___check_netstat = function() {
|
||||
if ((Sys.info()[['sysname']]) != "Win32NT") {
|
||||
if (!centos::check_command_exists("netstat")) {
|
||||
no_netstat_warning();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#' show warning message about missing ``netstat`` command
|
||||
#'
|
||||
const no_netstat_warning = function() {
|
||||
let message = [
|
||||
"warning: no `netstat` command could be found on your linux system, ipc parallel may be run into a network error!",
|
||||
"please consider install the command at first and then run the computing task again: sudo yum install net-tools"
|
||||
];
|
||||
|
||||
print(message);
|
||||
warning(message);
|
||||
|
||||
invisible(NULL);
|
||||
}
|
|
@ -1,4 +0,0 @@
|
|||
imports "Math" from "Darwinism";
|
||||
imports "Environment" from "Darwinism";
|
||||
|
||||
imports ["centos", "docker"] from "Darwinism";
|
4
R/zzz.R
|
@ -1,4 +0,0 @@
|
|||
const .onLoad = function() {
|
||||
___config_runtime_env();
|
||||
___check_netstat();
|
||||
}
|
41
README.md
|
@ -1,41 +0,0 @@
|
|||
# Darwinism
|
||||
|
||||
Darwinism High performance computing toolkit for VisualBasic.NET on unix .net 5
|
||||
|
||||
# [snowFall](https://github.com/SMRUCC/R-sharp/tree/21da4976865217233def41fcbf11bbccb1f84096/snowFall) R# package
|
||||
|
||||
By combining of the Darwinism Parallel library and the R# [snowFall](https://github.com/SMRUCC/R-sharp/tree/21da4976865217233def41fcbf11bbccb1f84096/snowFall) package, that you can solve a large scale scientific problem in full power on the UNIX .NET 5 platform
|
||||
|
||||

|
||||
|
||||
> the network tool ``netstat`` is required for the tcp port allocation when running on unix environment, you can use the ``yum`` command for install this ``netstat`` tool:
|
||||
>
|
||||
|
||||
```bash
|
||||
sudo yum install net-tools
|
||||
```
|
||||
|
||||
## [LINQ Script](LINQ/LINQ)
|
||||
|
||||
```vbnet
|
||||
FROM x AS row
|
||||
IN "E:\GCModeller\src\runtime\Darwinism\LINQ\test\data.csv"
|
||||
WHERE x.PeakQuality >= 0.999
|
||||
SELECT x.LipidIon,
|
||||
lipidName = x.Class & x.FattyAcid,
|
||||
x.Class,
|
||||
x.FattyAcid,
|
||||
x.Ion,
|
||||
x.Formula,
|
||||
x.PeakQuality,
|
||||
x."m-Score"
|
||||
|
||||
SKIP 100
|
||||
ORDER BY pow("m-Score", PeakQuality) DESCENDING
|
||||
TAKE 15
|
||||
```
|
||||
|
||||

|
||||
|
||||
|
||||
View packahe [help documents](vignettes/index.html).
|
|
@ -1 +0,0 @@
|
|||
theme: jekyll-theme-cayman
|
Before Width: | Height: | Size: 444 KiB |
Before Width: | Height: | Size: 67 KiB |
Before Width: | Height: | Size: 58 KiB |
|
@ -1 +0,0 @@
|
|||

|
Before Width: | Height: | Size: 62 KiB |
Before Width: | Height: | Size: 68 KiB |
Before Width: | Height: | Size: 58 KiB |
Before Width: | Height: | Size: 2.0 MiB |
Before Width: | Height: | Size: 60 KiB |
Before Width: | Height: | Size: 138 KiB |
After Width: | Height: | Size: 285 B |
After Width: | Height: | Size: 5.9 KiB |
After Width: | Height: | Size: 339 B |
After Width: | Height: | Size: 218 B |
After Width: | Height: | Size: 337 B |
|
@ -0,0 +1,98 @@
|
|||
<!doctype html>
|
||||
<!-- The Time Machine GitHub pages theme was designed and developed by Jon Rohan, on Feb 7, 2012. -->
|
||||
<!-- Follow him for fun. http://twitter.com/jonrohan. Tail his code on https://github.com/jonrohan -->
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
|
||||
|
||||
<link rel="stylesheet" href="stylesheets/stylesheet.css" media="screen">
|
||||
<link rel="stylesheet" href="stylesheets/github-dark.css">
|
||||
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
|
||||
<script type="text/javascript" src="javascripts/script.js"></script>
|
||||
|
||||
<title>Microsoft.VisualBasic.Parallel</title>
|
||||
<meta name="description" content="Parallel library of SMRUCC GCModeller">
|
||||
|
||||
<meta name="viewport" content="width=device-width,initial-scale=1">
|
||||
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<div class="wrapper">
|
||||
<header>
|
||||
<h1 class="title">Microsoft.VisualBasic.Parallel</h1>
|
||||
</header>
|
||||
<div id="container">
|
||||
<p class="tagline">Parallel library of SMRUCC GCModeller</p>
|
||||
<div id="main" role="main">
|
||||
<div class="download-bar">
|
||||
<div class="inner">
|
||||
<a href="https://github.com/xieguigang/Microsoft.VisualBasic.Parallel/tarball/master" class="download-button tar"><span>Download</span></a>
|
||||
<a href="https://github.com/xieguigang/Microsoft.VisualBasic.Parallel/zipball/master" class="download-button zip"><span>Download</span></a>
|
||||
<a href="https://github.com/xieguigang/Microsoft.VisualBasic.Parallel" class="code">View Microsoft.VisualBasic.Parallel on GitHub</a>
|
||||
</div>
|
||||
<span class="blc"></span><span class="trc"></span>
|
||||
</div>
|
||||
<article class="markdown-body">
|
||||
<h3>
|
||||
<a id="welcome-to-github-pages" class="anchor" href="#welcome-to-github-pages" aria-hidden="true"><span aria-hidden="true" class="octicon octicon-link"></span></a>Welcome to GitHub Pages.</h3>
|
||||
|
||||
<p>This automatic page generator is the easiest way to create beautiful pages for all of your projects. Author your page content here <a href="https://guides.github.com/features/mastering-markdown/">using GitHub Flavored Markdown</a>, select a template crafted by a designer, and publish. After your page is generated, you can check out the new <code>gh-pages</code> branch locally. If you’re using GitHub Desktop, simply sync your repository and you’ll see the new branch.</p>
|
||||
|
||||
<h3>
|
||||
<a id="designer-templates" class="anchor" href="#designer-templates" aria-hidden="true"><span aria-hidden="true" class="octicon octicon-link"></span></a>Designer Templates</h3>
|
||||
|
||||
<p>We’ve crafted some handsome templates for you to use. Go ahead and click 'Continue to layouts' to browse through them. You can easily go back to edit your page before publishing. After publishing your page, you can revisit the page generator and switch to another theme. Your Page content will be preserved.</p>
|
||||
|
||||
<h3>
|
||||
<a id="creating-pages-manually" class="anchor" href="#creating-pages-manually" aria-hidden="true"><span aria-hidden="true" class="octicon octicon-link"></span></a>Creating pages manually</h3>
|
||||
<h4>RQL(Repository Query Language)</h4>
|
||||
|
||||
<p>
|
||||
This project includes a object-oriented data source query language (RQL), which is based on the Microsoft Linq data source query techonogy.
|
||||
RQL usage example:<br />
|
||||
|
||||
<pre><code class="visualbasic">Imports GCModeller.RQL
|
||||
|
||||
var result = From prot As protein in "http://Linq.GCModeller.org/kegg/ssdb/xcb" Where prot->length < 300 Select prot
|
||||
</code>
|
||||
</pre>
|
||||
</p>
|
||||
|
||||
|
||||
<p>If you prefer to not use the automatic generator, push a branch named <code>gh-pages</code> to your repository to create a page manually. In addition to supporting regular HTML content, GitHub Pages support Jekyll, a simple, blog aware static site generator. Jekyll makes it easy to create site-wide headers and footers without having to copy them across every page. It also offers intelligent blog support and other advanced templating features.</p>
|
||||
|
||||
<h3>
|
||||
<a id="authors-and-contributors" class="anchor" href="#authors-and-contributors" aria-hidden="true"><span aria-hidden="true" class="octicon octicon-link"></span></a>Authors and Contributors</h3>
|
||||
|
||||
<p>You can <a href="https://help.github.com/articles/basic-writing-and-formatting-syntax/#mentioning-users-and-teams" class="user-mention">@mention</a> a GitHub username to generate a link to their profile. The resulting <code><a></code> element will link to the contributor’s GitHub Profile. For example: In 2007, Chris Wanstrath (<a href="https://github.com/defunkt" class="user-mention">@defunkt</a>), PJ Hyett (<a href="https://github.com/pjhyett" class="user-mention">@pjhyett</a>), and Tom Preston-Werner (<a href="https://github.com/mojombo" class="user-mention">@mojombo</a>) founded GitHub.</p>
|
||||
|
||||
<h3>
|
||||
<a id="support-or-contact" class="anchor" href="#support-or-contact" aria-hidden="true"><span aria-hidden="true" class="octicon octicon-link"></span></a>Support or Contact</h3>
|
||||
|
||||
<p>Having trouble with Pages? Check out our <a href="https://help.github.com/pages">documentation</a> or <a href="https://github.com/contact">contact support</a> and we’ll help you sort it out.</p>
|
||||
</article>
|
||||
</div>
|
||||
</div>
|
||||
<footer>
|
||||
<div class="owner">
|
||||
<p><a href="https://github.com/xieguigang" class="avatar"><img src="https://avatars0.githubusercontent.com/u/9410171?v=3&s=60" width="48" height="48"></a> <a href="https://github.com/xieguigang">xieguigang</a> maintains <a href="https://github.com/xieguigang/Microsoft.VisualBasic.Parallel">Microsoft.VisualBasic.Parallel</a></p>
|
||||
|
||||
|
||||
</div>
|
||||
<div class="creds">
|
||||
<small>This page generated using <a href="https://pages.github.com/">GitHub Pages</a><br>theme by <a href="https://twitter.com/jonrohan/">Jon Rohan</a></small>
|
||||
</div>
|
||||
</footer>
|
||||
</div>
|
||||
<div class="current-section">
|
||||
<a href="#top">Scroll to top</a>
|
||||
<a href="https://github.com/xieguigang/Microsoft.VisualBasic.Parallel/tarball/master" class="tar">tar</a><a href="https://github.com/xieguigang/Microsoft.VisualBasic.Parallel/zipball/master" class="zip">zip</a><a href="" class="code">source code</a>
|
||||
<p class="name"></p>
|
||||
</div>
|
||||
|
||||
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,52 @@
|
|||
(function($) {
|
||||
$(document).ready(function(){
|
||||
|
||||
// putting lines by the pre blocks
|
||||
$("pre").each(function(){
|
||||
var pre = $(this).text().split("\n");
|
||||
var lines = new Array(pre.length+1);
|
||||
for(var i = 0; i < pre.length; i++) {
|
||||
var wrap = Math.floor(pre[i].split("").length / 70)
|
||||
if (pre[i]==""&&i==pre.length-1) {
|
||||
lines.splice(i, 1);
|
||||
} else {
|
||||
lines[i] = i+1;
|
||||
for(var j = 0; j < wrap; j++) {
|
||||
lines[i] += "\n";
|
||||
}
|
||||
}
|
||||
}
|
||||
$(this).before("<pre class='lines'>" + lines.join("\n") + "</pre>");
|
||||
});
|
||||
|
||||
var headings = [];
|
||||
|
||||
var collectHeaders = function(){
|
||||
headings.push({"top":$(this).offset().top - 15,"text":$(this).text()});
|
||||
}
|
||||
|
||||
if($(".markdown-body h1").length > 1) $(".markdown-body h1").each(collectHeaders)
|
||||
else if($(".markdown-body h2").length > 1) $(".markdown-body h2").each(collectHeaders)
|
||||
else if($(".markdown-body h3").length > 1) $(".markdown-body h3").each(collectHeaders)
|
||||
|
||||
$(window).scroll(function(){
|
||||
if(headings.length==0) return true;
|
||||
var scrolltop = $(window).scrollTop() || 0;
|
||||
if(headings[0] && scrolltop < headings[0].top) {
|
||||
$(".current-section").css({"opacity":0,"visibility":"hidden"});
|
||||
return false;
|
||||
}
|
||||
$(".current-section").css({"opacity":1,"visibility":"visible"});
|
||||
for(var i in headings) {
|
||||
if(scrolltop >= headings[i].top) {
|
||||
$(".current-section .name").text(headings[i].text);
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
$(".current-section a").click(function(){
|
||||
$(window).scrollTop(0);
|
||||
return false;
|
||||
})
|
||||
});
|
||||
})(jQuery)
|
|
@ -1,11 +0,0 @@
|
|||
.TH .ONLOAD 1 2024-Feb "" ".onLoad"
|
||||
.SH NAME
|
||||
.onLoad \- .onLoad()
|
||||
.SH SYNOPSIS
|
||||
\fI.onLoad()\fR
|
||||
.SH FILES
|
||||
.PP
|
||||
SMRUCC/R#.declare_function..onLoad at zzz.R:line 1
|
||||
.PP
|
||||
.SH COPYRIGHT
|
||||
Copyright © xieguigang, MIT Licensed 2024
|
|
@ -1,7 +0,0 @@
|
|||
# CDF
|
||||
|
||||
|
||||
|
||||
+ [open](CDF/open.1) open a connection to the netcdf file
|
||||
+ [vars](CDF/vars.1)
|
||||
+ [var_data](CDF/var_data.1) get variable data from given file
|
|
@ -1,24 +0,0 @@
|
|||
.\" man page create by R# package system.
|
||||
.TH CDF 1 2000-Jan "open" "open"
|
||||
.SH NAME
|
||||
open \- open a connection to the netcdf file
|
||||
.SH SYNOPSIS
|
||||
\fIopen(\fBfile\fR as string);\fR
|
||||
.SH DESCRIPTION
|
||||
.PP
|
||||
open a connection to the netcdf file
|
||||
.PP
|
||||
.SH OPTIONS
|
||||
.PP
|
||||
\fBfile\fB \fR\- -.
|
||||
.PP
|
||||
.SH VALUE
|
||||
.PP
|
||||
the file stream id
|
||||
.PP
|
||||
.SH SEE ALSO
|
||||
CDF
|
||||
.SH FILES
|
||||
.PP
|
||||
Darwinism.dll
|
||||
.PP
|
|
@ -1,24 +0,0 @@
|
|||
.\" man page create by R# package system.
|
||||
.TH CDF 1 2000-Jan "var_data" "var_data"
|
||||
.SH NAME
|
||||
var_data \- get variable data from given file
|
||||
.SH SYNOPSIS
|
||||
\fIvar_data(\fBnc\fR as <generic> DataReader,
|
||||
\fBname\fR as string);\fR
|
||||
.SH DESCRIPTION
|
||||
.PP
|
||||
get variable data from given file
|
||||
.PP
|
||||
.SH OPTIONS
|
||||
.PP
|
||||
\fBnc\fB \fR\- -.
|
||||
.PP
|
||||
.PP
|
||||
\fBname\fB \fR\- -.
|
||||
.PP
|
||||
.SH SEE ALSO
|
||||
CDF
|
||||
.SH FILES
|
||||
.PP
|
||||
Darwinism.dll
|
||||
.PP
|
|
@ -1,12 +0,0 @@
|
|||
.\" man page create by R# package system.
|
||||
.TH CDF 1 2000-Jan "vars" "vars"
|
||||
.SH NAME
|
||||
vars \-
|
||||
.SH SYNOPSIS
|
||||
\fIvars(\fBnc\fR as <generic> DataReader);\fR
|
||||
.SH SEE ALSO
|
||||
CDF
|
||||
.SH FILES
|
||||
.PP
|
||||
Darwinism.dll
|
||||
.PP
|
|
@ -1,6 +0,0 @@
|
|||
# Environment
|
||||
|
||||
the IPC parallel environment
|
||||
|
||||
+ [set_threads](Environment/set_threads.1) set the parallel batch threads
|
||||
+ [set_libpath](Environment/set_libpath.1)
|
|
@ -1,12 +0,0 @@
|
|||
.\" man page create by R# package system.
|
||||
.TH ENVIRONMENT 1 2000-Jan "set_libpath" "set_libpath"
|
||||
.SH NAME
|
||||
set_libpath \-
|
||||
.SH SYNOPSIS
|
||||
\fIset_libpath(\fBlibpath\fR as string);\fR
|
||||
.SH SEE ALSO
|
||||
Environment
|
||||
.SH FILES
|
||||
.PP
|
||||
Darwinism.dll
|
||||
.PP
|
|
@ -1,20 +0,0 @@
|
|||
.\" man page create by R# package system.
|
||||
.TH ENVIRONMENT 1 2000-Jan "set_threads" "set_threads"
|
||||
.SH NAME
|
||||
set_threads \- set the parallel batch threads
|
||||
.SH SYNOPSIS
|
||||
\fIset_threads(\fBn_threads\fR as integer);\fR
|
||||
.SH DESCRIPTION
|
||||
.PP
|
||||
set the parallel batch threads
|
||||
.PP
|
||||
.SH OPTIONS
|
||||
.PP
|
||||
\fBn_threads\fB \fR\- -.
|
||||
.PP
|
||||
.SH SEE ALSO
|
||||
Environment
|
||||
.SH FILES
|
||||
.PP
|
||||
Darwinism.dll
|
||||
.PP
|
|
@ -1,6 +0,0 @@
|
|||
# Math
|
||||
|
||||
darwinism IPC parallel math
|
||||
|
||||
+ [average_distance](Math/average_distance.1) measure the average distance for the given dataset
|
||||
+ [knn](Math/knn.1)
|
|
@ -1,24 +0,0 @@
|
|||
.\" man page create by R# package system.
|
||||
.TH MATH 1 2000-Jan "average_distance" "average_distance"
|
||||
.SH NAME
|
||||
average_distance \- measure the average distance for the given dataset
|
||||
.SH SYNOPSIS
|
||||
\fIaverage_distance(\fBx\fR as any,
|
||||
[\fB<Environment>\fR]);\fR
|
||||
.SH DESCRIPTION
|
||||
.PP
|
||||
measure the average distance for the given dataset
|
||||
.PP
|
||||
.SH OPTIONS
|
||||
.PP
|
||||
\fBx\fB \fR\- -.
|
||||
.PP
|
||||
.PP
|
||||
\fBenv\fB \fR\- -.
|
||||
.PP
|
||||
.SH SEE ALSO
|
||||
Math
|
||||
.SH FILES
|
||||
.PP
|
||||
Darwinism.dll
|
||||
.PP
|
|
@ -1,32 +0,0 @@
|
|||
.\" man page create by R# package system.
|
||||
.TH MATH 1 2000-Jan "knn" "knn"
|
||||
.SH NAME
|
||||
knn \-
|
||||
.SH SYNOPSIS
|
||||
\fIknn(\fBx\fR as any,
|
||||
\fBk\fR as integer = 16,
|
||||
\fBcutoff\fR as double = 0.8,
|
||||
[\fB<Environment>\fR]);\fR
|
||||
.SH OPTIONS
|
||||
.PP
|
||||
\fBx\fB \fR\- -.
|
||||
.PP
|
||||
.PP
|
||||
\fBk\fB \fR\- -.
|
||||
.PP
|
||||
.PP
|
||||
\fBcutoff\fB \fR\- -.
|
||||
.PP
|
||||
.PP
|
||||
\fBenv\fB \fR\- -.
|
||||
.PP
|
||||
.SH DETAILS
|
||||
.PP
|
||||
this function only supports the cosine similarity score function.
|
||||
.PP
|
||||
.SH SEE ALSO
|
||||
Math
|
||||
.SH FILES
|
||||
.PP
|
||||
Darwinism.dll
|
||||
.PP
|
|
@ -1,8 +0,0 @@
|
|||
# bash
|
||||
|
||||
An automation pipeline toolkit build for cloud computing
|
||||
> working on windows for connect remote linux server via putty
|
||||
|
||||
+ [ssh](bash/ssh.1) Create a new remote linux ssh session
|
||||
+ [run](bash/run.1) Run a script on remote linux server session.
|
||||
+ [exec](bash/exec.1) Execute a command on remote linux server session.
|
|
@ -1,28 +0,0 @@
|
|||
.\" man page create by R# package system.
|
||||
.TH BASH 4 2000-Jan "exec" "exec"
|
||||
.SH NAME
|
||||
exec \- Execute a command on remote linux server session.
|
||||
.SH SYNOPSIS
|
||||
\fIexec(\fBssh\fR as <generic> PuTTY,
|
||||
\fBcommand\fR as string,
|
||||
\fBarguments\fR as string = \fB<NULL>\fR);\fR
|
||||
.SH DESCRIPTION
|
||||
.PP
|
||||
Execute a command on remote linux server session.
|
||||
.PP
|
||||
.SH OPTIONS
|
||||
.PP
|
||||
\fBssh\fB \fR\- remote linux ssh session.
|
||||
.PP
|
||||
.PP
|
||||
\fBcommand\fB \fR\- -.
|
||||
.PP
|
||||
.PP
|
||||
\fBarguments\fB \fR\- -.
|
||||
.PP
|
||||
.SH SEE ALSO
|
||||
bash
|
||||
.SH FILES
|
||||
.PP
|
||||
Darwinism.dll
|
||||
.PP
|
|
@ -1,24 +0,0 @@
|
|||
.\" man page create by R# package system.
|
||||
.TH BASH 4 2000-Jan "run" "run"
|
||||
.SH NAME
|
||||
run \- Run a script on remote linux server session.
|
||||
.SH SYNOPSIS
|
||||
\fIrun(\fBssh\fR as <generic> PuTTY,
|
||||
\fBscript\fR as string);\fR
|
||||
.SH DESCRIPTION
|
||||
.PP
|
||||
Run a script on remote linux server session.
|
||||
.PP
|
||||
.SH OPTIONS
|
||||
.PP
|
||||
\fBssh\fB \fR\- remote linux ssh session.
|
||||
.PP
|
||||
.PP
|
||||
\fBscript\fB \fR\- -.
|
||||
.PP
|
||||
.SH SEE ALSO
|
||||
bash
|
||||
.SH FILES
|
||||
.PP
|
||||
Darwinism.dll
|
||||
.PP
|
|
@ -1,37 +0,0 @@
|
|||
.\" man page create by R# package system.
|
||||
.TH BASH 4 2000-Jan "ssh" "ssh"
|
||||
.SH NAME
|
||||
ssh \- Create a new remote linux ssh session
|
||||
.SH SYNOPSIS
|
||||
\fIssh(\fBuser\fR as string,
|
||||
\fBpassword\fR as string,
|
||||
\fBendpoint\fR as string = "127.0.0.1",
|
||||
\fBport\fR as integer = 22,
|
||||
\fBplink\fR as string = "plink",
|
||||
\fBdebug\fR as boolean = FALSE);\fR
|
||||
.SH DESCRIPTION
|
||||
.PP
|
||||
Create a new remote linux ssh session
|
||||
.PP
|
||||
.SH OPTIONS
|
||||
.PP
|
||||
\fBuser$\fB \fR\- -.
|
||||
.PP
|
||||
.PP
|
||||
\fBpassword$\fB \fR\- -.
|
||||
.PP
|
||||
.PP
|
||||
\fBendpoint$\fB \fR\- -.
|
||||
.PP
|
||||
.PP
|
||||
\fBport%\fB \fR\- -.
|
||||
.PP
|
||||
.PP
|
||||
\fBplink\fB \fR\- -.
|
||||
.PP
|
||||
.SH SEE ALSO
|
||||
bash
|
||||
.SH FILES
|
||||
.PP
|
||||
Darwinism.dll
|
||||
.PP
|
|
@ -1,7 +0,0 @@
|
|||
# centos
|
||||
|
||||
|
||||
> this module only works on linux system
|
||||
|
||||
+ [check_command_exists](centos/check_command_exists.1) check command is existsed on linux system or not?
|
||||
+ [netstat](centos/netstat.1)
|
|
@ -1,21 +0,0 @@
|
|||
.\" man page create by R# package system.
|
||||
.TH CENTOS 1 2000-Jan "check_command_exists" "check_command_exists"
|
||||
.SH NAME
|
||||
check_command_exists \- check command is existsed on linux system or not?
|
||||
.SH SYNOPSIS
|
||||
\fIcheck_command_exists(\fBcommand\fR as string,
|
||||
[\fB<Environment>\fR]);\fR
|
||||
.SH DESCRIPTION
|
||||
.PP
|
||||
check command is existsed on linux system or not?
|
||||
.PP
|
||||
.SH OPTIONS
|
||||
.PP
|
||||
\fBcommand\fB \fR\- -.
|
||||
.PP
|
||||
.SH SEE ALSO
|
||||
centos
|
||||
.SH FILES
|
||||
.PP
|
||||
Darwinism.dll
|
||||
.PP
|
|
@ -1,14 +0,0 @@
|
|||
.\" man page create by R# package system.
|
||||
.TH CENTOS 1 2000-Jan "netstat" "netstat"
|
||||
.SH NAME
|
||||
netstat \-
|
||||
.SH SYNOPSIS
|
||||
\fInetstat(\fBx\fR as string = "-tulnp",
|
||||
\fBverbose\fR as boolean = FALSE,
|
||||
[\fB<Environment>\fR]);\fR
|
||||
.SH SEE ALSO
|
||||
centos
|
||||
.SH FILES
|
||||
.PP
|
||||
Darwinism.dll
|
||||
.PP
|
|
@ -1,9 +0,0 @@
|
|||
# docker
|
||||
|
||||
Docker commands
|
||||
|
||||
+ [search](docker/search.1) Search the Docker Hub for images
|
||||
+ [ps](docker/ps.1) List containers
|
||||
+ [stop](docker/stop.1) Stop one or more running containers
|
||||
+ [run](docker/run.1) Run a command in a new container.(这个函数会捕捉到命令的标准输出然后以字符串的形式返回)
|
||||
+ [rmImage](docker/rmImage.1) delete docker images and related containers
|
|
@ -1,18 +0,0 @@
|
|||
.\" man page create by R# package system.
|
||||
.TH DOCKER 1 2000-Jan "ps" "ps"
|
||||
.SH NAME
|
||||
ps \- List containers
|
||||
.SH SYNOPSIS
|
||||
\fIps();\fR
|
||||
.SH DESCRIPTION
|
||||
.PP
|
||||
List containers
|
||||
.PP
|
||||
.SH SEE ALSO
|
||||
docker
|
||||
.SH FILES
|
||||
.PP
|
||||
Darwinism.dll
|
||||
.PP
|
||||
.SH AUTHOR
|
||||
Written by \fBxie.guigang@live.com\fR
|
|
@ -1,18 +0,0 @@
|
|||
.\" man page create by R# package system.
|
||||
.TH DOCKER 1 2000-Jan "rmImage" "rmImage"
|
||||
.SH NAME
|
||||
rmImage \- delete docker images and related containers
|
||||
.SH SYNOPSIS
|
||||
\fIrmImage(\fBimageId\fR as string);\fR
|
||||
.SH DESCRIPTION
|
||||
.PP
|
||||
delete docker images and related containers
|
||||
.PP
|
||||
.SH SEE ALSO
|
||||
docker
|
||||
.SH FILES
|
||||
.PP
|
||||
Darwinism.dll
|
||||
.PP
|
||||
.SH AUTHOR
|
||||
Written by \fBxie.guigang@live.com\fR
|
|
@ -1,30 +0,0 @@
|
|||
.\" man page create by R# package system.
|
||||
.TH DOCKER 1 2000-Jan "run" "run"
|
||||
.SH NAME
|
||||
run \- Run a command in a new container.(这个函数会捕捉到命令的标准输出然后以字符串的形式返回)
|
||||
.SH SYNOPSIS
|
||||
\fIrun(\fBcontainer\fR as <generic> Image,
|
||||
\fBcommand\fR as string,
|
||||
\fBworkdir\fR as string = \fB<NULL>\fR,
|
||||
\fBmounts\fR as <generic> Mount[] = \fB<NULL>\fR,
|
||||
\fBportForward\fR as <generic> PortForward = \fB<NULL>\fR);\fR
|
||||
.SH DESCRIPTION
|
||||
.PP
|
||||
Run a command in a new container.(这个函数会捕捉到命令的标准输出然后以字符串的形式返回)
|
||||
.PP
|
||||
.SH OPTIONS
|
||||
.PP
|
||||
\fBcommand\fB \fR\- -.
|
||||
.PP
|
||||
.SH DETAILS
|
||||
.PP
|
||||
这个方法能够自定义的参数比较有限,如果需要更加复杂的使用方法,可以使用@\fBT:Darwinism.Docker.Environment\fR对象
|
||||
.PP
|
||||
.SH SEE ALSO
|
||||
docker
|
||||
.SH FILES
|
||||
.PP
|
||||
Darwinism.dll
|
||||
.PP
|
||||
.SH AUTHOR
|
||||
Written by \fBxie.guigang@live.com\fR
|
|
@ -1,22 +0,0 @@
|
|||
.\" man page create by R# package system.
|
||||
.TH DOCKER 1 2000-Jan "search" "search"
|
||||
.SH NAME
|
||||
search \- Search the Docker Hub for images
|
||||
.SH SYNOPSIS
|
||||
\fIsearch(\fBterm\fR as string);\fR
|
||||
.SH DESCRIPTION
|
||||
.PP
|
||||
Search the Docker Hub for images
|
||||
.PP
|
||||
.SH OPTIONS
|
||||
.PP
|
||||
\fBterm\fB \fR\- -.
|
||||
.PP
|
||||
.SH SEE ALSO
|
||||
docker
|
||||
.SH FILES
|
||||
.PP
|
||||
Darwinism.dll
|
||||
.PP
|
||||
.SH AUTHOR
|
||||
Written by \fBxie.guigang@live.com\fR
|
|
@ -1,22 +0,0 @@
|
|||
.\" man page create by R# package system.
|
||||
.TH DOCKER 1 2000-Jan "stop" "stop"
|
||||
.SH NAME
|
||||
stop \- Stop one or more running containers
|
||||
.SH SYNOPSIS
|
||||
\fIstop(\fBcontainers\fR as string);\fR
|
||||
.SH DESCRIPTION
|
||||
.PP
|
||||
Stop one or more running containers
|
||||
.PP
|
||||
.SH OPTIONS
|
||||
.PP
|
||||
\fBcontainers\fB \fR\- -.
|
||||
.PP
|
||||
.SH SEE ALSO
|
||||
docker
|
||||
.SH FILES
|
||||
.PP
|
||||
Darwinism.dll
|
||||
.PP
|
||||
.SH AUTHOR
|
||||
Written by \fBxie.guigang@live.com\fR
|
|
@ -1,15 +0,0 @@
|
|||
.TH ___CHECK_NETSTAT 1 2024-Feb "" "Check of netstat tool is installed or not"
|
||||
.SH NAME
|
||||
___check_netstat \- ___check_netstat()
|
||||
.SH SYNOPSIS
|
||||
\fI___check_netstat()\fR
|
||||
.SH DETAILS
|
||||
.PP
|
||||
this function only works for linux platform
|
||||
.PP
|
||||
.SH FILES
|
||||
.PP
|
||||
SMRUCC/R#.declare_function.___check_netstat at env.R:line 13
|
||||
.PP
|
||||
.SH COPYRIGHT
|
||||
Copyright © xieguigang, MIT Licensed 2024
|
|
@ -1,11 +0,0 @@
|
|||
.TH ___CONFIG_RUNTIME_ENV 1 2024-Feb "" "Configs of the default parallel runtime environment"
|
||||
.SH NAME
|
||||
___config_runtime_env \- ___config_runtime_env()
|
||||
.SH SYNOPSIS
|
||||
\fI___config_runtime_env()\fR
|
||||
.SH FILES
|
||||
.PP
|
||||
SMRUCC/R#.declare_function.___config_runtime_env at env.R:line 4
|
||||
.PP
|
||||
.SH COPYRIGHT
|
||||
Copyright © xieguigang, MIT Licensed 2024
|
|
@ -1 +0,0 @@
|
|||
{"___config_runtime_env":{"author":null,"declares":{"name":"___config_runtime_env","parameters":[],"sourceMap":{"File":"env.R","Line":"4","Method":{"Method":"___config_runtime_env","Module":"declare_function","Namespace":"SMRUCC\/R#"}}},"description":"","details":"","examples":null,"keywords":[],"parameters":[],"returns":null,"see_also":null,"title":"Configs of the default parallel runtime environment"},"___check_netstat":{"author":null,"declares":{"name":"___check_netstat","parameters":[],"sourceMap":{"File":"env.R","Line":"13","Method":{"Method":"___check_netstat","Module":"declare_function","Namespace":"SMRUCC\/R#"}}},"description":"","details":"this function only works for linux platform","examples":null,"keywords":[],"parameters":[],"returns":null,"see_also":null,"title":"Check of netstat tool is installed or not"},"no_netstat_warning":{"author":null,"declares":{"name":"no_netstat_warning","parameters":[],"sourceMap":{"File":"env.R","Line":"23","Method":{"Method":"no_netstat_warning","Module":"declare_function","Namespace":"SMRUCC\/R#"}}},"description":"","details":"","examples":null,"keywords":[],"parameters":[],"returns":null,"see_also":null,"title":"show warning message about missing ``netstat`` command"},".onLoad":{"author":null,"declares":{"name":".onLoad","parameters":[],"sourceMap":{"File":"zzz.R","Line":"1","Method":{"Method":".onLoad","Module":"declare_function","Namespace":"SMRUCC\/R#"}}},"description":null,"details":null,"examples":null,"keywords":null,"parameters":null,"returns":null,"see_also":null,"title":".onLoad"}}
|
|
@ -1,11 +0,0 @@
|
|||
.TH NO_NETSTAT_WARNING 1 2024-Feb "" "show warning message about missing ``netstat`` command"
|
||||
.SH NAME
|
||||
no_netstat_warning \- no_netstat_warning()
|
||||
.SH SYNOPSIS
|
||||
\fIno_netstat_warning()\fR
|
||||
.SH FILES
|
||||
.PP
|
||||
SMRUCC/R#.declare_function.no_netstat_warning at env.R:line 23
|
||||
.PP
|
||||
.SH COPYRIGHT
|
||||
Copyright © xieguigang, MIT Licensed 2024
|
|
@ -0,0 +1 @@
|
|||
{"name":"Microsoft.VisualBasic.Parallel","tagline":"Parallel library of SMRUCC GCModeller","body":"### Welcome to GitHub Pages.\r\nThis automatic page generator is the easiest way to create beautiful pages for all of your projects. Author your page content here [using GitHub Flavored Markdown](https://guides.github.com/features/mastering-markdown/), select a template crafted by a designer, and publish. After your page is generated, you can check out the new `gh-pages` branch locally. If you’re using GitHub Desktop, simply sync your repository and you’ll see the new branch.\r\n\r\n### Designer Templates\r\nWe’ve crafted some handsome templates for you to use. Go ahead and click 'Continue to layouts' to browse through them. You can easily go back to edit your page before publishing. After publishing your page, you can revisit the page generator and switch to another theme. Your Page content will be preserved.\r\n\r\n### Creating pages manually\r\nIf you prefer to not use the automatic generator, push a branch named `gh-pages` to your repository to create a page manually. In addition to supporting regular HTML content, GitHub Pages support Jekyll, a simple, blog aware static site generator. Jekyll makes it easy to create site-wide headers and footers without having to copy them across every page. It also offers intelligent blog support and other advanced templating features.\r\n\r\n### Authors and Contributors\r\nYou can @mention a GitHub username to generate a link to their profile. The resulting `<a>` element will link to the contributor’s GitHub Profile. For example: In 2007, Chris Wanstrath (@defunkt), PJ Hyett (@pjhyett), and Tom Preston-Werner (@mojombo) founded GitHub.\r\n\r\n### Support or Contact\r\nHaving trouble with Pages? Check out our [documentation](https://help.github.com/pages) or [contact support](https://github.com/contact) and we’ll help you sort it out.\r\n","google":"","note":"Don't delete this file! It's used internally to help with page regeneration."}
|
|
@ -1,206 +0,0 @@
|
|||
|
||||
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||
# Visual Studio Version 17
|
||||
VisualStudioVersion = 17.8.34408.163
|
||||
MinimumVisualStudioVersion = 10.0.40219.1
|
||||
Project("{778DAE3C-4631-46EA-AA77-85C1314464D9}") = "Centos.NET5", "Centos\Centos.NET5.vbproj", "{EE95B0C8-B8AE-4613-ADBC-AC3B27EE8211}"
|
||||
EndProject
|
||||
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "framework", "framework", "{54DB2A20-907C-4D6D-98F6-47F75BC7A90D}"
|
||||
EndProject
|
||||
Project("{778DAE3C-4631-46EA-AA77-85C1314464D9}") = "Core", "..\..\..\sciBASIC#\Microsoft.VisualBasic.Core\src\Core.vbproj", "{9291B390-F4B5-4143-A0CD-C16F227DA3BB}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
CFD_win32|Any CPU = CFD_win32|Any CPU
|
||||
CFD_win32|x64 = CFD_win32|x64
|
||||
CFD_win32|x86 = CFD_win32|x86
|
||||
Debug|Any CPU = Debug|Any CPU
|
||||
Debug|x64 = Debug|x64
|
||||
Debug|x86 = Debug|x86
|
||||
Docker|Any CPU = Docker|Any CPU
|
||||
Docker|x64 = Docker|x64
|
||||
Docker|x86 = Docker|x86
|
||||
gcmodeller_desktop|Any CPU = gcmodeller_desktop|Any CPU
|
||||
gcmodeller_desktop|x64 = gcmodeller_desktop|x64
|
||||
gcmodeller_desktop|x86 = gcmodeller_desktop|x86
|
||||
LipidSearch|Any CPU = LipidSearch|Any CPU
|
||||
LipidSearch|x64 = LipidSearch|x64
|
||||
LipidSearch|x86 = LipidSearch|x86
|
||||
mzkit_win32|Any CPU = mzkit_win32|Any CPU
|
||||
mzkit_win32|x64 = mzkit_win32|x64
|
||||
mzkit_win32|x86 = mzkit_win32|x86
|
||||
mzkit|Any CPU = mzkit|Any CPU
|
||||
mzkit|x64 = mzkit|x64
|
||||
mzkit|x86 = mzkit|x86
|
||||
NPSearch|Any CPU = NPSearch|Any CPU
|
||||
NPSearch|x64 = NPSearch|x64
|
||||
NPSearch|x86 = NPSearch|x86
|
||||
nuget_release|Any CPU = nuget_release|Any CPU
|
||||
nuget_release|x64 = nuget_release|x64
|
||||
nuget_release|x86 = nuget_release|x86
|
||||
PlantMAT|Any CPU = PlantMAT|Any CPU
|
||||
PlantMAT|x64 = PlantMAT|x64
|
||||
PlantMAT|x86 = PlantMAT|x86
|
||||
Release|Any CPU = Release|Any CPU
|
||||
Release|x64 = Release|x64
|
||||
Release|x86 = Release|x86
|
||||
Rsharp_app_release|Any CPU = Rsharp_app_release|Any CPU
|
||||
Rsharp_app_release|x64 = Rsharp_app_release|x64
|
||||
Rsharp_app_release|x86 = Rsharp_app_release|x86
|
||||
EndGlobalSection
|
||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||
{EE95B0C8-B8AE-4613-ADBC-AC3B27EE8211}.CFD_win32|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{EE95B0C8-B8AE-4613-ADBC-AC3B27EE8211}.CFD_win32|Any CPU.Build.0 = Debug|Any CPU
|
||||
{EE95B0C8-B8AE-4613-ADBC-AC3B27EE8211}.CFD_win32|x64.ActiveCfg = Debug|x64
|
||||
{EE95B0C8-B8AE-4613-ADBC-AC3B27EE8211}.CFD_win32|x64.Build.0 = Debug|x64
|
||||
{EE95B0C8-B8AE-4613-ADBC-AC3B27EE8211}.CFD_win32|x86.ActiveCfg = Debug|Any CPU
|
||||
{EE95B0C8-B8AE-4613-ADBC-AC3B27EE8211}.CFD_win32|x86.Build.0 = Debug|Any CPU
|
||||
{EE95B0C8-B8AE-4613-ADBC-AC3B27EE8211}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{EE95B0C8-B8AE-4613-ADBC-AC3B27EE8211}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{EE95B0C8-B8AE-4613-ADBC-AC3B27EE8211}.Debug|x64.ActiveCfg = Debug|x64
|
||||
{EE95B0C8-B8AE-4613-ADBC-AC3B27EE8211}.Debug|x64.Build.0 = Debug|x64
|
||||
{EE95B0C8-B8AE-4613-ADBC-AC3B27EE8211}.Debug|x86.ActiveCfg = Debug|Any CPU
|
||||
{EE95B0C8-B8AE-4613-ADBC-AC3B27EE8211}.Debug|x86.Build.0 = Debug|Any CPU
|
||||
{EE95B0C8-B8AE-4613-ADBC-AC3B27EE8211}.Docker|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{EE95B0C8-B8AE-4613-ADBC-AC3B27EE8211}.Docker|Any CPU.Build.0 = Debug|Any CPU
|
||||
{EE95B0C8-B8AE-4613-ADBC-AC3B27EE8211}.Docker|x64.ActiveCfg = Debug|x64
|
||||
{EE95B0C8-B8AE-4613-ADBC-AC3B27EE8211}.Docker|x64.Build.0 = Debug|x64
|
||||
{EE95B0C8-B8AE-4613-ADBC-AC3B27EE8211}.Docker|x86.ActiveCfg = Debug|Any CPU
|
||||
{EE95B0C8-B8AE-4613-ADBC-AC3B27EE8211}.Docker|x86.Build.0 = Debug|Any CPU
|
||||
{EE95B0C8-B8AE-4613-ADBC-AC3B27EE8211}.gcmodeller_desktop|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{EE95B0C8-B8AE-4613-ADBC-AC3B27EE8211}.gcmodeller_desktop|Any CPU.Build.0 = Debug|Any CPU
|
||||
{EE95B0C8-B8AE-4613-ADBC-AC3B27EE8211}.gcmodeller_desktop|x64.ActiveCfg = Debug|x64
|
||||
{EE95B0C8-B8AE-4613-ADBC-AC3B27EE8211}.gcmodeller_desktop|x64.Build.0 = Debug|x64
|
||||
{EE95B0C8-B8AE-4613-ADBC-AC3B27EE8211}.gcmodeller_desktop|x86.ActiveCfg = Debug|Any CPU
|
||||
{EE95B0C8-B8AE-4613-ADBC-AC3B27EE8211}.gcmodeller_desktop|x86.Build.0 = Debug|Any CPU
|
||||
{EE95B0C8-B8AE-4613-ADBC-AC3B27EE8211}.LipidSearch|Any CPU.ActiveCfg = LipidSearch|Any CPU
|
||||
{EE95B0C8-B8AE-4613-ADBC-AC3B27EE8211}.LipidSearch|Any CPU.Build.0 = LipidSearch|Any CPU
|
||||
{EE95B0C8-B8AE-4613-ADBC-AC3B27EE8211}.LipidSearch|x64.ActiveCfg = LipidSearch|x64
|
||||
{EE95B0C8-B8AE-4613-ADBC-AC3B27EE8211}.LipidSearch|x64.Build.0 = LipidSearch|x64
|
||||
{EE95B0C8-B8AE-4613-ADBC-AC3B27EE8211}.LipidSearch|x86.ActiveCfg = LipidSearch|Any CPU
|
||||
{EE95B0C8-B8AE-4613-ADBC-AC3B27EE8211}.LipidSearch|x86.Build.0 = LipidSearch|Any CPU
|
||||
{EE95B0C8-B8AE-4613-ADBC-AC3B27EE8211}.mzkit_win32|Any CPU.ActiveCfg = mzkit_win32|Any CPU
|
||||
{EE95B0C8-B8AE-4613-ADBC-AC3B27EE8211}.mzkit_win32|Any CPU.Build.0 = mzkit_win32|Any CPU
|
||||
{EE95B0C8-B8AE-4613-ADBC-AC3B27EE8211}.mzkit_win32|x64.ActiveCfg = mzkit_win32|x64
|
||||
{EE95B0C8-B8AE-4613-ADBC-AC3B27EE8211}.mzkit_win32|x64.Build.0 = mzkit_win32|x64
|
||||
{EE95B0C8-B8AE-4613-ADBC-AC3B27EE8211}.mzkit_win32|x86.ActiveCfg = mzkit_win32|Any CPU
|
||||
{EE95B0C8-B8AE-4613-ADBC-AC3B27EE8211}.mzkit_win32|x86.Build.0 = mzkit_win32|Any CPU
|
||||
{EE95B0C8-B8AE-4613-ADBC-AC3B27EE8211}.mzkit|Any CPU.ActiveCfg = mzkit_win32|Any CPU
|
||||
{EE95B0C8-B8AE-4613-ADBC-AC3B27EE8211}.mzkit|Any CPU.Build.0 = mzkit_win32|Any CPU
|
||||
{EE95B0C8-B8AE-4613-ADBC-AC3B27EE8211}.mzkit|x64.ActiveCfg = mzkit_win32|x64
|
||||
{EE95B0C8-B8AE-4613-ADBC-AC3B27EE8211}.mzkit|x64.Build.0 = mzkit_win32|x64
|
||||
{EE95B0C8-B8AE-4613-ADBC-AC3B27EE8211}.mzkit|x86.ActiveCfg = mzkit_win32|Any CPU
|
||||
{EE95B0C8-B8AE-4613-ADBC-AC3B27EE8211}.mzkit|x86.Build.0 = mzkit_win32|Any CPU
|
||||
{EE95B0C8-B8AE-4613-ADBC-AC3B27EE8211}.NPSearch|Any CPU.ActiveCfg = NPSearch|Any CPU
|
||||
{EE95B0C8-B8AE-4613-ADBC-AC3B27EE8211}.NPSearch|Any CPU.Build.0 = NPSearch|Any CPU
|
||||
{EE95B0C8-B8AE-4613-ADBC-AC3B27EE8211}.NPSearch|x64.ActiveCfg = NPSearch|x64
|
||||
{EE95B0C8-B8AE-4613-ADBC-AC3B27EE8211}.NPSearch|x64.Build.0 = NPSearch|x64
|
||||
{EE95B0C8-B8AE-4613-ADBC-AC3B27EE8211}.NPSearch|x86.ActiveCfg = NPSearch|Any CPU
|
||||
{EE95B0C8-B8AE-4613-ADBC-AC3B27EE8211}.NPSearch|x86.Build.0 = NPSearch|Any CPU
|
||||
{EE95B0C8-B8AE-4613-ADBC-AC3B27EE8211}.nuget_release|Any CPU.ActiveCfg = NPSearch|Any CPU
|
||||
{EE95B0C8-B8AE-4613-ADBC-AC3B27EE8211}.nuget_release|Any CPU.Build.0 = NPSearch|Any CPU
|
||||
{EE95B0C8-B8AE-4613-ADBC-AC3B27EE8211}.nuget_release|x64.ActiveCfg = NPSearch|x64
|
||||
{EE95B0C8-B8AE-4613-ADBC-AC3B27EE8211}.nuget_release|x64.Build.0 = NPSearch|x64
|
||||
{EE95B0C8-B8AE-4613-ADBC-AC3B27EE8211}.nuget_release|x86.ActiveCfg = NPSearch|Any CPU
|
||||
{EE95B0C8-B8AE-4613-ADBC-AC3B27EE8211}.nuget_release|x86.Build.0 = NPSearch|Any CPU
|
||||
{EE95B0C8-B8AE-4613-ADBC-AC3B27EE8211}.PlantMAT|Any CPU.ActiveCfg = PlantMAT|Any CPU
|
||||
{EE95B0C8-B8AE-4613-ADBC-AC3B27EE8211}.PlantMAT|Any CPU.Build.0 = PlantMAT|Any CPU
|
||||
{EE95B0C8-B8AE-4613-ADBC-AC3B27EE8211}.PlantMAT|x64.ActiveCfg = PlantMAT|x64
|
||||
{EE95B0C8-B8AE-4613-ADBC-AC3B27EE8211}.PlantMAT|x64.Build.0 = PlantMAT|x64
|
||||
{EE95B0C8-B8AE-4613-ADBC-AC3B27EE8211}.PlantMAT|x86.ActiveCfg = PlantMAT|Any CPU
|
||||
{EE95B0C8-B8AE-4613-ADBC-AC3B27EE8211}.PlantMAT|x86.Build.0 = PlantMAT|Any CPU
|
||||
{EE95B0C8-B8AE-4613-ADBC-AC3B27EE8211}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{EE95B0C8-B8AE-4613-ADBC-AC3B27EE8211}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{EE95B0C8-B8AE-4613-ADBC-AC3B27EE8211}.Release|x64.ActiveCfg = Release|x64
|
||||
{EE95B0C8-B8AE-4613-ADBC-AC3B27EE8211}.Release|x64.Build.0 = Release|x64
|
||||
{EE95B0C8-B8AE-4613-ADBC-AC3B27EE8211}.Release|x86.ActiveCfg = Release|Any CPU
|
||||
{EE95B0C8-B8AE-4613-ADBC-AC3B27EE8211}.Release|x86.Build.0 = Release|Any CPU
|
||||
{EE95B0C8-B8AE-4613-ADBC-AC3B27EE8211}.Rsharp_app_release|Any CPU.ActiveCfg = Rsharp_app_release|Any CPU
|
||||
{EE95B0C8-B8AE-4613-ADBC-AC3B27EE8211}.Rsharp_app_release|Any CPU.Build.0 = Rsharp_app_release|Any CPU
|
||||
{EE95B0C8-B8AE-4613-ADBC-AC3B27EE8211}.Rsharp_app_release|x64.ActiveCfg = Rsharp_app_release|x64
|
||||
{EE95B0C8-B8AE-4613-ADBC-AC3B27EE8211}.Rsharp_app_release|x64.Build.0 = Rsharp_app_release|x64
|
||||
{EE95B0C8-B8AE-4613-ADBC-AC3B27EE8211}.Rsharp_app_release|x86.ActiveCfg = Rsharp_app_release|Any CPU
|
||||
{EE95B0C8-B8AE-4613-ADBC-AC3B27EE8211}.Rsharp_app_release|x86.Build.0 = Rsharp_app_release|Any CPU
|
||||
{9291B390-F4B5-4143-A0CD-C16F227DA3BB}.CFD_win32|Any CPU.ActiveCfg = CFD_win32|Any CPU
|
||||
{9291B390-F4B5-4143-A0CD-C16F227DA3BB}.CFD_win32|Any CPU.Build.0 = CFD_win32|Any CPU
|
||||
{9291B390-F4B5-4143-A0CD-C16F227DA3BB}.CFD_win32|x64.ActiveCfg = CFD_win32|x64
|
||||
{9291B390-F4B5-4143-A0CD-C16F227DA3BB}.CFD_win32|x64.Build.0 = CFD_win32|x64
|
||||
{9291B390-F4B5-4143-A0CD-C16F227DA3BB}.CFD_win32|x86.ActiveCfg = CFD_win32|x86
|
||||
{9291B390-F4B5-4143-A0CD-C16F227DA3BB}.CFD_win32|x86.Build.0 = CFD_win32|x86
|
||||
{9291B390-F4B5-4143-A0CD-C16F227DA3BB}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{9291B390-F4B5-4143-A0CD-C16F227DA3BB}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{9291B390-F4B5-4143-A0CD-C16F227DA3BB}.Debug|x64.ActiveCfg = Debug|x64
|
||||
{9291B390-F4B5-4143-A0CD-C16F227DA3BB}.Debug|x64.Build.0 = Debug|x64
|
||||
{9291B390-F4B5-4143-A0CD-C16F227DA3BB}.Debug|x86.ActiveCfg = Debug|x86
|
||||
{9291B390-F4B5-4143-A0CD-C16F227DA3BB}.Debug|x86.Build.0 = Debug|x86
|
||||
{9291B390-F4B5-4143-A0CD-C16F227DA3BB}.Docker|Any CPU.ActiveCfg = Docker|Any CPU
|
||||
{9291B390-F4B5-4143-A0CD-C16F227DA3BB}.Docker|Any CPU.Build.0 = Docker|Any CPU
|
||||
{9291B390-F4B5-4143-A0CD-C16F227DA3BB}.Docker|x64.ActiveCfg = Docker|x64
|
||||
{9291B390-F4B5-4143-A0CD-C16F227DA3BB}.Docker|x64.Build.0 = Docker|x64
|
||||
{9291B390-F4B5-4143-A0CD-C16F227DA3BB}.Docker|x86.ActiveCfg = Docker|x86
|
||||
{9291B390-F4B5-4143-A0CD-C16F227DA3BB}.Docker|x86.Build.0 = Docker|x86
|
||||
{9291B390-F4B5-4143-A0CD-C16F227DA3BB}.gcmodeller_desktop|Any CPU.ActiveCfg = gcmodeller_desktop|Any CPU
|
||||
{9291B390-F4B5-4143-A0CD-C16F227DA3BB}.gcmodeller_desktop|Any CPU.Build.0 = gcmodeller_desktop|Any CPU
|
||||
{9291B390-F4B5-4143-A0CD-C16F227DA3BB}.gcmodeller_desktop|x64.ActiveCfg = gcmodeller_desktop|x64
|
||||
{9291B390-F4B5-4143-A0CD-C16F227DA3BB}.gcmodeller_desktop|x64.Build.0 = gcmodeller_desktop|x64
|
||||
{9291B390-F4B5-4143-A0CD-C16F227DA3BB}.gcmodeller_desktop|x86.ActiveCfg = gcmodeller_desktop|x86
|
||||
{9291B390-F4B5-4143-A0CD-C16F227DA3BB}.gcmodeller_desktop|x86.Build.0 = gcmodeller_desktop|x86
|
||||
{9291B390-F4B5-4143-A0CD-C16F227DA3BB}.LipidSearch|Any CPU.ActiveCfg = LipidSearch|Any CPU
|
||||
{9291B390-F4B5-4143-A0CD-C16F227DA3BB}.LipidSearch|Any CPU.Build.0 = LipidSearch|Any CPU
|
||||
{9291B390-F4B5-4143-A0CD-C16F227DA3BB}.LipidSearch|x64.ActiveCfg = LipidSearch|x64
|
||||
{9291B390-F4B5-4143-A0CD-C16F227DA3BB}.LipidSearch|x64.Build.0 = LipidSearch|x64
|
||||
{9291B390-F4B5-4143-A0CD-C16F227DA3BB}.LipidSearch|x86.ActiveCfg = LipidSearch|x86
|
||||
{9291B390-F4B5-4143-A0CD-C16F227DA3BB}.LipidSearch|x86.Build.0 = LipidSearch|x86
|
||||
{9291B390-F4B5-4143-A0CD-C16F227DA3BB}.mzkit_win32|Any CPU.ActiveCfg = mzkit_win32|Any CPU
|
||||
{9291B390-F4B5-4143-A0CD-C16F227DA3BB}.mzkit_win32|Any CPU.Build.0 = mzkit_win32|Any CPU
|
||||
{9291B390-F4B5-4143-A0CD-C16F227DA3BB}.mzkit_win32|x64.ActiveCfg = mzkit_win32|x64
|
||||
{9291B390-F4B5-4143-A0CD-C16F227DA3BB}.mzkit_win32|x64.Build.0 = mzkit_win32|x64
|
||||
{9291B390-F4B5-4143-A0CD-C16F227DA3BB}.mzkit_win32|x86.ActiveCfg = mzkit_win32|x86
|
||||
{9291B390-F4B5-4143-A0CD-C16F227DA3BB}.mzkit_win32|x86.Build.0 = mzkit_win32|x86
|
||||
{9291B390-F4B5-4143-A0CD-C16F227DA3BB}.mzkit|Any CPU.ActiveCfg = mzkit|Any CPU
|
||||
{9291B390-F4B5-4143-A0CD-C16F227DA3BB}.mzkit|Any CPU.Build.0 = mzkit|Any CPU
|
||||
{9291B390-F4B5-4143-A0CD-C16F227DA3BB}.mzkit|x64.ActiveCfg = mzkit|x64
|
||||
{9291B390-F4B5-4143-A0CD-C16F227DA3BB}.mzkit|x64.Build.0 = mzkit|x64
|
||||
{9291B390-F4B5-4143-A0CD-C16F227DA3BB}.mzkit|x86.ActiveCfg = mzkit|x86
|
||||
{9291B390-F4B5-4143-A0CD-C16F227DA3BB}.mzkit|x86.Build.0 = mzkit|x86
|
||||
{9291B390-F4B5-4143-A0CD-C16F227DA3BB}.NPSearch|Any CPU.ActiveCfg = NPSearch|Any CPU
|
||||
{9291B390-F4B5-4143-A0CD-C16F227DA3BB}.NPSearch|Any CPU.Build.0 = NPSearch|Any CPU
|
||||
{9291B390-F4B5-4143-A0CD-C16F227DA3BB}.NPSearch|x64.ActiveCfg = NPSearch|x64
|
||||
{9291B390-F4B5-4143-A0CD-C16F227DA3BB}.NPSearch|x64.Build.0 = NPSearch|x64
|
||||
{9291B390-F4B5-4143-A0CD-C16F227DA3BB}.NPSearch|x86.ActiveCfg = NPSearch|x86
|
||||
{9291B390-F4B5-4143-A0CD-C16F227DA3BB}.NPSearch|x86.Build.0 = NPSearch|x86
|
||||
{9291B390-F4B5-4143-A0CD-C16F227DA3BB}.nuget_release|Any CPU.ActiveCfg = nuget_release|Any CPU
|
||||
{9291B390-F4B5-4143-A0CD-C16F227DA3BB}.nuget_release|Any CPU.Build.0 = nuget_release|Any CPU
|
||||
{9291B390-F4B5-4143-A0CD-C16F227DA3BB}.nuget_release|x64.ActiveCfg = nuget_release|x64
|
||||
{9291B390-F4B5-4143-A0CD-C16F227DA3BB}.nuget_release|x64.Build.0 = nuget_release|x64
|
||||
{9291B390-F4B5-4143-A0CD-C16F227DA3BB}.nuget_release|x86.ActiveCfg = nuget_release|x86
|
||||
{9291B390-F4B5-4143-A0CD-C16F227DA3BB}.nuget_release|x86.Build.0 = nuget_release|x86
|
||||
{9291B390-F4B5-4143-A0CD-C16F227DA3BB}.PlantMAT|Any CPU.ActiveCfg = PlantMAT|Any CPU
|
||||
{9291B390-F4B5-4143-A0CD-C16F227DA3BB}.PlantMAT|Any CPU.Build.0 = PlantMAT|Any CPU
|
||||
{9291B390-F4B5-4143-A0CD-C16F227DA3BB}.PlantMAT|x64.ActiveCfg = PlantMAT|x64
|
||||
{9291B390-F4B5-4143-A0CD-C16F227DA3BB}.PlantMAT|x64.Build.0 = PlantMAT|x64
|
||||
{9291B390-F4B5-4143-A0CD-C16F227DA3BB}.PlantMAT|x86.ActiveCfg = PlantMAT|x86
|
||||
{9291B390-F4B5-4143-A0CD-C16F227DA3BB}.PlantMAT|x86.Build.0 = PlantMAT|x86
|
||||
{9291B390-F4B5-4143-A0CD-C16F227DA3BB}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{9291B390-F4B5-4143-A0CD-C16F227DA3BB}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{9291B390-F4B5-4143-A0CD-C16F227DA3BB}.Release|x64.ActiveCfg = Release|x64
|
||||
{9291B390-F4B5-4143-A0CD-C16F227DA3BB}.Release|x64.Build.0 = Release|x64
|
||||
{9291B390-F4B5-4143-A0CD-C16F227DA3BB}.Release|x86.ActiveCfg = Release|x86
|
||||
{9291B390-F4B5-4143-A0CD-C16F227DA3BB}.Release|x86.Build.0 = Release|x86
|
||||
{9291B390-F4B5-4143-A0CD-C16F227DA3BB}.Rsharp_app_release|Any CPU.ActiveCfg = Rsharp_app_release|Any CPU
|
||||
{9291B390-F4B5-4143-A0CD-C16F227DA3BB}.Rsharp_app_release|Any CPU.Build.0 = Rsharp_app_release|Any CPU
|
||||
{9291B390-F4B5-4143-A0CD-C16F227DA3BB}.Rsharp_app_release|x64.ActiveCfg = Rsharp_app_release|x64
|
||||
{9291B390-F4B5-4143-A0CD-C16F227DA3BB}.Rsharp_app_release|x64.Build.0 = Rsharp_app_release|x64
|
||||
{9291B390-F4B5-4143-A0CD-C16F227DA3BB}.Rsharp_app_release|x86.ActiveCfg = Rsharp_app_release|x86
|
||||
{9291B390-F4B5-4143-A0CD-C16F227DA3BB}.Rsharp_app_release|x86.Build.0 = Rsharp_app_release|x86
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
EndGlobalSection
|
||||
GlobalSection(NestedProjects) = preSolution
|
||||
{9291B390-F4B5-4143-A0CD-C16F227DA3BB} = {54DB2A20-907C-4D6D-98F6-47F75BC7A90D}
|
||||
EndGlobalSection
|
||||
GlobalSection(ExtensibilityGlobals) = postSolution
|
||||
SolutionGuid = {3D996CFB-D986-449F-BDAE-A8E9A9B69B8B}
|
||||
EndGlobalSection
|
||||
EndGlobal
|
|
@ -1,238 +0,0 @@
|
|||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<PropertyGroup>
|
||||
<RootNamespace>Darwinism.Centos</RootNamespace>
|
||||
<TargetFrameworks>net6.0-windows;net6.0;net48</TargetFrameworks>
|
||||
<AssemblyName>Centos</AssemblyName>
|
||||
<Description>High Performance Parallel Compute Library on Unix .NET 5 runtime</Description>
|
||||
<PackageRequireLicenseAcceptance>true</PackageRequireLicenseAcceptance>
|
||||
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
|
||||
<Copyright>i@xieguigang.me</Copyright>
|
||||
<PackageLicenseFile>LICENSE</PackageLicenseFile>
|
||||
<Configurations>Debug;Release;Rsharp_app_release;LipidSearch;PlantMAT;NPSearch;mzkit_win32</Configurations>
|
||||
<Platforms>AnyCPU;x64</Platforms>
|
||||
<PackageProjectUrl>https://github.com/xieguigang/Darwinism</PackageProjectUrl>
|
||||
<RepositoryUrl>https://github.com/xieguigang/Darwinism</RepositoryUrl>
|
||||
<RepositoryType>git</RepositoryType>
|
||||
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
|
||||
<Title>Helper for remote connect to the linux via putty on windows and some common linux command parser</Title>
|
||||
<GenerateDocumentationFile>True</GenerateDocumentationFile>
|
||||
<IncludeSymbols>True</IncludeSymbols>
|
||||
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Debug|net6.0-windows|AnyCPU'">
|
||||
<DebugType>full</DebugType>
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Debug|net6.0|AnyCPU'">
|
||||
<DebugType>full</DebugType>
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Debug|net48|AnyCPU'">
|
||||
<DebugType>full</DebugType>
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Debug|net6.0-windows|x64'">
|
||||
<DebugType>full</DebugType>
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Debug|net6.0|x64'">
|
||||
<DebugType>full</DebugType>
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Debug|net48|x64'">
|
||||
<DebugType>full</DebugType>
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Release|net6.0-windows|AnyCPU'">
|
||||
<DebugType>full</DebugType>
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Release|net6.0|AnyCPU'">
|
||||
<DebugType>full</DebugType>
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Release|net48|AnyCPU'">
|
||||
<DebugType>full</DebugType>
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Release|net6.0-windows|x64'">
|
||||
<DebugType>full</DebugType>
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Release|net6.0|x64'">
|
||||
<DebugType>full</DebugType>
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Release|net48|x64'">
|
||||
<DebugType>full</DebugType>
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Rsharp_app_release|net6.0-windows|AnyCPU'">
|
||||
<DebugType>full</DebugType>
|
||||
<DefineTrace>True</DefineTrace>
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Rsharp_app_release|net6.0|AnyCPU'">
|
||||
<DebugType>full</DebugType>
|
||||
<DefineTrace>True</DefineTrace>
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Rsharp_app_release|net48|AnyCPU'">
|
||||
<DebugType>full</DebugType>
|
||||
<DefineTrace>True</DefineTrace>
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Rsharp_app_release|net6.0-windows|x64'">
|
||||
<DebugType>full</DebugType>
|
||||
<DefineTrace>True</DefineTrace>
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Rsharp_app_release|net6.0|x64'">
|
||||
<DebugType>full</DebugType>
|
||||
<DefineTrace>True</DefineTrace>
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Rsharp_app_release|net48|x64'">
|
||||
<DebugType>full</DebugType>
|
||||
<DefineTrace>True</DefineTrace>
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='LipidSearch|net6.0-windows|AnyCPU'">
|
||||
<DebugType>full</DebugType>
|
||||
<DefineTrace>True</DefineTrace>
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='LipidSearch|net6.0|AnyCPU'">
|
||||
<DebugType>full</DebugType>
|
||||
<DefineTrace>True</DefineTrace>
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='LipidSearch|net48|AnyCPU'">
|
||||
<DebugType>full</DebugType>
|
||||
<DefineTrace>True</DefineTrace>
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='LipidSearch|net6.0-windows|x64'">
|
||||
<DebugType>full</DebugType>
|
||||
<DefineTrace>True</DefineTrace>
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='LipidSearch|net6.0|x64'">
|
||||
<DebugType>full</DebugType>
|
||||
<DefineTrace>True</DefineTrace>
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='LipidSearch|net48|x64'">
|
||||
<DebugType>full</DebugType>
|
||||
<DefineTrace>True</DefineTrace>
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='PlantMAT|net6.0-windows|AnyCPU'">
|
||||
<DebugType>full</DebugType>
|
||||
<DefineTrace>True</DefineTrace>
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='PlantMAT|net6.0|AnyCPU'">
|
||||
<DebugType>full</DebugType>
|
||||
<DefineTrace>True</DefineTrace>
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='PlantMAT|net48|AnyCPU'">
|
||||
<DebugType>full</DebugType>
|
||||
<DefineTrace>True</DefineTrace>
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='PlantMAT|net6.0-windows|x64'">
|
||||
<DebugType>full</DebugType>
|
||||
<DefineTrace>True</DefineTrace>
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='PlantMAT|net6.0|x64'">
|
||||
<DebugType>full</DebugType>
|
||||
<DefineTrace>True</DefineTrace>
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='PlantMAT|net48|x64'">
|
||||
<DebugType>full</DebugType>
|
||||
<DefineTrace>True</DefineTrace>
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='NPSearch|net6.0-windows|AnyCPU'">
|
||||
<DebugType>full</DebugType>
|
||||
<DefineTrace>True</DefineTrace>
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='NPSearch|net6.0|AnyCPU'">
|
||||
<DebugType>full</DebugType>
|
||||
<DefineTrace>True</DefineTrace>
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='NPSearch|net48|AnyCPU'">
|
||||
<DebugType>full</DebugType>
|
||||
<DefineTrace>True</DefineTrace>
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='NPSearch|net6.0-windows|x64'">
|
||||
<DebugType>full</DebugType>
|
||||
<DefineTrace>True</DefineTrace>
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='NPSearch|net6.0|x64'">
|
||||
<DebugType>full</DebugType>
|
||||
<DefineTrace>True</DefineTrace>
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='NPSearch|net48|x64'">
|
||||
<DebugType>full</DebugType>
|
||||
<DefineTrace>True</DefineTrace>
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='mzkit_win32|net6.0-windows|AnyCPU'">
|
||||
<DebugType>full</DebugType>
|
||||
<DefineTrace>True</DefineTrace>
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='mzkit_win32|net6.0|AnyCPU'">
|
||||
<DebugType>full</DebugType>
|
||||
<DefineTrace>True</DefineTrace>
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='mzkit_win32|net48|AnyCPU'">
|
||||
<DebugType>full</DebugType>
|
||||
<DefineTrace>True</DefineTrace>
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='mzkit_win32|net6.0-windows|x64'">
|
||||
<DebugType>full</DebugType>
|
||||
<DefineTrace>True</DefineTrace>
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='mzkit_win32|net6.0|x64'">
|
||||
<DebugType>full</DebugType>
|
||||
<DefineTrace>True</DefineTrace>
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='mzkit_win32|net48|x64'">
|
||||
<DebugType>full</DebugType>
|
||||
<DefineTrace>True</DefineTrace>
|
||||
</PropertyGroup>
|
||||
|
||||
|
||||
<ItemGroup>
|
||||
<Compile Remove="test\**" />
|
||||
<EmbeddedResource Remove="test\**" />
|
||||
<None Remove="test\**" />
|
||||
<Compile Remove="PowerShell.vb" />
|
||||
<None Include="..\..\..\LICENSE">
|
||||
<Pack>True</Pack>
|
||||
<PackagePath></PackagePath>
|
||||
</None>
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\..\..\..\sciBASIC#\Microsoft.VisualBasic.Core\src\Core.vbproj" />
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
|
@ -1,75 +0,0 @@
|
|||
#Region "Microsoft.VisualBasic::e9f933b108621ac52a00063279c9878e, CloudKit\Centos\Commands\ls.vb"
|
||||
|
||||
' Author:
|
||||
'
|
||||
' asuka (amethyst.asuka@gcmodeller.org)
|
||||
' xie (genetics@smrucc.org)
|
||||
' xieguigang (xie.guigang@live.com)
|
||||
'
|
||||
' Copyright (c) 2018 GPL3 Licensed
|
||||
'
|
||||
'
|
||||
' GNU GENERAL PUBLIC LICENSE (GPL3)
|
||||
'
|
||||
'
|
||||
' This program is free software: you can redistribute it and/or modify
|
||||
' it under the terms of the GNU General Public License as published by
|
||||
' the Free Software Foundation, either version 3 of the License, or
|
||||
' (at your option) any later version.
|
||||
'
|
||||
' This program is distributed in the hope that it will be useful,
|
||||
' but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
' MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
' GNU General Public License for more details.
|
||||
'
|
||||
' You should have received a copy of the GNU General Public License
|
||||
' along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
|
||||
|
||||
' /********************************************************************************/
|
||||
|
||||
' Summaries:
|
||||
|
||||
' Class ls
|
||||
'
|
||||
' Properties: [date], file, group, link, number1
|
||||
' permission, size, user
|
||||
'
|
||||
' Function: Parse, ParseLine, ToString
|
||||
'
|
||||
' /********************************************************************************/
|
||||
|
||||
#End Region
|
||||
|
||||
Public Class ls
|
||||
|
||||
Public Property permission As String
|
||||
Public Property number1 As Integer
|
||||
Public Property user As String
|
||||
Public Property group As String
|
||||
Public Property size As String
|
||||
Public Property [date] As String
|
||||
Public Property file As String
|
||||
Public Property link As String
|
||||
|
||||
Public Overrides Function ToString() As String
|
||||
Dim fileName As String = If(link.StringEmpty, file, $"{file} -> {link}")
|
||||
Dim line As String = New String() {
|
||||
permission, number1, user, group, size, [date], fileName
|
||||
}.JoinBy(vbTab)
|
||||
|
||||
Return line
|
||||
End Function
|
||||
|
||||
Public Shared Iterator Function Parse(stdout As String) As IEnumerable(Of ls)
|
||||
For Each line As String In stdout.LineTokens.Skip(1)
|
||||
Yield ParseLine(line)
|
||||
Next
|
||||
End Function
|
||||
|
||||
Private Shared Function ParseLine(line As String) As ls
|
||||
|
||||
End Function
|
||||
|
||||
End Class
|
|
@ -1,83 +0,0 @@
|
|||
|
||||
''' <summary>
|
||||
'''
|
||||
''' </summary>
|
||||
''' <remarks>
|
||||
''' sudo yum install net-tools
|
||||
''' </remarks>
|
||||
Public Class netstat
|
||||
|
||||
Public Property Proto As String
|
||||
Public Property RecvQ As String
|
||||
Public Property SendQ As String
|
||||
Public Property LocalAddress As String
|
||||
Public Property ForeignAddress As String
|
||||
Public Property State As String
|
||||
''' <summary>
|
||||
''' PID/Program name
|
||||
''' </summary>
|
||||
''' <returns></returns>
|
||||
Public Property Program As String
|
||||
|
||||
Public ReadOnly Property LocalListenPort As Integer
|
||||
Get
|
||||
If State = "LISTEN" Then
|
||||
Return Integer.Parse(LocalAddress.Split(":"c).Last)
|
||||
Else
|
||||
Return 0
|
||||
End If
|
||||
End Get
|
||||
End Property
|
||||
|
||||
''' <summary>
|
||||
''' netstat -tulnp
|
||||
''' </summary>
|
||||
''' <param name="text"></param>
|
||||
''' <returns></returns>
|
||||
Public Shared Iterator Function tulnp(text As String) As IEnumerable(Of netstat)
|
||||
' (Not all processes could be identified, non-owned process info
|
||||
' will not be shown, you would have to be root to see it all.)
|
||||
' Active Internet connections (only servers)
|
||||
' Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
|
||||
' tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN -
|
||||
' tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN -
|
||||
' tcp 0 0 127.0.0.1:631 0.0.0.0:* LISTEN -
|
||||
' tcp6 0 0 :::22 :::* LISTEN -
|
||||
' tcp6 0 0 :::111 :::* LISTEN -
|
||||
' tcp6 0 0 ::1:631 :::* LISTEN -
|
||||
' udp 0 0 0.0.0.0:111 0.0.0.0:* -
|
||||
' udp 0 0 127.0.0.1:323 0.0.0.0:* -
|
||||
' udp 0 0 0.0.0.0:5353 0.0.0.0:* -
|
||||
' udp 0 0 0.0.0.0:34247 0.0.0.0:* -
|
||||
' udp6 0 0 :::43332 :::* -
|
||||
' udp6 0 0 :::111 :::* -
|
||||
' udp6 0 0 ::1:323 :::* -
|
||||
' udp6 0 0 :::5353 :::* -
|
||||
Dim lines As String() = text.LineTokens
|
||||
Dim offset = lines _
|
||||
.Select(Function(line, i) (line.Split().First, i)) _
|
||||
.Where(Function(t) t.First = "Proto") _
|
||||
.FirstOrDefault
|
||||
|
||||
If offset.First.StringEmpty Then
|
||||
Return
|
||||
End If
|
||||
|
||||
For i As Integer = offset.i + 1 To lines.Length - 1
|
||||
If Not lines(i).StringEmpty Then
|
||||
Dim tokens As String() = lines(i).StringSplit("\s+")
|
||||
|
||||
Yield New netstat With {
|
||||
.Proto = tokens.ElementAtOrDefault(0),
|
||||
.RecvQ = tokens.ElementAtOrDefault(1),
|
||||
.SendQ = tokens.ElementAtOrDefault(2),
|
||||
.LocalAddress = tokens.ElementAtOrDefault(3),
|
||||
.ForeignAddress = tokens.ElementAtOrDefault(4),
|
||||
.State = tokens.ElementAtOrDefault(5),
|
||||
.Program = tokens.Skip(6).JoinBy(" ")
|
||||
}
|
||||
End If
|
||||
Next
|
||||
End Function
|
||||
|
||||
End Class
|
|
@ -1,119 +0,0 @@
|
|||
Imports System.Runtime.CompilerServices
|
||||
|
||||
''' <summary>
|
||||
''' linux command interaction shell module
|
||||
''' </summary>
|
||||
Public Class Interaction
|
||||
|
||||
Public Shared ReadOnly Property version As String
|
||||
Get
|
||||
Return cat("/proc/version", verbose:=False)
|
||||
End Get
|
||||
End Property
|
||||
|
||||
Public Shared ReadOnly Property release As String
|
||||
Get
|
||||
If "/etc/centos-release".FileExists Then
|
||||
Return cat("/etc/centos-release", verbose:=False)
|
||||
ElseIf "/etc/redhat-release".FileExists Then
|
||||
Return cat("/etc/redhat-release", verbose:=False)
|
||||
Else
|
||||
Return Shell("lsb_release", "-d", verbose:=False) _
|
||||
.GetTagValue(":", trim:=True) _
|
||||
.Value
|
||||
End If
|
||||
End Get
|
||||
End Property
|
||||
|
||||
Public Shared ReadOnly Property isUnix As Boolean
|
||||
Get
|
||||
Dim platform = Environment.OSVersion.Platform
|
||||
|
||||
#If NET48 Then
|
||||
Return platform = PlatformID.Unix OrElse platform = PlatformID.MacOSX
|
||||
#Else
|
||||
Return platform = PlatformID.Unix
|
||||
#End If
|
||||
End Get
|
||||
End Property
|
||||
|
||||
''' <summary>
|
||||
''' does the required command is installed in
|
||||
''' the centos system?
|
||||
''' </summary>
|
||||
''' <param name="command"></param>
|
||||
''' <returns></returns>
|
||||
Public Shared Function HasCommand(command As String) As Boolean
|
||||
Return Not Interaction.Shell("command", $"-v {command}", verbose:=False).StringEmpty
|
||||
End Function
|
||||
|
||||
' 20201023
|
||||
'
|
||||
' ./linux_run.R --ignore-missing-startup-packages
|
||||
|
||||
' Loading required package: base
|
||||
' Loading required package: utils
|
||||
' Loading required package: grDevices
|
||||
' Loading required package: stats
|
||||
|
||||
' Error in <globalEnvironment> -> InitializeEnvironment -> str -> str -> "iostat" -> iostat
|
||||
' 1. TargetInvocationException: Exception has been thrown by the target of an invocation.
|
||||
' 2. Win32Exception: ApplicationName='iostat', CommandLine='', CurrentDirectory='', Native error= Cannot find the specified file
|
||||
' 3. stackFrames:
|
||||
' at System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00083] in <6b8bdf3aa3e64e7f91da81ece11b0637>:0
|
||||
' at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) [0x00000] in <6b8bdf3aa3e64e7f91da81ece11b0637>:0
|
||||
' at SMRUCC.Rsharp.Runtime.Interop.RMethodInfo.Invoke (System.Object[] parameters, SMRUCC.Rsharp.Runtime.Environment env) [0x000b3] in <b355be0c7d6e431380a05a956aec0fbf>:0
|
||||
|
||||
' R# source: Call "str"(Call "iostat"())
|
||||
|
||||
' linux.R#_interop::.iostat at Profiler.dll:line <unknown>
|
||||
' SMRUCC/R#.call_function."iostat" at linux_run.R:line 3
|
||||
' base.R#_interop::.str at REnv.dll:line <unknown>
|
||||
' SMRUCC/R#.call_function.str at linux_run.R:line n/a
|
||||
' SMRUCC/R#.n/a.InitializeEnvironment at linux_run.R:line 0
|
||||
' SMRUCC/R#.global.<globalEnvironment> at <globalEnvironment>:line n/a
|
||||
|
||||
''' <summary>
|
||||
''' run a linux command
|
||||
''' </summary>
|
||||
''' <param name="command">the command name or its executative file path.</param>
|
||||
''' <param name="args">command line arguments</param>
|
||||
''' <param name="verbose">debug option</param>
|
||||
''' <returns>
|
||||
''' the std_output of the specific command.
|
||||
''' </returns>
|
||||
<MethodImpl(MethodImplOptions.AggressiveInlining)>
|
||||
Public Shared Function Shell(command As String, args As String, verbose As Boolean) As String
|
||||
Dim cmdl As String
|
||||
|
||||
If args.StringEmpty Then
|
||||
cmdl = command
|
||||
Else
|
||||
cmdl = $"{command} {args}"
|
||||
End If
|
||||
|
||||
If verbose Then
|
||||
Call Console.WriteLine("run commandline:")
|
||||
Call Console.WriteLine($"/bin/bash -c ""{cmdl}""")
|
||||
End If
|
||||
|
||||
Dim stdout As String = CommandLine.Call("/bin/bash", $"-c ""{cmdl}""")
|
||||
|
||||
If verbose Then
|
||||
Call Console.WriteLine("std_output:")
|
||||
Call Console.WriteLine(stdout)
|
||||
End If
|
||||
|
||||
Return stdout
|
||||
End Function
|
||||
|
||||
''' <summary>
|
||||
''' read the file content of a specific <paramref name="file"/>
|
||||
''' </summary>
|
||||
''' <param name="file">the file path of the target text file.</param>
|
||||
''' <param name="verbose"></param>
|
||||
''' <returns></returns>
|
||||
Public Shared Function cat(file As String, verbose As Boolean) As String
|
||||
Return Shell("cat", args:=file, verbose)
|
||||
End Function
|
||||
End Class
|
|
@ -1,120 +0,0 @@
|
|||
#Region "Microsoft.VisualBasic::84c589878c3cc8350584f74bf48df6a1, CloudKit\Centos\PuTTY.vb"
|
||||
|
||||
' Author:
|
||||
'
|
||||
' asuka (amethyst.asuka@gcmodeller.org)
|
||||
' xie (genetics@smrucc.org)
|
||||
' xieguigang (xie.guigang@live.com)
|
||||
'
|
||||
' Copyright (c) 2018 GPL3 Licensed
|
||||
'
|
||||
'
|
||||
' GNU GENERAL PUBLIC LICENSE (GPL3)
|
||||
'
|
||||
'
|
||||
' This program is free software: you can redistribute it and/or modify
|
||||
' it under the terms of the GNU General Public License as published by
|
||||
' the Free Software Foundation, either version 3 of the License, or
|
||||
' (at your option) any later version.
|
||||
'
|
||||
' This program is distributed in the hope that it will be useful,
|
||||
' but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
' MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
' GNU General Public License for more details.
|
||||
'
|
||||
' You should have received a copy of the GNU General Public License
|
||||
' along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
|
||||
|
||||
' /********************************************************************************/
|
||||
|
||||
' Summaries:
|
||||
|
||||
' Class PuTTY
|
||||
'
|
||||
' Constructor: (+1 Overloads) Sub New
|
||||
'
|
||||
' Function: callPipeline, Run, Shell
|
||||
'
|
||||
' Sub: cacheServerKey
|
||||
'
|
||||
' /********************************************************************************/
|
||||
|
||||
#End Region
|
||||
|
||||
Imports Microsoft.VisualBasic.ApplicationServices
|
||||
Imports Microsoft.VisualBasic.CommandLine
|
||||
|
||||
''' <summary>
|
||||
''' PuTTY automation combine with the hyper-V virtual machine for windows server
|
||||
''' </summary>
|
||||
Public Class PuTTY : Inherits SSH
|
||||
|
||||
ReadOnly plink As String
|
||||
ReadOnly session As String
|
||||
|
||||
Sub New(user$, password$,
|
||||
Optional endpoint$ = "127.0.0.1",
|
||||
Optional port% = 22,
|
||||
Optional plink As String = "plink",
|
||||
Optional debug As Boolean = False)
|
||||
|
||||
Call MyBase.New(user, password, endpoint, port, debug)
|
||||
|
||||
Me.plink = plink
|
||||
Me.cacheServerKey()
|
||||
Me.session = TempFileSystem.GetAppSysTempFile(".txt", sessionID:=App.PID.ToHexString, prefix:="bash_session")
|
||||
End Sub
|
||||
|
||||
''' <summary>
|
||||
''' try to fix problem of
|
||||
'''
|
||||
''' ```
|
||||
''' D:\web\RWeb>plink pipeline_submit@192.168.0.254 -P 22 -pw "pipeline_submit123" -batch qsub -cwd -e "/mnt/smb3/tmp/GCMS_autoTest/error" -o "/mnt/smb3/tmp/GCMS_autoTest/stdout" /mnt/smb2/.auto//GC-MS/auto_f1803b4671326cc1491b2cd8b7b9e7d3.sh
|
||||
''' The server's host key is not cached in the registry. You
|
||||
''' have no guarantee that the server Is the computer you
|
||||
''' think it Is.
|
||||
''' The server 's ssh-ed25519 key fingerprint is:
|
||||
''' ssh-ed25519 255 58:66:53:3d:3f:6c:a9:fb:8c:ad:af:bd:8c:dc:57:16
|
||||
''' Connection abandoned.
|
||||
''' ```
|
||||
''' </summary>
|
||||
Private Sub cacheServerKey()
|
||||
Call Console.WriteLine(PipelineProcess.Call(plink, $"-ssh {user}@{endpoint} -P {port} -pw ""{password}"" -batch exit"))
|
||||
End Sub
|
||||
|
||||
''' <summary>
|
||||
''' Run a bash script in target virtual machine
|
||||
''' </summary>
|
||||
''' <param name="bash">the file path of the bash script in the hyper-v virtual machine.</param>
|
||||
''' <returns></returns>
|
||||
''' <remarks>
|
||||
''' Hyper-V PowerShell - Run a bash command in Linux VM and get output.
|
||||
'''
|
||||
''' https://stackoverflow.com/questions/57778301/hyper-v-powershell-run-a-bash-command-in-linux-vm-and-get-output
|
||||
''' </remarks>
|
||||
Public Overrides Function Run(bash As String) As String
|
||||
Dim cli As String = $"{endpoint} -P {port} -l {user} -pw ""{password}"" -batch /bin/bash ""{bash}"""
|
||||
Dim std_out As String = callPipeline(cli)
|
||||
|
||||
Return std_out
|
||||
End Function
|
||||
|
||||
Private Function callPipeline(cli As String) As String
|
||||
If debug Then
|
||||
Call $"{plink} {cli}".__DEBUG_ECHO
|
||||
End If
|
||||
|
||||
Dim std_out As String = PipelineProcess.[Call](plink, cli)
|
||||
Return std_out
|
||||
End Function
|
||||
|
||||
Public Function Shell(command As String, Optional arguments As String = Nothing) As String
|
||||
Dim cmdl As String = If(arguments.StringEmpty, command, $"{command} {arguments}")
|
||||
Dim cli As String = $"{user}@{endpoint} -P {port} -pw ""{password}"" -batch {cmdl}"
|
||||
Dim std_out As String = callPipeline(cli)
|
||||
|
||||
Return std_out
|
||||
End Function
|
||||
End Class
|
|
@ -1,73 +0,0 @@
|
|||
#Region "Microsoft.VisualBasic::03e6b820c07e260cdb75545b221a7f3b, CloudKit\Centos\SSH.vb"
|
||||
|
||||
' Author:
|
||||
'
|
||||
' asuka (amethyst.asuka@gcmodeller.org)
|
||||
' xie (genetics@smrucc.org)
|
||||
' xieguigang (xie.guigang@live.com)
|
||||
'
|
||||
' Copyright (c) 2018 GPL3 Licensed
|
||||
'
|
||||
'
|
||||
' GNU GENERAL PUBLIC LICENSE (GPL3)
|
||||
'
|
||||
'
|
||||
' This program is free software: you can redistribute it and/or modify
|
||||
' it under the terms of the GNU General Public License as published by
|
||||
' the Free Software Foundation, either version 3 of the License, or
|
||||
' (at your option) any later version.
|
||||
'
|
||||
' This program is distributed in the hope that it will be useful,
|
||||
' but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
' MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
' GNU General Public License for more details.
|
||||
'
|
||||
' You should have received a copy of the GNU General Public License
|
||||
' along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
|
||||
|
||||
' /********************************************************************************/
|
||||
|
||||
' Summaries:
|
||||
|
||||
' Class SSH
|
||||
'
|
||||
' Constructor: (+1 Overloads) Sub New
|
||||
' Function: Run, ToString
|
||||
'
|
||||
' /********************************************************************************/
|
||||
|
||||
#End Region
|
||||
|
||||
''' <summary>
|
||||
''' this works on linux system via ssh command from bash
|
||||
''' </summary>
|
||||
Public Class SSH
|
||||
|
||||
Protected ReadOnly user As String
|
||||
Protected ReadOnly password As String
|
||||
Protected ReadOnly endpoint As String
|
||||
Protected ReadOnly port As Integer
|
||||
Protected ReadOnly debug As Boolean
|
||||
|
||||
Sub New(user$, password$,
|
||||
Optional endpoint$ = "127.0.0.1",
|
||||
Optional port% = 22,
|
||||
Optional debug As Boolean = False)
|
||||
|
||||
Me.user = user
|
||||
Me.password = password
|
||||
Me.endpoint = endpoint
|
||||
Me.port = port
|
||||
Me.debug = debug
|
||||
End Sub
|
||||
|
||||
Public Overridable Function Run(command As String) As String
|
||||
Return CommandLine.Call("ssh", $"-o StrictHostKeyChecking=no {user}@{endpoint}:{port} {command}")
|
||||
End Function
|
||||
|
||||
Public Overrides Function ToString() As String
|
||||
Return $"ssh {user}@{endpoint}:{port}"
|
||||
End Function
|
||||
End Class
|
|
@ -1,105 +0,0 @@
|
|||
#Region "Microsoft.VisualBasic::a16040febc3f2d131e86271d7a5e67cb, CloudKit\Docker\Arguments\Image.vb"
|
||||
|
||||
' Author:
|
||||
'
|
||||
' asuka (amethyst.asuka@gcmodeller.org)
|
||||
' xie (genetics@smrucc.org)
|
||||
' xieguigang (xie.guigang@live.com)
|
||||
'
|
||||
' Copyright (c) 2018 GPL3 Licensed
|
||||
'
|
||||
'
|
||||
' GNU GENERAL PUBLIC LICENSE (GPL3)
|
||||
'
|
||||
'
|
||||
' This program is free software: you can redistribute it and/or modify
|
||||
' it under the terms of the GNU General Public License as published by
|
||||
' the Free Software Foundation, either version 3 of the License, or
|
||||
' (at your option) any later version.
|
||||
'
|
||||
' This program is distributed in the hope that it will be useful,
|
||||
' but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
' MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
' GNU General Public License for more details.
|
||||
'
|
||||
' You should have received a copy of the GNU General Public License
|
||||
' along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
|
||||
|
||||
' /********************************************************************************/
|
||||
|
||||
' Summaries:
|
||||
|
||||
' Class Image
|
||||
'
|
||||
' Properties: Package, Publisher
|
||||
'
|
||||
' Function: ParseEntry, ToString
|
||||
'
|
||||
'
|
||||
' /********************************************************************************/
|
||||
|
||||
#End Region
|
||||
|
||||
Imports System.Runtime.CompilerServices
|
||||
|
||||
Namespace Arguments
|
||||
|
||||
''' <summary>
|
||||
''' Docker image name
|
||||
''' </summary>
|
||||
Public Class Image
|
||||
|
||||
Public Property Publisher As String
|
||||
Public Property Package As String
|
||||
|
||||
''' <summary>
|
||||
'''
|
||||
''' </summary>
|
||||
''' <param name="text">
|
||||
''' accept image name reference in format like:
|
||||
'''
|
||||
''' + ``imageName:tag``
|
||||
''' + ``user/imageName:tag``
|
||||
''' </param>
|
||||
''' <returns></returns>
|
||||
Public Shared Function ParseEntry(text As String) As Image
|
||||
With text.Trim.Split("/"c)
|
||||
Dim user$, name$
|
||||
|
||||
If .Length = 1 Then
|
||||
user = Nothing
|
||||
name = .ElementAt(0)
|
||||
Else
|
||||
user = .ElementAt(0)
|
||||
name = .ElementAt(1)
|
||||
End If
|
||||
|
||||
Return New Image With {
|
||||
.Package = name,
|
||||
.Publisher = user
|
||||
}
|
||||
End With
|
||||
End Function
|
||||
|
||||
<MethodImpl(MethodImplOptions.AggressiveInlining)>
|
||||
Public Overrides Function ToString() As String
|
||||
If Publisher.StringEmpty Then
|
||||
Return Package
|
||||
Else
|
||||
Return $"{Publisher}/{Package}"
|
||||
End If
|
||||
End Function
|
||||
|
||||
<MethodImpl(MethodImplOptions.AggressiveInlining)>
|
||||
Public Shared Widening Operator CType(repo As String) As Image
|
||||
Return ParseEntry(repo)
|
||||
End Operator
|
||||
|
||||
<MethodImpl(MethodImplOptions.AggressiveInlining)>
|
||||
Public Shared Narrowing Operator CType(img As Image) As String
|
||||
Return img.ToString
|
||||
End Operator
|
||||
End Class
|
||||
End Namespace
|
|
@ -1,103 +0,0 @@
|
|||
#Region "Microsoft.VisualBasic::bfd2bf7e327f6cfa9b21f60d2c670e4f, CloudKit\Docker\Arguments\Mount.vb"
|
||||
|
||||
' Author:
|
||||
'
|
||||
' asuka (amethyst.asuka@gcmodeller.org)
|
||||
' xie (genetics@smrucc.org)
|
||||
' xieguigang (xie.guigang@live.com)
|
||||
'
|
||||
' Copyright (c) 2018 GPL3 Licensed
|
||||
'
|
||||
'
|
||||
' GNU GENERAL PUBLIC LICENSE (GPL3)
|
||||
'
|
||||
'
|
||||
' This program is free software: you can redistribute it and/or modify
|
||||
' it under the terms of the GNU General Public License as published by
|
||||
' the Free Software Foundation, either version 3 of the License, or
|
||||
' (at your option) any later version.
|
||||
'
|
||||
' This program is distributed in the hope that it will be useful,
|
||||
' but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
' MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
' GNU General Public License for more details.
|
||||
'
|
||||
' You should have received a copy of the GNU General Public License
|
||||
' along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
|
||||
|
||||
' /********************************************************************************/
|
||||
|
||||
' Summaries:
|
||||
|
||||
' Class Mount
|
||||
'
|
||||
' Properties: IsValid, local, virtual
|
||||
'
|
||||
' Function: ToString
|
||||
'
|
||||
' Class PortForward
|
||||
'
|
||||
' Properties: local, virtual
|
||||
'
|
||||
' Function: ToString
|
||||
'
|
||||
'
|
||||
' /********************************************************************************/
|
||||
|
||||
#End Region
|
||||
|
||||
Imports System.Runtime.CompilerServices
|
||||
Imports Microsoft.VisualBasic.Net
|
||||
|
||||
Namespace Arguments
|
||||
|
||||
''' <summary>
|
||||
''' 共享文件夹
|
||||
''' </summary>
|
||||
Public Class Mount
|
||||
|
||||
''' <summary>
|
||||
''' 宿主机内的本地文件夹全路径
|
||||
''' </summary>
|
||||
Public Property local As String
|
||||
''' <summary>
|
||||
''' 虚拟机内的文件路径,共享文件夹将会在虚拟机内被挂载到这个路径上面
|
||||
''' </summary>
|
||||
Public Property virtual As String
|
||||
|
||||
''' <summary>
|
||||
''' 任何一个路径是空字符串就会被判断为无效参数, 对于<see cref="local"/>本地文件夹路径
|
||||
''' 还需要其存在于本地文件系统之上
|
||||
''' </summary>
|
||||
''' <returns></returns>
|
||||
Public ReadOnly Property IsValid As Boolean
|
||||
<MethodImpl(MethodImplOptions.AggressiveInlining)>
|
||||
Get
|
||||
Return (local.FileExists OrElse local.DirectoryExists) AndAlso Not virtual.StringEmpty
|
||||
End Get
|
||||
End Property
|
||||
|
||||
''' <summary>
|
||||
''' ``local:virtual``
|
||||
''' </summary>
|
||||
''' <returns></returns>
|
||||
Public Overrides Function ToString() As String
|
||||
Return $"{local.GetDirectoryFullPath}:{virtual}"
|
||||
End Function
|
||||
End Class
|
||||
|
||||
' -p 127.0.0.1:80:8080/tcp
|
||||
Public Class PortForward
|
||||
|
||||
Public Property virtual As Integer
|
||||
Public Property local As IPEndPoint
|
||||
|
||||
Public Overrides Function ToString() As String
|
||||
Return $"{local.IPAddress}:{local.Port}:{virtual}/tcp"
|
||||
End Function
|
||||
|
||||
End Class
|
||||
|
||||
End Namespace
|
|
@ -1,68 +0,0 @@
|
|||
#Region "Microsoft.VisualBasic::dea7be9c9d31d3f899a0e5e3c1cf4b45, CloudKit\Docker\Captures\Models.vb"
|
||||
|
||||
' Author:
|
||||
'
|
||||
' asuka (amethyst.asuka@gcmodeller.org)
|
||||
' xie (genetics@smrucc.org)
|
||||
' xieguigang (xie.guigang@live.com)
|
||||
'
|
||||
' Copyright (c) 2018 GPL3 Licensed
|
||||
'
|
||||
'
|
||||
' GNU GENERAL PUBLIC LICENSE (GPL3)
|
||||
'
|
||||
'
|
||||
' This program is free software: you can redistribute it and/or modify
|
||||
' it under the terms of the GNU General Public License as published by
|
||||
' the Free Software Foundation, either version 3 of the License, or
|
||||
' (at your option) any later version.
|
||||
'
|
||||
' This program is distributed in the hope that it will be useful,
|
||||
' but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
' MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
' GNU General Public License for more details.
|
||||
'
|
||||
' You should have received a copy of the GNU General Public License
|
||||
' along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
|
||||
|
||||
' /********************************************************************************/
|
||||
|
||||
' Summaries:
|
||||
|
||||
' Structure Search
|
||||
'
|
||||
'
|
||||
'
|
||||
' Structure Container
|
||||
'
|
||||
'
|
||||
'
|
||||
'
|
||||
' /********************************************************************************/
|
||||
|
||||
#End Region
|
||||
|
||||
Imports Darwinism.Docker.Arguments
|
||||
|
||||
Namespace Captures
|
||||
|
||||
Public Structure Search
|
||||
Dim NAME As Image
|
||||
Dim DESCRIPTION As String
|
||||
Dim STARS As Integer
|
||||
Dim OFFICIAL As String
|
||||
Dim AUTOMATED As String
|
||||
End Structure
|
||||
|
||||
Public Structure Container
|
||||
Dim CONTAINER_ID As String
|
||||
Dim IMAGE As Image
|
||||
Dim COMMAND As String
|
||||
Dim CREATED As String
|
||||
Dim STATUS As String
|
||||
Dim PORTS As String
|
||||
Dim NAMES As String
|
||||
End Structure
|
||||
End Namespace
|
|
@ -1,67 +0,0 @@
|
|||
#Region "Microsoft.VisualBasic::8de1799af471ac1b38838a4de69d16af, CloudKit\Docker\Captures\ParserHelpers.vb"
|
||||
|
||||
' Author:
|
||||
'
|
||||
' asuka (amethyst.asuka@gcmodeller.org)
|
||||
' xie (genetics@smrucc.org)
|
||||
' xieguigang (xie.guigang@live.com)
|
||||
'
|
||||
' Copyright (c) 2018 GPL3 Licensed
|
||||
'
|
||||
'
|
||||
' GNU GENERAL PUBLIC LICENSE (GPL3)
|
||||
'
|
||||
'
|
||||
' This program is free software: you can redistribute it and/or modify
|
||||
' it under the terms of the GNU General Public License as published by
|
||||
' the Free Software Foundation, either version 3 of the License, or
|
||||
' (at your option) any later version.
|
||||
'
|
||||
' This program is distributed in the hope that it will be useful,
|
||||
' but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
' MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
' GNU General Public License for more details.
|
||||
'
|
||||
' You should have received a copy of the GNU General Public License
|
||||
' along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
|
||||
|
||||
' /********************************************************************************/
|
||||
|
||||
' Summaries:
|
||||
|
||||
' Module ParserHelpers
|
||||
'
|
||||
' Function: ParseTable
|
||||
'
|
||||
'
|
||||
' /********************************************************************************/
|
||||
|
||||
#End Region
|
||||
|
||||
Imports System.Runtime.CompilerServices
|
||||
Imports Microsoft.VisualBasic.Text.Parser
|
||||
Imports r = System.Text.RegularExpressions.Regex
|
||||
|
||||
Namespace Captures
|
||||
|
||||
<HideModuleName>
|
||||
Public Module ParserHelpers
|
||||
|
||||
<Extension>
|
||||
Public Iterator Function ParseTable(Of T)(text$, creator As Func(Of String(), T)) As IEnumerable(Of T)
|
||||
Dim summary$() = text.Trim.LineTokens
|
||||
Dim header = r.Matches(summary(Scan0), "(\S+\s+)|(\S+)").ToArray
|
||||
Dim fieldLength%() = header.Select(AddressOf Len).ToArray
|
||||
|
||||
For Each line As String In summary.Skip(1)
|
||||
Dim tokens$() = FormattedParser _
|
||||
.FieldParser(line, fieldLength) _
|
||||
.ToArray
|
||||
|
||||
Yield creator(tokens)
|
||||
Next
|
||||
End Function
|
||||
End Module
|
||||
End Namespace
|
|
@ -1,141 +0,0 @@
|
|||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<PropertyGroup>
|
||||
<RootNamespace>Darwinism.Docker</RootNamespace>
|
||||
<TargetFrameworks>net6.0-windows;net6.0;net48</TargetFrameworks>
|
||||
<AssemblyName>Docker</AssemblyName>
|
||||
<Description>High Performance Parallel Compute Library on Unix .NET 5 runtime</Description>
|
||||
<PackageRequireLicenseAcceptance>true</PackageRequireLicenseAcceptance>
|
||||
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
|
||||
<Copyright>i@xieguigang.me</Copyright>
|
||||
<PackageLicenseFile>LICENSE</PackageLicenseFile>
|
||||
<Configurations>Debug;Release;Rsharp_app_release;LipidSearch;PlantMAT;NPSearch;mzkit_win32</Configurations>
|
||||
<Platforms>AnyCPU;x64</Platforms>
|
||||
<PackageProjectUrl>https://github.com/xieguigang/Darwinism</PackageProjectUrl>
|
||||
<RepositoryUrl>https://github.com/xieguigang/Darwinism</RepositoryUrl>
|
||||
<RepositoryType>git</RepositoryType>
|
||||
<AutoGenerateBindingRedirects>True</AutoGenerateBindingRedirects>
|
||||
<UseApplicationFramework>True</UseApplicationFramework>
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
|
||||
<RemoveIntegerChecks>true</RemoveIntegerChecks>
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<DebugType>full</DebugType>
|
||||
<DefineConstants>netcore5=1,UNIX=1</DefineConstants>
|
||||
<DocumentationFile>Docker.xml</DocumentationFile>
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||
<RemoveIntegerChecks>true</RemoveIntegerChecks>
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<DebugType>full</DebugType>
|
||||
<DefineConstants>netcore5=1,UNIX=1</DefineConstants>
|
||||
<DocumentationFile>Docker.xml</DocumentationFile>
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Rsharp_app_release|x64'">
|
||||
<RemoveIntegerChecks>true</RemoveIntegerChecks>
|
||||
<Optimize>false</Optimize>
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<DebugType>full</DebugType>
|
||||
<DefineDebug>false</DefineDebug>
|
||||
<DefineTrace>true</DefineTrace>
|
||||
<DefineConstants>netcore5=1,UNIX=1</DefineConstants>
|
||||
<DocumentationFile>Docker.xml</DocumentationFile>
|
||||
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='mzkit_win32|x64'">
|
||||
<RemoveIntegerChecks>true</RemoveIntegerChecks>
|
||||
<Optimize>false</Optimize>
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<DebugType>full</DebugType>
|
||||
<DefineDebug>false</DefineDebug>
|
||||
<DefineTrace>true</DefineTrace>
|
||||
<DefineConstants>netcore5=1,UNIX=1</DefineConstants>
|
||||
<DocumentationFile>Docker.xml</DocumentationFile>
|
||||
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='PlantMAT|x64'">
|
||||
<RemoveIntegerChecks>true</RemoveIntegerChecks>
|
||||
<Optimize>false</Optimize>
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<DebugType>full</DebugType>
|
||||
<DefineDebug>false</DefineDebug>
|
||||
<DefineTrace>true</DefineTrace>
|
||||
<DefineConstants>netcore5=1,UNIX=1</DefineConstants>
|
||||
<DocumentationFile>Docker.xml</DocumentationFile>
|
||||
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='NPSearch|x64'">
|
||||
<RemoveIntegerChecks>true</RemoveIntegerChecks>
|
||||
<Optimize>false</Optimize>
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<DebugType>full</DebugType>
|
||||
<DefineDebug>false</DefineDebug>
|
||||
<DefineTrace>true</DefineTrace>
|
||||
<DefineConstants>netcore5=1,UNIX=1</DefineConstants>
|
||||
<DocumentationFile>Docker.xml</DocumentationFile>
|
||||
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='LipidSearch|x64'">
|
||||
<RemoveIntegerChecks>true</RemoveIntegerChecks>
|
||||
<Optimize>false</Optimize>
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<DebugType>full</DebugType>
|
||||
<DefineDebug>false</DefineDebug>
|
||||
<DefineTrace>true</DefineTrace>
|
||||
<DefineConstants>netcore5=1,UNIX=1</DefineConstants>
|
||||
<DocumentationFile>Docker.xml</DocumentationFile>
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
|
||||
<DocumentationFile>Docker.xml</DocumentationFile>
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Rsharp_app_release|AnyCPU'">
|
||||
<DocumentationFile>Docker.xml</DocumentationFile>
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='mzkit_win32|AnyCPU'">
|
||||
<DocumentationFile>Docker.xml</DocumentationFile>
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='PlantMAT|AnyCPU'">
|
||||
<DocumentationFile>Docker.xml</DocumentationFile>
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='NPSearch|AnyCPU'">
|
||||
<DocumentationFile>Docker.xml</DocumentationFile>
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='LipidSearch|AnyCPU'">
|
||||
<DocumentationFile>Docker.xml</DocumentationFile>
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||
<DocumentationFile>Docker.xml</DocumentationFile>
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Debug|net6.0-windows|AnyCPU'" />
|
||||
|
||||
<ItemGroup>
|
||||
<Compile Remove="test\**" />
|
||||
<EmbeddedResource Remove="test\**" />
|
||||
<None Remove="test\**" />
|
||||
<Compile Remove="PowerShell.vb" />
|
||||
<None Include="..\..\..\LICENSE">
|
||||
<Pack>True</Pack>
|
||||
<PackagePath></PackagePath>
|
||||
</None>
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\..\..\..\sciBASIC#\Microsoft.VisualBasic.Core\src\Core.vbproj" />
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
|
@ -1,282 +0,0 @@
|
|||
#Region "Microsoft.VisualBasic::2bc4c7a574db43f6df5da77e267ee513, CloudKit\Docker\Environment.vb"
|
||||
|
||||
' Author:
|
||||
'
|
||||
' asuka (amethyst.asuka@gcmodeller.org)
|
||||
' xie (genetics@smrucc.org)
|
||||
' xieguigang (xie.guigang@live.com)
|
||||
'
|
||||
' Copyright (c) 2018 GPL3 Licensed
|
||||
'
|
||||
'
|
||||
' GNU GENERAL PUBLIC LICENSE (GPL3)
|
||||
'
|
||||
'
|
||||
' This program is free software: you can redistribute it and/or modify
|
||||
' it under the terms of the GNU General Public License as published by
|
||||
' the Free Software Foundation, either version 3 of the License, or
|
||||
' (at your option) any later version.
|
||||
'
|
||||
' This program is distributed in the hope that it will be useful,
|
||||
' but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
' MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
' GNU General Public License for more details.
|
||||
'
|
||||
' You should have received a copy of the GNU General Public License
|
||||
' along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
|
||||
|
||||
' /********************************************************************************/
|
||||
|
||||
' Summaries:
|
||||
|
||||
' Class Environment
|
||||
'
|
||||
' Properties: [Shared], container
|
||||
'
|
||||
' Constructor: (+1 Overloads) Sub New
|
||||
' Function: CreateDockerCommand, (+2 Overloads) Mount
|
||||
'
|
||||
' Class DockerAppDriver
|
||||
'
|
||||
' Constructor: (+1 Overloads) Sub New
|
||||
' Function: Shell
|
||||
'
|
||||
' /********************************************************************************/
|
||||
|
||||
#End Region
|
||||
|
||||
Imports System.Runtime.CompilerServices
|
||||
Imports System.Text
|
||||
Imports Darwinism.Docker.Arguments
|
||||
Imports Microsoft.VisualBasic.Linq
|
||||
|
||||
''' <summary>
|
||||
''' The container environment module for ``docker run ...``
|
||||
''' </summary>
|
||||
Public Class Environment
|
||||
|
||||
' Run a command in a new container
|
||||
'
|
||||
' Options:
|
||||
' --add-host list Add a custom host-to-IP mapping
|
||||
' (host:ip)
|
||||
' -a, --attach list Attach to STDIN, STDOUT or STDERR
|
||||
' --blkio-weight uint16 Block IO (relative weight),
|
||||
' between 10 and 1000, or 0 to
|
||||
' disable (default 0)
|
||||
' --blkio-weight-device list Block IO weight (relative device
|
||||
' weight) (default [])
|
||||
' --cap-add list Add Linux capabilities
|
||||
' --cap-drop list Drop Linux capabilities
|
||||
' --cgroup-parent string Optional parent cgroup for the
|
||||
' container
|
||||
' --cidfile string Write the container ID to the file
|
||||
' --cpu-period int Limit CPU CFS (Completely Fair
|
||||
' Scheduler) period
|
||||
' --cpu-quota int Limit CPU CFS (Completely Fair
|
||||
' Scheduler) quota
|
||||
' --cpu-rt-period int Limit CPU real-time period in
|
||||
' microseconds
|
||||
' --cpu-rt-runtime int Limit CPU real-time runtime in
|
||||
' microseconds
|
||||
' -c, --cpu-shares int CPU shares (relative weight)
|
||||
' --cpus decimal Number of CPUs
|
||||
' --cpuset-cpus string CPUs in which to allow execution
|
||||
' (0-3, 0,1)
|
||||
' --cpuset-mems string MEMs in which to allow execution
|
||||
' (0-3, 0,1)
|
||||
' -d, --detach Run container in background and
|
||||
' print container ID
|
||||
' --detach-keys string Override the key sequence for
|
||||
' detaching a container
|
||||
' --device list Add a host device to the container
|
||||
' --device-cgroup-rule list Add a rule to the cgroup allowed
|
||||
' devices list
|
||||
' --device-read-bps list Limit read rate (bytes per second)
|
||||
' from a device (default [])
|
||||
' --device-read-iops list Limit read rate (IO per second)
|
||||
' from a device (default [])
|
||||
' --device-write-bps list Limit write rate (bytes per
|
||||
' second) to a device (default [])
|
||||
' --device-write-iops list Limit write rate (IO per second)
|
||||
' to a device (default [])
|
||||
' --disable-content-trust Skip image verification (default true)
|
||||
' --dns list Set custom DNS servers
|
||||
' --dns-option list Set DNS options
|
||||
' --dns-search list Set custom DNS search domains
|
||||
' --entrypoint string Overwrite the default ENTRYPOINT
|
||||
' of the image
|
||||
' -e, --env list Set environment variables
|
||||
' --env-file list Read in a file of environment variables
|
||||
' --expose list Expose a port or a range of ports
|
||||
' --group-add list Add additional groups to join
|
||||
' --health-cmd string Command to run to check health
|
||||
' --health-interval duration Time between running the check
|
||||
' (ms|s|m|h) (default 0s)
|
||||
' --health-retries int Consecutive failures needed to
|
||||
' report unhealthy
|
||||
' --health-start-period duration Start period for the container to
|
||||
' initialize before starting
|
||||
' health-retries countdown
|
||||
' (ms|s|m|h) (default 0s)
|
||||
' --health-timeout duration Maximum time to allow one check to
|
||||
' run (ms|s|m|h) (default 0s)
|
||||
' --help Print usage
|
||||
' -h, --hostname string Container host name
|
||||
' --init Run an init inside the container
|
||||
' that forwards signals and reaps
|
||||
' processes
|
||||
' -i, --interactive Keep STDIN open even if not attached
|
||||
' --ip string IPv4 address (e.g., 172.30.100.104)
|
||||
' --ip6 string IPv6 address (e.g., 2001:db8::33)
|
||||
' --ipc string IPC mode to use
|
||||
' --isolation string Container isolation technology
|
||||
' --kernel-memory bytes Kernel memory limit
|
||||
' -l, --label list Set meta data on a container
|
||||
' --label-file list Read in a line delimited file of labels
|
||||
' --link list Add link to another container
|
||||
' --link-local-ip list Container IPv4/IPv6 link-local
|
||||
' addresses
|
||||
' --log-driver string Logging driver for the container
|
||||
' --log-opt list Log driver options
|
||||
' --mac-address string Container MAC address (e.g.,
|
||||
' 92:d0:c6:0a:29:33)
|
||||
' -m, --memory bytes Memory limit
|
||||
' --memory-reservation bytes Memory soft limit
|
||||
' --memory-swap bytes Swap limit equal to memory plus
|
||||
' swap: '-1' to enable unlimited swap
|
||||
' --memory-swappiness int Tune container memory swappiness
|
||||
' (0 to 100) (default -1)
|
||||
' --mount mount Attach a filesystem mount to the
|
||||
' container
|
||||
' --name string Assign a name to the container
|
||||
' --network string Connect a container to a network
|
||||
' (default "default")
|
||||
' --network-alias list Add network-scoped alias for the
|
||||
' container
|
||||
' --no-healthcheck Disable any container-specified
|
||||
' HEALTHCHECK
|
||||
' --oom-kill-disable Disable OOM Killer
|
||||
' --oom-score-adj int Tune host's OOM preferences (-1000
|
||||
' to 1000)
|
||||
' --pid string PID namespace to use
|
||||
' --pids-limit int Tune container pids limit (set -1
|
||||
' for unlimited)
|
||||
' --privileged Give extended privileges to this
|
||||
' container
|
||||
' -p, --publish list Publish a container's port(s) to
|
||||
' the host
|
||||
' -P, --publish-all Publish all exposed ports to
|
||||
' random ports
|
||||
' --read-only Mount the container's root
|
||||
' filesystem as read only
|
||||
' --restart string Restart policy to apply when a
|
||||
' container exits (default "no")
|
||||
' --rm Automatically remove the container
|
||||
' when it exits
|
||||
' --runtime string Runtime to use for this container
|
||||
' --security-opt list Security Options
|
||||
' --shm-size bytes Size of /dev/shm
|
||||
' --sig-proxy Proxy received signals to the
|
||||
' process (default true)
|
||||
' --stop-signal string Signal to stop a container
|
||||
' (default "15")
|
||||
' --stop-timeout int Timeout (in seconds) to stop a
|
||||
' container
|
||||
' --storage-opt list Storage driver options for the
|
||||
' container
|
||||
' --sysctl map Sysctl options (default map[])
|
||||
' --tmpfs list Mount a tmpfs directory
|
||||
' -t, --tty Allocate a pseudo-TTY
|
||||
' --ulimit ulimit Ulimit options (default [])
|
||||
' -u, --user string Username or UID (format:
|
||||
' <name|uid>[:<group|gid>])
|
||||
' --userns string User namespace to use
|
||||
' --uts string UTS namespace to use
|
||||
' -v, --volume list Bind mount a volume
|
||||
' --volume-driver string Optional volume driver for the
|
||||
' container
|
||||
' --volumes-from list Mount volumes from the specified
|
||||
' container(s)
|
||||
' -w, --workdir string Working directory inside the container
|
||||
|
||||
Public ReadOnly Property [Shared] As Mount()
|
||||
Public ReadOnly Property container As Image
|
||||
|
||||
Sub New(container As Image)
|
||||
Me.container = container
|
||||
End Sub
|
||||
|
||||
Public Function Mount(local$, virtual$) As Environment
|
||||
_Shared = _Shared.JoinIterates(New Mount With {.local = local, .virtual = virtual}).ToArray
|
||||
Return Me
|
||||
End Function
|
||||
|
||||
Public Function Mount(ParamArray [shared] As Mount()) As Environment
|
||||
_Shared = [shared]
|
||||
Return Me
|
||||
End Function
|
||||
|
||||
Const InvalidMount$ = "Shared Drive argument is presented, but value is invalid, -v option will be ignored!"
|
||||
|
||||
''' <summary>
|
||||
''' Create a docker run command for running command ``app arguments``
|
||||
''' </summary>
|
||||
''' <param name="command">``app arguments``</param>
|
||||
''' <param name="workdir">Working directory inside the container</param>
|
||||
''' <param name="portForward">Publish a container's port(s) to the host</param>
|
||||
''' <returns>
|
||||
''' docker run xxx
|
||||
''' </returns>
|
||||
Public Function CreateDockerCommand(command$, Optional workdir$ = Nothing, Optional portForward As PortForward = Nothing) As String
|
||||
Dim options As New StringBuilder
|
||||
|
||||
If Not [Shared] Is Nothing Then
|
||||
For Each map As Mount In [Shared]
|
||||
If map.IsValid Then
|
||||
Call options.AppendLine($"-v {map}")
|
||||
Else
|
||||
Call InvalidMount.Warning
|
||||
End If
|
||||
Next
|
||||
End If
|
||||
If Not workdir.StringEmpty Then
|
||||
Call options.AppendLine($"--workdir=""{workdir}""")
|
||||
End If
|
||||
If Not portForward Is Nothing Then
|
||||
Call options.AppendLine($"-p {portForward}")
|
||||
End If
|
||||
|
||||
Return $"run {options} {container} {command}"
|
||||
End Function
|
||||
End Class
|
||||
|
||||
''' <summary>
|
||||
''' 通过这个模块来运行某一个Docker container之中的命令行命令
|
||||
''' </summary>
|
||||
Public Class DockerAppDriver
|
||||
|
||||
ReadOnly docker As Environment
|
||||
ReadOnly appHome$
|
||||
ReadOnly appName$
|
||||
|
||||
''' <summary>
|
||||
'''
|
||||
''' </summary>
|
||||
''' <param name="container">Docker容器的``image ID``</param>
|
||||
''' <param name="app">可执行文件的文件名</param>
|
||||
''' <param name="mount"></param>
|
||||
''' <param name="home">应用程序的文件夹目录路径</param>
|
||||
Sub New(container As Image, app$, Optional mount As Mount = Nothing, Optional home$ = Nothing)
|
||||
docker = New Environment(container).Mount(mount)
|
||||
appHome = home
|
||||
appName = app
|
||||
End Sub
|
||||
|
||||
<MethodImpl(MethodImplOptions.AggressiveInlining)>
|
||||
Public Function Shell(args$, Optional workdir$ = Nothing) As String
|
||||
Return ShellCommand.Run("docker", docker.CreateDockerCommand($"{appHome}/{appName} {args}", workdir:=workdir))
|
||||
End Function
|
||||
End Class
|
|
@ -1,129 +0,0 @@
|
|||
#Region "Microsoft.VisualBasic::a516a8ece188b9bf689ee6e775a60d4e, CloudKit\Docker\PowerShell.vb"
|
||||
|
||||
' Author:
|
||||
'
|
||||
' asuka (amethyst.asuka@gcmodeller.org)
|
||||
' xie (genetics@smrucc.org)
|
||||
' xieguigang (xie.guigang@live.com)
|
||||
'
|
||||
' Copyright (c) 2018 GPL3 Licensed
|
||||
'
|
||||
'
|
||||
' GNU GENERAL PUBLIC LICENSE (GPL3)
|
||||
'
|
||||
'
|
||||
' This program is free software: you can redistribute it and/or modify
|
||||
' it under the terms of the GNU General Public License as published by
|
||||
' the Free Software Foundation, either version 3 of the License, or
|
||||
' (at your option) any later version.
|
||||
'
|
||||
' This program is distributed in the hope that it will be useful,
|
||||
' but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
' MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
' GNU General Public License for more details.
|
||||
'
|
||||
' You should have received a copy of the GNU General Public License
|
||||
' along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
|
||||
|
||||
' /********************************************************************************/
|
||||
|
||||
' Summaries:
|
||||
|
||||
' Class PowerShell
|
||||
'
|
||||
' Function: RunPSScript, RunScript
|
||||
'
|
||||
' /********************************************************************************/
|
||||
|
||||
#End Region
|
||||
|
||||
Imports System.Collections.ObjectModel
|
||||
Imports System.Management.Automation
|
||||
Imports System.Management.Automation.Runspaces
|
||||
Imports System.Runtime.CompilerServices
|
||||
Imports System.Text
|
||||
|
||||
''' <summary>
|
||||
''' PowerShell interface to VB.NET
|
||||
''' </summary>
|
||||
Public Class PowerShell
|
||||
|
||||
Friend ReadOnly logs As New List(Of String)
|
||||
|
||||
''' <summary>
|
||||
'''
|
||||
''' </summary>
|
||||
''' <param name="command">
|
||||
''' 会自动将回车符替换为空格
|
||||
''' </param>
|
||||
''' <returns></returns>
|
||||
Default Public ReadOnly Property EVal(command As String) As String
|
||||
<MethodImpl(MethodImplOptions.AggressiveInlining)>
|
||||
Get
|
||||
Return RunScript(scriptText:=command.TrimNewLine)
|
||||
End Get
|
||||
End Property
|
||||
|
||||
''' <summary>
|
||||
''' Takes script text as input and runs it, then converts the results to a string to return to the user
|
||||
''' </summary>
|
||||
''' <param name="scriptText"></param>
|
||||
''' <returns></returns>
|
||||
''' <remarks>
|
||||
''' https://blogs.msdn.microsoft.com/zainnab/2008/07/26/calling-a-powershell-script-from-your-net-code/
|
||||
''' </remarks>
|
||||
Public Function RunScript(scriptText As String) As String
|
||||
' convert the script result into a single string
|
||||
Dim out As New StringBuilder()
|
||||
Dim results As Collection(Of PSObject) = RunPSScript(scriptText)
|
||||
|
||||
For Each obj As PSObject In results
|
||||
out.AppendLine(obj.ToString())
|
||||
Next
|
||||
|
||||
Call logs.Add(scriptText)
|
||||
|
||||
' return the results of the script that has
|
||||
' now been converted to text
|
||||
Return out.ToString()
|
||||
End Function
|
||||
|
||||
''' <summary>
|
||||
'''
|
||||
''' </summary>
|
||||
''' <param name="ps"></param>
|
||||
''' <param name="outString">
|
||||
''' add an extra command to transform the script output objects
|
||||
''' into nicely formatted strings remove this line to get the
|
||||
''' actual objects that the script returns. For example, the script
|
||||
''' ``Get-Process`` returns a collection of <see cref="Process"/>
|
||||
''' instances.
|
||||
''' </param>
|
||||
''' <returns></returns>
|
||||
Public Function RunPSScript(ps$, Optional outString As Boolean = True) As Collection(Of PSObject)
|
||||
' create Powershell runspace
|
||||
Using myRunSpace As Runspace = RunspaceFactory.CreateRunspace()
|
||||
' open it
|
||||
Call myRunSpace.Open()
|
||||
|
||||
With myRunSpace.CreatePipeline()
|
||||
' create a pipeline and feed it the script text
|
||||
Call .Commands.AddScript(ps)
|
||||
|
||||
If outString Then
|
||||
' add an extra command to transform the script output objects
|
||||
' into nicely formatted strings remove this line to get the
|
||||
' actual objects that the script returns. For example, the script
|
||||
' "Get-Process" returns a collection of System.Diagnostics.Process
|
||||
' instances.
|
||||
Call .Commands.Add("Out-String")
|
||||
End If
|
||||
|
||||
' execute the script
|
||||
Return .Invoke()
|
||||
End With
|
||||
End Using
|
||||
End Function
|
||||
End Class
|
|
@ -1,24 +0,0 @@
|
|||
Public Module ShellCommand
|
||||
|
||||
Friend ReadOnly shell As Func(Of String, String, String)
|
||||
Friend ReadOnly logs As New List(Of String)
|
||||
|
||||
Public Iterator Function CommandHistory() As IEnumerable(Of String)
|
||||
For Each line As String In logs
|
||||
Yield line
|
||||
Next
|
||||
End Function
|
||||
|
||||
Sub New()
|
||||
shell = Function(app, args) As String
|
||||
Dim lines As New List(Of String)
|
||||
Call logs.Add($"{app} {args}")
|
||||
Call CommandLine.ExecSub(app, args, onReadLine:=AddressOf lines.Add)
|
||||
Return lines.JoinBy(vbLf)
|
||||
End Function
|
||||
End Sub
|
||||
|
||||
Public Function Run(app As String, args As String) As String
|
||||
Return shell(app, args)
|
||||
End Function
|
||||
End Module
|
|
@ -1,6 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<configuration>
|
||||
<startup>
|
||||
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.8"/>
|
||||
</startup>
|
||||
</configuration>
|
|
@ -1,80 +0,0 @@
|
|||
#Region "Microsoft.VisualBasic::a754bf01330f73d1889d37788fb98aec, CloudKit\Docker\test\Module1.vb"
|
||||
|
||||
' Author:
|
||||
'
|
||||
' asuka (amethyst.asuka@gcmodeller.org)
|
||||
' xie (genetics@smrucc.org)
|
||||
' xieguigang (xie.guigang@live.com)
|
||||
'
|
||||
' Copyright (c) 2018 GPL3 Licensed
|
||||
'
|
||||
'
|
||||
' GNU GENERAL PUBLIC LICENSE (GPL3)
|
||||
'
|
||||
'
|
||||
' This program is free software: you can redistribute it and/or modify
|
||||
' it under the terms of the GNU General Public License as published by
|
||||
' the Free Software Foundation, either version 3 of the License, or
|
||||
' (at your option) any later version.
|
||||
'
|
||||
' This program is distributed in the hope that it will be useful,
|
||||
' but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
' MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
' GNU General Public License for more details.
|
||||
'
|
||||
' You should have received a copy of the GNU General Public License
|
||||
' along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
|
||||
|
||||
' /********************************************************************************/
|
||||
|
||||
' Summaries:
|
||||
|
||||
' Module Module1
|
||||
'
|
||||
' Sub: Main, testPuTTY
|
||||
'
|
||||
' /********************************************************************************/
|
||||
|
||||
#End Region
|
||||
|
||||
Imports Darwinism
|
||||
Imports Darwinism.Centos
|
||||
Imports Darwinism.Docker.Arguments
|
||||
Imports Microsoft.VisualBasic.Serialization.JSON
|
||||
|
||||
Module Module1
|
||||
|
||||
Sub Main()
|
||||
|
||||
Call testPuTTY()
|
||||
|
||||
Dim ps As New Docker.PowerShell
|
||||
|
||||
' Call Console.WriteLine(ps.RunScript("docker ps"))
|
||||
|
||||
' Call Console.WriteLine(Docker.PS.ToArray.GetJson)
|
||||
|
||||
' Call Console.WriteLine(Docker.Search("centos").ToArray.GetJson)
|
||||
|
||||
|
||||
Call Console.WriteLine(Docker.Run("centos", "echo ""hello world"""))
|
||||
Call Console.WriteLine(Docker.Run("centos", "ls -l /mnt/ntfs", mounts:={New Mount With {.local = "D:\test", .virtual = "/mnt/ntfs"}}))
|
||||
|
||||
For Each line In Docker.CommandHistory
|
||||
Call Console.WriteLine(line)
|
||||
Next
|
||||
|
||||
Pause()
|
||||
End Sub
|
||||
|
||||
Sub testPuTTY()
|
||||
Dim ssh As New PuTTY("xcms", "12345", "192.168.1.253")
|
||||
|
||||
Call Console.WriteLine(ssh.Shell("ls", "-l /mnt/smb/tmp/test_watcher/p+n/neg/mzML"))
|
||||
Call Console.WriteLine(ssh.Shell("Rscript", "-e \""biodeep::run.Deconvolution(raw = '/mnt/smb/tmp/test_watcher/p+n/neg/mzML');\"""))
|
||||
|
||||
Pause()
|
||||
End Sub
|
||||
End Module
|
|
@ -1,13 +0,0 @@
|
|||
'------------------------------------------------------------------------------
|
||||
' <auto-generated>
|
||||
' This code was generated by a tool.
|
||||
' Runtime Version:4.0.30319.42000
|
||||
'
|
||||
' Changes to this file may cause incorrect behavior and will be lost if
|
||||
' the code is regenerated.
|
||||
' </auto-generated>
|
||||
'------------------------------------------------------------------------------
|
||||
|
||||
Option Strict On
|
||||
Option Explicit On
|
||||
|
|
@ -1,10 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<MyApplicationData xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
|
||||
<MySubMain>false</MySubMain>
|
||||
<SingleInstance>false</SingleInstance>
|
||||
<ShutdownMode>0</ShutdownMode>
|
||||
<EnableVisualStyles>true</EnableVisualStyles>
|
||||
<AuthenticationMode>0</AuthenticationMode>
|
||||
<ApplicationType>2</ApplicationType>
|
||||
<SaveMySettingsOnExit>true</SaveMySettingsOnExit>
|
||||
</MyApplicationData>
|
|
@ -1,35 +0,0 @@
|
|||
Imports System
|
||||
Imports System.Reflection
|
||||
Imports System.Runtime.InteropServices
|
||||
|
||||
' General Information about an assembly is controlled through the following
|
||||
' set of attributes. Change these attribute values to modify the information
|
||||
' associated with an assembly.
|
||||
|
||||
' Review the values of the assembly attributes
|
||||
|
||||
<Assembly: AssemblyTitle("test")>
|
||||
<Assembly: AssemblyDescription("")>
|
||||
<Assembly: AssemblyCompany("")>
|
||||
<Assembly: AssemblyProduct("test")>
|
||||
<Assembly: AssemblyCopyright("Copyright © 2019")>
|
||||
<Assembly: AssemblyTrademark("")>
|
||||
|
||||
<Assembly: ComVisible(False)>
|
||||
|
||||
'The following GUID is for the ID of the typelib if this project is exposed to COM
|
||||
<Assembly: Guid("9f383d26-c932-4d67-bc22-9b87b21f3d71")>
|
||||
|
||||
' Version information for an assembly consists of the following four values:
|
||||
'
|
||||
' Major Version
|
||||
' Minor Version
|
||||
' Build Number
|
||||
' Revision
|
||||
'
|
||||
' You can specify all the values or you can default the Build and Revision Numbers
|
||||
' by using the '*' as shown below:
|
||||
' <Assembly: AssemblyVersion("1.0.*")>
|
||||
|
||||
<Assembly: AssemblyVersion("1.0.0.0")>
|
||||
<Assembly: AssemblyFileVersion("1.0.0.0")>
|
|
@ -1,63 +0,0 @@
|
|||
'------------------------------------------------------------------------------
|
||||
' <auto-generated>
|
||||
' This code was generated by a tool.
|
||||
' Runtime Version:4.0.30319.42000
|
||||
'
|
||||
' Changes to this file may cause incorrect behavior and will be lost if
|
||||
' the code is regenerated.
|
||||
' </auto-generated>
|
||||
'------------------------------------------------------------------------------
|
||||
|
||||
Option Strict On
|
||||
Option Explicit On
|
||||
|
||||
Imports System
|
||||
|
||||
Namespace My.Resources
|
||||
|
||||
'This class was auto-generated by the StronglyTypedResourceBuilder
|
||||
'class via a tool like ResGen or Visual Studio.
|
||||
'To add or remove a member, edit your .ResX file then rerun ResGen
|
||||
'with the /str option, or rebuild your VS project.
|
||||
'''<summary>
|
||||
''' A strongly-typed resource class, for looking up localized strings, etc.
|
||||
'''</summary>
|
||||
<Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "16.0.0.0"), _
|
||||
Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
|
||||
Global.System.Runtime.CompilerServices.CompilerGeneratedAttribute(), _
|
||||
Global.Microsoft.VisualBasic.HideModuleNameAttribute()> _
|
||||
Friend Module Resources
|
||||
|
||||
Private resourceMan As Global.System.Resources.ResourceManager
|
||||
|
||||
Private resourceCulture As Global.System.Globalization.CultureInfo
|
||||
|
||||
'''<summary>
|
||||
''' Returns the cached ResourceManager instance used by this class.
|
||||
'''</summary>
|
||||
<Global.System.ComponentModel.EditorBrowsableAttribute(Global.System.ComponentModel.EditorBrowsableState.Advanced)> _
|
||||
Friend ReadOnly Property ResourceManager() As Global.System.Resources.ResourceManager
|
||||
Get
|
||||
If Object.ReferenceEquals(resourceMan, Nothing) Then
|
||||
Dim temp As Global.System.Resources.ResourceManager = New Global.System.Resources.ResourceManager("test.Resources", GetType(Resources).Assembly)
|
||||
resourceMan = temp
|
||||
End If
|
||||
Return resourceMan
|
||||
End Get
|
||||
End Property
|
||||
|
||||
'''<summary>
|
||||
''' Overrides the current thread's CurrentUICulture property for all
|
||||
''' resource lookups using this strongly typed resource class.
|
||||
'''</summary>
|
||||
<Global.System.ComponentModel.EditorBrowsableAttribute(Global.System.ComponentModel.EditorBrowsableState.Advanced)> _
|
||||
Friend Property Culture() As Global.System.Globalization.CultureInfo
|
||||
Get
|
||||
Return resourceCulture
|
||||
End Get
|
||||
Set
|
||||
resourceCulture = value
|
||||
End Set
|
||||
End Property
|
||||
End Module
|
||||
End Namespace
|
|
@ -1,117 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
The primary goals of this format is to allow a simple XML format
|
||||
that is mostly human readable. The generation and parsing of the
|
||||
various data types are done through the TypeConverter classes
|
||||
associated with the data types.
|
||||
|
||||
Example:
|
||||
|
||||
... ado.net/XML headers & schema ...
|
||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||
<resheader name="version">2.0</resheader>
|
||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||
</data>
|
||||
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||
<comment>This is a comment</comment>
|
||||
</data>
|
||||
|
||||
There are any number of "resheader" rows that contain simple
|
||||
name/value pairs.
|
||||
|
||||
Each data row contains a name, and value. The row also contains a
|
||||
type or mimetype. Type corresponds to a .NET class that support
|
||||
text/value conversion through the TypeConverter architecture.
|
||||
Classes that don't support this are serialized and stored with the
|
||||
mimetype set.
|
||||
|
||||
The mimetype is used for serialized objects, and tells the
|
||||
ResXResourceReader how to depersist the object. This is currently not
|
||||
extensible. For a given mimetype the value must be set accordingly:
|
||||
|
||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||
that the ResXResourceWriter will generate, however the reader can
|
||||
read any of the formats listed below.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.binary.base64
|
||||
value : The object must be serialized with
|
||||
: System.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||
value : The object must be serialized into a byte array
|
||||
: using a System.ComponentModel.TypeConverter
|
||||
: and then encoded with base64 encoding.
|
||||
-->
|
||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||
<xsd:element name="root" msdata:IsDataSet="true">
|
||||
<xsd:complexType>
|
||||
<xsd:choice maxOccurs="unbounded">
|
||||
<xsd:element name="metadata">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
<xsd:attribute name="type" type="xsd:string" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="assembly">
|
||||
<xsd:complexType>
|
||||
<xsd:attribute name="alias" type="xsd:string" />
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="data">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" msdata:Ordinal="1" />
|
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="resheader">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:choice>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:schema>
|
||||
<resheader name="resmimetype">
|
||||
<value>text/microsoft-resx</value>
|
||||
</resheader>
|
||||
<resheader name="version">
|
||||
<value>2.0</value>
|
||||
</resheader>
|
||||
<resheader name="reader">
|
||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
</root>
|
|
@ -1,73 +0,0 @@
|
|||
'------------------------------------------------------------------------------
|
||||
' <auto-generated>
|
||||
' This code was generated by a tool.
|
||||
' Runtime Version:4.0.30319.42000
|
||||
'
|
||||
' Changes to this file may cause incorrect behavior and will be lost if
|
||||
' the code is regenerated.
|
||||
' </auto-generated>
|
||||
'------------------------------------------------------------------------------
|
||||
|
||||
Option Strict On
|
||||
Option Explicit On
|
||||
|
||||
|
||||
Namespace My
|
||||
|
||||
<Global.System.Runtime.CompilerServices.CompilerGeneratedAttribute(), _
|
||||
Global.System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "16.6.0.0"), _
|
||||
Global.System.ComponentModel.EditorBrowsableAttribute(Global.System.ComponentModel.EditorBrowsableState.Advanced)> _
|
||||
Partial Friend NotInheritable Class MySettings
|
||||
Inherits Global.System.Configuration.ApplicationSettingsBase
|
||||
|
||||
Private Shared defaultInstance As MySettings = CType(Global.System.Configuration.ApplicationSettingsBase.Synchronized(New MySettings()),MySettings)
|
||||
|
||||
#Region "My.Settings Auto-Save Functionality"
|
||||
#If _MyType = "WindowsForms" Then
|
||||
Private Shared addedHandler As Boolean
|
||||
|
||||
Private Shared addedHandlerLockObject As New Object
|
||||
|
||||
<Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), Global.System.ComponentModel.EditorBrowsableAttribute(Global.System.ComponentModel.EditorBrowsableState.Advanced)> _
|
||||
Private Shared Sub AutoSaveSettings(sender As Global.System.Object, e As Global.System.EventArgs)
|
||||
If My.Application.SaveMySettingsOnExit Then
|
||||
My.Settings.Save()
|
||||
End If
|
||||
End Sub
|
||||
#End If
|
||||
#End Region
|
||||
|
||||
Public Shared ReadOnly Property [Default]() As MySettings
|
||||
Get
|
||||
|
||||
#If _MyType = "WindowsForms" Then
|
||||
If Not addedHandler Then
|
||||
SyncLock addedHandlerLockObject
|
||||
If Not addedHandler Then
|
||||
AddHandler My.Application.Shutdown, AddressOf AutoSaveSettings
|
||||
addedHandler = True
|
||||
End If
|
||||
End SyncLock
|
||||
End If
|
||||
#End If
|
||||
Return defaultInstance
|
||||
End Get
|
||||
End Property
|
||||
End Class
|
||||
End Namespace
|
||||
|
||||
Namespace My
|
||||
|
||||
<Global.Microsoft.VisualBasic.HideModuleNameAttribute(), _
|
||||
Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
|
||||
Global.System.Runtime.CompilerServices.CompilerGeneratedAttribute()> _
|
||||
Friend Module MySettingsProperty
|
||||
|
||||
<Global.System.ComponentModel.Design.HelpKeywordAttribute("My.Settings")> _
|
||||
Friend ReadOnly Property Settings() As Global.test.My.MySettings
|
||||
Get
|
||||
Return Global.test.My.MySettings.Default
|
||||
End Get
|
||||
End Property
|
||||
End Module
|
||||
End Namespace
|
|
@ -1,7 +0,0 @@
|
|||
<?xml version='1.0' encoding='utf-8'?>
|
||||
<SettingsFile xmlns="http://schemas.microsoft.com/VisualStudio/2004/01/settings" CurrentProfile="(Default)" UseMySettingsClassName="true">
|
||||
<Profiles>
|
||||
<Profile Name="(Default)" />
|
||||
</Profiles>
|
||||
<Settings />
|
||||
</SettingsFile>
|
|
@ -1,198 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
|
||||
<PropertyGroup>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||
<ProjectGuid>{90F9045B-CF2E-44F1-81E3-0751B08A72E3}</ProjectGuid>
|
||||
<OutputType>Exe</OutputType>
|
||||
<StartupObject>test.Module1</StartupObject>
|
||||
<RootNamespace>test</RootNamespace>
|
||||
<AssemblyName>test</AssemblyName>
|
||||
<FileAlignment>512</FileAlignment>
|
||||
<MyType>Console</MyType>
|
||||
<TargetFrameworkVersion>v4.8</TargetFrameworkVersion>
|
||||
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
|
||||
<Deterministic>true</Deterministic>
|
||||
<TargetFrameworkProfile />
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<DebugType>full</DebugType>
|
||||
<DefineDebug>true</DefineDebug>
|
||||
<DefineTrace>true</DefineTrace>
|
||||
<OutputPath>bin\Debug\</OutputPath>
|
||||
<DocumentationFile>test.xml</DocumentationFile>
|
||||
<NoWarn>42016,41999,42017,42018,42019,42032,42036,42020,42021,42022</NoWarn>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||
<DebugType>pdbonly</DebugType>
|
||||
<DefineDebug>false</DefineDebug>
|
||||
<DefineTrace>true</DefineTrace>
|
||||
<Optimize>true</Optimize>
|
||||
<OutputPath>bin\Release\</OutputPath>
|
||||
<DocumentationFile>test.xml</DocumentationFile>
|
||||
<NoWarn>42016,41999,42017,42018,42019,42032,42036,42020,42021,42022</NoWarn>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup>
|
||||
<OptionExplicit>On</OptionExplicit>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup>
|
||||
<OptionCompare>Binary</OptionCompare>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup>
|
||||
<OptionStrict>Off</OptionStrict>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup>
|
||||
<OptionInfer>On</OptionInfer>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x64'">
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<DefineDebug>true</DefineDebug>
|
||||
<DefineTrace>true</DefineTrace>
|
||||
<OutputPath>bin\x64\Debug\</OutputPath>
|
||||
<DocumentationFile>test.xml</DocumentationFile>
|
||||
<NoWarn>42016,41999,42017,42018,42019,42032,42036,42020,42021,42022</NoWarn>
|
||||
<DebugType>full</DebugType>
|
||||
<PlatformTarget>x64</PlatformTarget>
|
||||
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
|
||||
<Prefer32Bit>true</Prefer32Bit>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x64'">
|
||||
<DefineTrace>true</DefineTrace>
|
||||
<OutputPath>bin\x64\Release\</OutputPath>
|
||||
<DocumentationFile>test.xml</DocumentationFile>
|
||||
<Optimize>true</Optimize>
|
||||
<NoWarn>42016,41999,42017,42018,42019,42032,42036,42020,42021,42022</NoWarn>
|
||||
<DebugType>pdbonly</DebugType>
|
||||
<PlatformTarget>x64</PlatformTarget>
|
||||
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
|
||||
<Prefer32Bit>true</Prefer32Bit>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'BioDeep|AnyCPU'">
|
||||
<DefineTrace>true</DefineTrace>
|
||||
<OutputPath>bin\BioDeep\</OutputPath>
|
||||
<DocumentationFile>test.xml</DocumentationFile>
|
||||
<Optimize>true</Optimize>
|
||||
<NoWarn>42016,41999,42017,42018,42019,42032,42036,42020,42021,42022</NoWarn>
|
||||
<DebugType>pdbonly</DebugType>
|
||||
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||
<Prefer32Bit>true</Prefer32Bit>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'BioDeep|x64'">
|
||||
<DefineTrace>true</DefineTrace>
|
||||
<OutputPath>bin\x64\BioDeep\</OutputPath>
|
||||
<DocumentationFile>test.xml</DocumentationFile>
|
||||
<Optimize>false</Optimize>
|
||||
<NoWarn>42016,41999,42017,42018,42019,42032,42036,42020,42021,42022</NoWarn>
|
||||
<DebugType>full</DebugType>
|
||||
<PlatformTarget>x64</PlatformTarget>
|
||||
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
|
||||
<Prefer32Bit>true</Prefer32Bit>
|
||||
<RemoveIntegerChecks>true</RemoveIntegerChecks>
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Docker|AnyCPU'">
|
||||
<DefineTrace>true</DefineTrace>
|
||||
<OutputPath>bin\Docker\</OutputPath>
|
||||
<DocumentationFile>test.xml</DocumentationFile>
|
||||
<Optimize>true</Optimize>
|
||||
<NoWarn>42016,41999,42017,42018,42019,42032,42036,42020,42021,42022</NoWarn>
|
||||
<DebugType>pdbonly</DebugType>
|
||||
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||
<Prefer32Bit>true</Prefer32Bit>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Docker|x64'">
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<DefineTrace>true</DefineTrace>
|
||||
<OutputPath>bin\x64\Docker\</OutputPath>
|
||||
<RemoveIntegerChecks>true</RemoveIntegerChecks>
|
||||
<DocumentationFile>test.xml</DocumentationFile>
|
||||
<NoWarn>42016,41999,42017,42018,42019,42032,42036,42020,42021,42022</NoWarn>
|
||||
<DebugType>full</DebugType>
|
||||
<PlatformTarget>x64</PlatformTarget>
|
||||
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
|
||||
<Prefer32Bit>true</Prefer32Bit>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="System" />
|
||||
<Reference Include="System.Data" />
|
||||
<Reference Include="System.Deployment" />
|
||||
<Reference Include="System.Xml" />
|
||||
<Reference Include="System.Core" />
|
||||
<Reference Include="System.Xml.Linq" />
|
||||
<Reference Include="System.Data.DataSetExtensions" />
|
||||
<Reference Include="System.Net.Http" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Import Include="Microsoft.VisualBasic" />
|
||||
<Import Include="System" />
|
||||
<Import Include="System.Collections" />
|
||||
<Import Include="System.Collections.Generic" />
|
||||
<Import Include="System.Data" />
|
||||
<Import Include="System.Diagnostics" />
|
||||
<Import Include="System.Linq" />
|
||||
<Import Include="System.Xml.Linq" />
|
||||
<Import Include="System.Threading.Tasks" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="Module1.vb" />
|
||||
<Compile Include="My Project\AssemblyInfo.vb" />
|
||||
<Compile Include="My Project\Application.Designer.vb">
|
||||
<AutoGen>True</AutoGen>
|
||||
<DependentUpon>Application.myapp</DependentUpon>
|
||||
<DesignTime>True</DesignTime>
|
||||
</Compile>
|
||||
<Compile Include="My Project\Resources.Designer.vb">
|
||||
<AutoGen>True</AutoGen>
|
||||
<DesignTime>True</DesignTime>
|
||||
<DependentUpon>Resources.resx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="My Project\Settings.Designer.vb">
|
||||
<AutoGen>True</AutoGen>
|
||||
<DependentUpon>Settings.settings</DependentUpon>
|
||||
<DesignTimeSharedInput>True</DesignTimeSharedInput>
|
||||
</Compile>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<EmbeddedResource Include="My Project\Resources.resx">
|
||||
<Generator>VbMyResourcesResXFileCodeGenerator</Generator>
|
||||
<LastGenOutput>Resources.Designer.vb</LastGenOutput>
|
||||
<CustomToolNamespace>My.Resources</CustomToolNamespace>
|
||||
<SubType>Designer</SubType>
|
||||
</EmbeddedResource>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="My Project\Application.myapp">
|
||||
<Generator>MyApplicationCodeGenerator</Generator>
|
||||
<LastGenOutput>Application.Designer.vb</LastGenOutput>
|
||||
</None>
|
||||
<None Include="My Project\Settings.settings">
|
||||
<Generator>SettingsSingleFileGenerator</Generator>
|
||||
<CustomToolNamespace>My</CustomToolNamespace>
|
||||
<LastGenOutput>Settings.Designer.vb</LastGenOutput>
|
||||
</None>
|
||||
<None Include="App.config" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\..\..\..\..\R-sharp\R#\R.vbproj">
|
||||
<Project>{0c2eb77c-39f2-460d-a3f8-ce905f867637}</Project>
|
||||
<Name>R</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\..\..\..\sciBASIC#\Microsoft.VisualBasic.Core\src\47-dotnet_Microsoft.VisualBasic.vbproj">
|
||||
<Project>{fecce1fd-e1d4-49e3-a668-60bb5e7aed99}</Project>
|
||||
<Name>47-dotnet_Microsoft.VisualBasic</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\..\Centos\Centos.vbproj">
|
||||
<Project>{04f7d21b-53e8-4107-a5e0-d28e3f70efde}</Project>
|
||||
<Name>Centos</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\Docker.vbproj">
|
||||
<Project>{b028826a-e615-4f26-b192-b9b0a997696a}</Project>
|
||||
<Name>Docker</Name>
|
||||
</ProjectReference>
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.VisualBasic.targets" />
|
||||
</Project>
|
|
@ -1,6 +0,0 @@
|
|||
imports "bash" from "Centos";
|
||||
|
||||
let linux = ssh("xcms", "12345", "192.168.1.253");
|
||||
|
||||
linux :> exec("ls", '-l \"/mnt/smb/tmp\"') :> print;
|
||||
linux :> exec("Rscript", "-e \"biodeep::run.Deconvolution(raw = '/mnt/smb/tmp/test_watcher/p+n/neg/mzML', n_threads = 4);\"");
|