Http://personball.com/powershell/2016/07/15/powershell-tipsCustomize your own PowerShell, reduce repetitive work install a series of your own common NuGet package items long, sometimes find yourself new projects, always spend half a day or dozens of minutes to create a new project, one by one to install all the usual packages. For yards of farming, this repetition of labor is not tolerated! Open the NuGet Package
; - } $ intM= (L[x]+r[x]) >>1; the if(a2*x,a,b,c); the if(m2*x+1, a,b,c); theClean2*X); Clean (2*x+1); thes[x]=s[2*x]+s[2*x+1]; - } in intQueryintXintAintb) the { the Clean (x); About if((Ab)) the returnS[x]; the intM= (L[x]+r[x]) >>1, ans=0; the if(a2*x,a,b); + if(m2*x+1, A, b); - returnans; the }Bayi intGetans (intx) the { the intans=0; - while(x) - { the //printf ("%d%d\n", l[gf[x]],l[x]); theAns=ans+ (l[x]-l[gf[x]]+1)-query (1, l[g
NPM Installation Module NPM Install [module_name] Using modules var module = require (' module '); Find Module Can search NPM on website http://search.npmjs.org or by command. NPM Search Module Installation Locally installed NPM install [module_name] Global install NPM install-g [module_name] Find Module Documentation NPM docs [Module_name] You can use Package.json to install dependencies Create a Package.json file from a command NPM Init Configuring dependencies {"Name": "Npm-init", "Version"
Open the Plugins folder under EclipseLocate the Org.eclipse.ui.themes_xxxxx folderOpen CSS FolderOpen e4_default_win7 FileAppend at the end# Org-eclipse-jdt-ui-packageexplorer Tree, #org-eclipse-ui-navigator-projectexplorer Tree { font-size:10px;/* The font size you need * / }Of course you can append other CSS propertiessuch as font-familyRestart Eclipse results after modification as shown in650) this.width=650; "title=" Picture 1.png "src=" http://s3.51cto.com/wyfs02/M02/5B/87/ Wkiom1uk5kbxuut
1. InstallationRPM-IVH jdk-8u131-linux-x64.rpm1. The RPM packages are installedRpm-qa2. Find the SQL PackageRpm-qa |grep JDKJdk1.8.0_131-1.8.0_131-fcs.x86_64File installation location in the 3.RPM packageRPM-QL jdk1.8.0_131-1.8.0_131-fcs.x86_645. Executable program Installation LocationWhich jdk1.8.0_131-1.8.0_131-fcs.x86_646. Uninstalling the SoftwareRpm-e Jdk1.8.0_131-1.8.0_131-fcsNote: There is no. x86_64RPM Package
Questions: Redhat 6.3 Virtual Machine performs an IBM Installition manager installation with a direct return, prompting for a new message that does not support virtual machine hardwareSolution: IBM installition Manager relies on incomplete packages and uses shell scripts to check for and install missing packages#!/bin/SH# Check the 16 installation packages installed by IBM Installition
/main.rs are as follows: fn Main () { println! (" Hello, world! "); }Cargo generated a ' Hello World ' for us, let's compile it: $ cargo buildCompiling Hello_world v0.1.0 (File:///path/to/project/hello_world)Run it:$./target/debug/hello_worldHello, world!.We can also use cargo run to compile and run, one-step completion: $ cargo RunFresh Hello_world v0.1.0 (File:///path/to/project/hello_world)Running ' Target/hello_world 'Hello, world!.Deep learningFor more cargo details, please
Python package manager pip installation pip is no stranger to friends who use python. when you want to install the python module, you will first think of it. Pip is a tool for installing and managing Python packages. it is a replacement of easy_install.
Let's talk about the pip installation method today.
Method 1: script installation
$ Wget https://raw.github.com/pypa/pip/master/contrib/get-pip.py$ [su
Pip
Https://pip.pypa.io/en/stable
Https://github.com/pypa/pip
submitting a project to a PIP sourceCreate a hidden file named. Pypirc under your user home directory ~/, and fill in your account password:[Server-login]Username =Password =$
1, installation HomebrewPaste the following command into the terminal to run:/usr/bin/ruby-e "$ (curl-fssl https://raw.githubusercontent.com/Homebrew/install/master/install)"Or you can login directly to the website: https://brew.sh/index_zh-cn.html, there will be instructions on how to install.2. Basic use(1) Installing the Software# Brew Install pkg_name Brew Install Tmux(2) Search software# Brew Serarch pkg_name Brew search wget wget wgetpaste(3) Viewing software information# Brew Info pkg_nam
, so probably not for your purposes, so you should use 2.7 python, which is the python you installed yourself.
Install extensionsAfter installation, in the original Python bin directory, there should be 2 more files, one is Easy_install and easy_install-2.7, we can use Easy_install easy to install those extensions, the last installation of the extension should be able to quickly fix As follows:
wget https://bootstrap.pypa.io/ez_setup.py/your/path/python/bin/python ez_setup.py/your/path/
Objective
Whether the two days have been quietly Yarn by the screen, Facebook recently released a new Node.js Package Manager Yarn to replace NPM. In order to keep up with the trend of Javascript, I might have tasted this claim to be fast and reliable and safe package management, so the writing will not be very detailed, more likely just for this new
RedHat CentOS Fedora Release has yum to easily install packages.
Ubuntu has apt Package Manager.
So does Mac OS X have a package manager? The answer is certainly yes (and more than one), he is called homebrew.
Official website http://brew.sh/(the domain is cool)
Use the command most often when using arch:sudo pacman-s RubyTerminal error:Error:could not open file/var/lib/pacman/sync/apricity-core.db:unrecognized archive formatIt made me toss for a long time, and finally came to the great God to conclude thatHe will pacman.conf inside the official source comment out, and then go to/etc/pacman.d/mirrorlist file 163 source, because 163 source has stopped updating, choose other fast source, such as: China Education Network. In the use command:sudo Pacman-syy
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.