上一页 1 2 3 4 5 6 7 ··· 32 下一页
摘要: 将目录或文件DirFile 1绑定到目录或文件DirFile 2上,所有对DirFile 2的访问就是对DirFile 1的访问 解除DirFile 2上的绑定 阅读全文
posted @ 2019-08-03 16:01 JohnRed 阅读(1189) 评论(0) 推荐(0) 编辑
摘要: ``` for i in do kill 9 "$i" done ``` 阅读全文
posted @ 2019-07-31 09:36 JohnRed 阅读(158) 评论(0) 推荐(0) 编辑
摘要: ``` string substr (size_t pos = 0, size_t len = npos) const; ``` 阅读全文
posted @ 2019-07-24 10:15 JohnRed 阅读(1294) 评论(0) 推荐(0) 编辑
摘要: ``` size_t copy (char* s, size_t len, size_t pos = 0) const; ``` 阅读全文
posted @ 2019-07-24 10:14 JohnRed 阅读(959) 评论(0) 推荐(0) 编辑
摘要: ``` class Solution { public: const std::vector LongestCommonSubstring(const std::string& s1, const std::string& s2) { if (s1.empty() || s2.empty()) { 阅读全文
posted @ 2019-07-23 19:58 JohnRed 阅读(130) 评论(0) 推荐(0) 编辑
摘要: ``` class Solution { public: std::string LongestCommonSubsequence(const std::string& s1, const std::string& s2) { if (s1.empty()||s2.empty()) { return 0; } //d... 阅读全文
posted @ 2019-07-23 10:30 JohnRed 阅读(115) 评论(0) 推荐(0) 编辑
摘要: ``` function sDelDirFile() { if [ "$#" -eq 1 ];then if [ -e "$1" ];then rm "$1" -rf echo "delete:$1" else echo "no exist:$1" fi else echo "function sDelDirFile:argc must is 1" fi ... 阅读全文
posted @ 2019-07-19 10:01 JohnRed 阅读(277) 评论(0) 推荐(0) 编辑
摘要: ``` class Solution { public: std::string longestPalindrome(const std::string& s) { if (s.empty()) { return ""; } std::vector dp(s.size(),std::vector(s 阅读全文
posted @ 2019-07-18 16:16 JohnRed 阅读(102) 评论(0) 推荐(0) 编辑
摘要: ``` class Solution { public: int lengthOfLongestSubstring(const std::string& s) { int max_length = 0; // 最大子字符串长度 int begin_index = 0;//最大子字符串的起始索引 in 阅读全文
posted @ 2019-07-18 14:19 JohnRed 阅读(159) 评论(0) 推荐(0) 编辑
摘要: ``` git config --global user.name [name] git config --global user.email [email_address] ``` 阅读全文
posted @ 2019-07-18 10:29 JohnRed 阅读(719) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 ··· 32 下一页