1、登录账户或切换账户时出现以下警告 ,如图 -bash: warning: setlocale: LC_CTYPE: cannot change locale (en US.UTF-8):no such file or directoty -bash: warning: setlocale: LC ...
分类:
其他好文 时间:
2019-12-04 21:56:30
阅读次数:
126
以下是Dockerfile文件 FROM centos:7ENV LANG=zh_CN.UTF-8 \ LANGUAGE=zh_CN:zh \ LC_ALL=zh_CN.UTF-8 RUN yum update -y && \ yum reinstall -y glibc-common && \ y ...
分类:
其他好文 时间:
2019-11-28 22:50:31
阅读次数:
247
OCLint是一个静态分析工具,支持C,C++,Objective-C代码,可以高效的实现Code Review的自动化,检查代码中的缺陷。 下面开始从坏境搭建到配置来讲解OCLint到使用。 一 坏境搭建 安装完后,如果控制台输入oclint后出现下面内容,表示安装成功 二 XCode配置 在现有 ...
分类:
其他好文 时间:
2019-11-25 20:09:19
阅读次数:
71
Given two binary trees, write a function to check if they are the same or not. Two binary trees are considered the same if they are structurally ident ...
分类:
其他好文 时间:
2019-11-21 14:07:49
阅读次数:
48
Given a collection of intervals, merge all overlapping intervals. Example 1: Input: [[1,3],[2,6],[8,10],[15,18]] Output: [[1,6],[8,10],[15,18]] Explan ...
分类:
其他好文 时间:
2019-11-21 13:53:19
阅读次数:
79
字符集报错一直存在 locale: Cannot set LC_CTYPE to default locale: No such file or directory locale: Cannot set LC_MESSAGES to default locale: No such file or d ...
分类:
系统相关 时间:
2019-11-20 12:52:08
阅读次数:
73
Given an array of meeting time intervals consisting of start and end times [[s1,e1],[s2,e2],...] (si < ei), find the minimum number of conference room ...
分类:
其他好文 时间:
2019-11-18 10:06:15
阅读次数:
68
Given an array of meeting time intervals consisting of start and end times [[s1,e1],[s2,e2],...] (si < ei), determine if a person could attend all mee ...
分类:
其他好文 时间:
2019-11-18 09:52:38
阅读次数:
74
Given a list of words and two words word1 and word2, return the shortest distance between these two words in the list. Example:Assume that words = ["p ...
分类:
其他好文 时间:
2019-11-18 09:28:36
阅读次数:
56
Find the kth largest element in an unsorted array. Note that it is the kth largest element in the sorted order, not the kth distinct element. Example ...
分类:
其他好文 时间:
2019-11-18 09:20:14
阅读次数:
59