SSHBasic Usage
work with git branch
some tips for git setup and git config
git and github
ssh service
GitChinese handbook
GitUsername and mailbox with Github
Q:Why does push still need to enter a username password or pre-configure SSH key after configuring git’s username mailbox?
A:The configured git username and mailbox are different users when distinguishing commit; the input username password or SSH key is to distinguish whether there is push privilege or not. (Sharing a computer by multiple people differentiates the commit of different users, or multiple commit to the compa...
CampThere was a lot of python2 coding.
Understanding the encoding of pyhon2
python2There are only two kinds of string types:Type STR: B'xxx'That is, the str type is the encoded type, and Len () is calculated bybyte.Unicode type: len (), calculated by Unicode character.
python2Open file read string is STR type, without encoding parameter.Recommended reading and writing files under python2codecs packageCodecs.open, codecs.write can specify encoding.
python3Coding
python3There are two kinds of string types:Type STR: u'xxx'The str type is the uncoded Unicode. Pay attention to the distinctio...
1.
hdu1698
http://acm.hdu.edu.cn/showproblem.php?pid=1698
1 /*
2 x y k
3 x~yThe value changed to K 4 */
5 #include <cstdio>
6 #include <cstdlib>
7 #include <cmath>
8 #include <cstring>
9 #include <time.h>
10 #include <string>
11 #include <set>
12 #include <map>
13 #include <list>
14 #include <stack>
15 #include <queue>
16 #include <vector>
17 #include <bitset>
18 #include <ext/rope>
19 #include <algorithm>
20 #include <iostream>
21 using namespace std;
22 #define l...
//Model<?php
namespace backend\models;
use Yii;
use yii\web\UploadedFile;
class UploalModel extends \yii\db\ActiveRecord
{
/**
* @var UploadedFile|Null file attribute
*/
public $file;
/**
* @return array the validation rules.
*/
public function rules()
{
return [
[["file"], "file",],
];
}
/**Public Upload Information (Array) File Name Size Suffix Name Limits Update to Remove Existing Pictures for Update Pictures*/
public function upload($img,$name = '/vessel',$siez = '',$arr_type = '',$text_name = '',$act='upd...
Why is block chain a great modern tool? First, the conversation around the block chain has been dominated by bitcoins and encrypted currencies, which we know little about because of its complexity and danger.
Block chains have private and public block chains, some operate only within one organization, others cross organizational boundaries, some require permissions, and others do not. Some are private, some are public, such as bitcoin. But at their core, they deal with the thorny issue of trust, verification, commitment and commitment. IfTo overcome these problems, there is no ob...
JDKWebservice publishing is already built in, but to publish Web services with Web servers such as Tomcat, you need a third-party Web service framework. Axis2 and CXF are the most popular Webservice frameworks at present, these twoA framework has its own advantages, but they are all heavyweight frameworks. JAX-WS RI is a reference implementation of JAX WebService. Compared to Axis2 and CXF, JAX-WS RI is a lightweight framework. Although it’s a lightweight framework, JAX-WS RIIt also provides the function of publishing Webservice in Web server. Official website address https://jax-ws.jav...
【Https://www.toutiao.com/i6595365358301872643/
Preface
OutOfMemoryError Problem I believe many friends have encountered, compared to common business anomalies (array boundaries, null pointers, etc.) such problems are difficult to locate and solve.
This paper focuses on the location and solution of a recent online memory overflow problem, hoping to bring ideas and help to students who encounter similar problems.
Mainly from the performance of –> check –> locate –> solve four steps to analyze and solve problems.
Appearance
Recently, an application on our production ...
http://www.differencebetween.net/category/technology/protocols-formats/
Telnet vs SSH
Secure Shell, commonly known as SSH, and Telnet are two network protocols that have been used widely at one point in time or another. They are both used to connect to remote servers in order to facilitate some sort of communications. The primary difference, which also led to one superseding the other, is in security. SSH offers security mechanisms that protect the users against anyone with malicious intent while Telnet has no security measures whatsoever.
Telnet was designed to work within a pri...