原创 Linux常用命令總結

# Linux常用命令 [TOC] 常用系統工作命令 man命令 man命令用於查看各種命令的幫助 格式: 命令名稱 [命令參數] [命令對象] 命令對象一般是指要處理的目標(普通文件/目錄文件/用戶等等),命令參數會比較麻

原创 leetcode-78. Subsets

78. Subsets Given a set of distinct integers, nums, return all possible subsets (the power set). Note: The solution

原创 leeetcode-40. Combination Sum II

40. Combination Sum II Given a collection of candidate numbers (C) and a target number (T), find all unique combinati

原创 信息安全概論總結-4

第四章-PKI技術 2017年11月15日 星期三 15:41 PKI: Public Key Infrastructure 公共密鑰基礎設施 目的:可以使用戶安心在從事商業活動,而不用擔心數據傳輸在網絡上的安全性 基礎設施

原创 圖解http筆記-3(HTTP狀態碼)

 一. 返回結果的HTTP狀態碼 狀態碼告知了從服務端返回的請求的結果 如 200 ok 以 3 位數字 和 原因短語 組成 樣式 類別 原因短語 1xx Infomational(信息性狀態碼) 接收的請求正在處

原创 圖解http筆記-2

持久連接 http的初始版本中,沒進行一次http通信就要斷開連接。 以前傳輸的內容都是很小的,但是現在,當一個瀏覽器請求一個有很圖片的html網頁時,要請求html文檔,也要請求圖片等資源,就要進行很多次TCP的斷開和連接,增加通

原创 leetcode-160. Intersection of Two Linked Lists

160. Intersection of Two Linked Lists Write a program to find the node at which the intersection of two singly linke

原创 Effective Java讀書筆記1

一. 考慮用靜態工廠方法代替構造方法 1. 什麼是靜態工廠方法 注意與設計模式中的工廠模式是不同的,它是用通過專門定義一個類來負責創建其他類的實例,其實例通常擁有共同的父類,其實現主要是靠Java的反射機制。 2. 靜態工廠方法