Test if the connection is successful
ssh -T [emailprotected]github.comWill prompt
The authenticity of host ' github.com (192.30.255.112) ' can ' t be established.RSA key fingerprint is sha256:xxxxxxxxx.Is you sure want to continue connecting (yes/no)?
yesyou can enter it directly and then prompt for success:Hi xxx! You've successfully authenticated, but GitHub does not provide shell access.However, if the following error occurs:Host Key verification failed.Because th
This was come from http://blog.lyhdev.com/2013/01/ubuntu-linux-apt-get.htmlTo remove a software suite under Ubuntu, the instructions used are apt-get remove, for example:sudo apt-get remove Texlive-fullHowever, since this kit was previously installed, it will be a self-installing dependency kit (dependencies), so it needs to be cleaned with autoremove.sudo apt-get autoremoveOr add a reference at remove:sudo apt-get remove--auto-removeBut this is not yet clean, because the preset remove acts to p
Today, I installed the virtual machine to play, downloaded the Ubuntu server 14.04 image, and then made a template. After the template is deployed as a virtual machine, the network of the returned virtual machine is not available, here I choose the bridge mode, using ifconfig found no IP address, finally found a solution, and now recorded:Keep the last line, all of the previous delete or comment, and change the name of the last line to eth0, save and restart the line.Mac
many users are currently logged in, you can use the WHO command to view them.The SCP command can transfer files between the local host and the remote host, using the following simple:$ SCP. ZSHRC username@192. 168.100.:/users/username/ This command copies the. zshrc file under the current path to the/users/username directory of the remote host.This saves you from having to reset it again. ZSHRC trouble.Reference: How to use CP and SCP commands in LinuxIf the input [email protected] is wrong,
Java.util.list was not used 19Duplicate import to line 13 duplicate import same content 20Import from illegal PACKage import content from an illegal package "while" construct must "{}" "while" statement missing "{}" 22Variable "STest1" must be private and with accessor m The Ethod variable "sTest1" should be private, and there is a method that calls it 23Variable "ABC" must match pattern "^[a-z][a-za-z0-9]*$" variable "abc" does not conform to the naming convention ^[a-z][ A-za-z0-9]*$ "are fol
: LeftL: RightJ: NextK: Up#h: Moving a # characterW: Move to the beginning of the next wordE: Move to the ending of the current or next wordB: Move to the beginning of the current or previous wordIn-line movement:Jump to the beginning of the line: 0Skip to end of line: $Inline Jump:#G: Jump To Line #G: Skip to the last lineTurn screen operation:CTRL+F: Flip one screen downCtrl+b: Turn up one screenCtrl+d: Flip Down half screenCtrl+u: Flip Down half screenTo delete a single character:X: Delete a
installanalyzing dependenciesdownloading dependenciesInstalling Sdwebimage (3.7. 2 ) generating Pods projectintegrating client projectView Code5. Need to add new third-party repositoriesOpen it with a notebookOPEN-E PodfileThen add a new library (add the following code to the line)Pod ' xxx '=================================================================================Pod Common Commands# 搜索$ pod search AFNetworking# 安装$ pod install# 升级$ pod updateCommand: touch podfile CreateCommand: open-e
local, then we say how to clone the remote code to the Local:1. Open the Git repositories window, click the menu window--show view--other...--Select Git--git repositories, and the Git repositories window opens, as shown in:Clicking on the small button will pop up the Clone Git Repository dialog box, as shown in:Fill in the URI with the repository path to the project you want to clone, your git account username and password, and click Next to clone the remote code to your local repository. Once
whether the key is already mapped, and if the mapping or abbreviation already exists, the command failsand Mapleader variablesThe Mapleader variable works for all map map commands, and it is useful to replace the parameter with the value of the Mapleader variable, such as:: Map A Oanother LineIf the Mapleader variable is not set, it is replaced with the default backslash, so this mapping is equivalent to:: Map \a Oanother LineWhen entering the \a key, enter another line in the next row and retu
1. Install git:http://git-scm.com/download, install git and set environment variables, C:\Program Files (x86) \git\bin into system variables. 2. Set initialization parametersEnter the following command at the command line:git config--global user.name = "Your user name"git config--global user.email = "Email Address"3. Get SSHPublic Keyopen git bash git, enter the command ssh-keygen-t rsa-c "email address", all the way to enter, then in the directory will generate. SSH directory, my directory is:
Today want to use RZ, sz command when found that the Mac did not bring, so look for the installation of the command installation method, the final choice of brew installation.Let's introduce brew first. Brew, also known as homebrew, is the software package management tool on Mac OSX, it can easily install software or uninstall software in Mac, it is very convenient to use only one command.Brew similar to the Apt-get functions of Ubuntu system安装brew
Brew's official website: http://brew.s
monitoring of changes in objects, methods, or variables Select a variable, right-click to view "Watch"9. Variables in the variables view can change the value of the variable, and the variables view selects the variable right-click--change value. For quick commissioning.10. Breakpoint Properties:1) How many times hit count executes and suspend for loop2) Enable condition meets your input criteria (for ture\ changes) on hold3) Suspend this thread when suspend thread is multi-threaded4) Suspend VM
/etc# lsBgpd.conf.sample isisd.conf.sample ripd.conf.sample zebra.conf.sample bgpd.conf.sample2 ospfd.conf.sample Vtysh.con F.sample# MV Bgpd.conf.sample bgpd.conf# cpisisd.conf.sample Isisd.confother similar ... (MV/CP all Can)put Zebra under the bin and the Sbin Join $ PATH /root/.bash_profilePath= $PATH:/usr/local/zebra/bin/:/usr/local/zebra/sbin/7. running zebra processes and routing processes zebra-dOspfd-dBgpd-d8 , using the script brush configurationedit broad-based document B JLTConfig
Click on the small triangle, click on Master,add spec. Finish when you are done, log in to Githob and you can see the project you just submitted . (5) Cloning the Remote repository project into Eclipse switch ecpilse to git viewClick Clone Git Repository or, click: there is an arrow that. fill in the URL of the item you want to clone: Enter your account number and password >>next>>next Click Browse and select a place to put the project file. Do not put in Eclipse working directory Fi
Step 1. Make sure the SOCKS tunnel on your work computer allows LAN connections so your iphone/ipod Touch can connect to it.ssh -N -g -D 1080 [emailprotected]Step 2. Create a text file and insert the following code:function FindProxyForURL(url, host){ return "SOCKS 192.168.xx.xx:yyyy";}Replace The X ' s with your IP and the Y's with the port used after the-d in your SSH commandStep 3. Save the text file as a Proxy auto-config (PAC) file to a Web accessible a . pac Extension.If you ' re read
notebook, and then the LZ switched to the desktop installed Redhat, the results found that the ARP attack is still unable to surf the internet.LZ found Redhat on the pre-installed Arptables, but in the configuration rules always prompt Permission Denied,lz is also drunk, obviously is root, do not know why do not have permission.Helpless under had to abandon use arptables, it seems can only use the native ARP command to set a static ARP table, but found that this method is quite useful, with the
Documenting which methods are more pervasive and more efficient does not include methods that use functions, and using pointers is more appropriate if you use functions.
Using intermediate variables
Shaped as int tmp, TMP = A; A=b; b = tmp; 1 #define SWAP (A, b) {typeof(a) _t=A; A=B; b=_t;}The only drawback is the need for additional stack space.
Using arithmetic methods
1 #define SWAP (x, y) (x) = (x) + (y); (y) = (x)-(y);(x) = (x)-(y);cannot be used, x+y can ca
node, you can no longer get the event{_this.releasecapture ();}This.onmousemove=null;This.onmouseup=null;}}}return this;};//cross-browser add event bindingsfunction addevent (obj, type, fn) {if (typeof obj.addeventlistener! = ' undefined ') {obj.addeventlistener (Type, FN, false);} else { //Create a hash table that holds events (hash table)if (!obj.events) obj.events = {}; //execution at first executionif (!obj.events[type]) { //Create an array that holds the event handler functionObj
: Horizontal 400 high 300), do not maintain the picture scaleUse:thumbnails.of ("F:\\image\\img_20131229_114806.png"). forcesize (+) . ToFile ("f:\\image\\output\\img_20131229_114806"); Scene Four: Compress to the specified picture size ( For example: Horizontal 400 high), keep the picture intact, the extra part cut offUse:String ImagePath = "F:\\image\\img_20131229_114806.jpg";BufferedImage image = Imageio.read (new File (ImagePath));buildernull; int imagewidth = Image.getwidth ();int imageheit
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.