当前位置: 首页 > 编程日记 > 正文

【转】ubuntu 12.04 下 Vim 插件 YouCompleteMe 的安装

原文网址:http://www.cnblogs.com/jostree/p/4137402.html

作者:jostree 转载请注明出处 http://www.cnblogs.com/jostree/p/4137402.html

1.需要保证vim的版本大于7.3.584,否则的话需要更新vim

可以通过第三方源更新:

在终端输入下面的代码:

$ sudo add-apt-repository ppa:fcwu-tw/ppa
$ sudo apt-get update
$ sudo apt-get install vim

升级得到vim7.4

2.需要有clang3.2以上的库

可以再此处下载:http://llvm.org/releases/download.html

可以下载已经变编译好的clang3.4,并注意操作系统版本

3.安装vundle插件

git clone https://github.com/gmarik/vundle.git ~/.vim/bundle/vundle

并配置.vimrc

复制代码
set nocompatible "与vi不一致
filetype off
set rtp+=~/.vim/bundle/vundle/ "载入特定目录插件
"set rtp+=$HOME/.vim/bundle/vundle/ "Windows下
call vundle#rc()
"plugin 
"vimscripts账号下的项目直接填写名称即可
Bundle 'snipMate'
"其它需填写用户/资源名称
Bundle 'gmarik/vundle'
"非github上资源
Bundle 'git://git.wincent.com/command-t.git'
"indent
Bundle 'php.vim-html-enhanced'
"color
Bundle 'Lucius'
filetype plugin indent on  
复制代码

4.利用vundle插件安装YouCompleteMe和syntastic插件:

在.vimrc中添加

Bundle 'https://github.com/Valloric/YouCompleteMe.git'
Bundle 'https://github.com/scrooloose/syntastic.git'

然后在vim中执行:Vundle Install!

即可安装好这两个插件,安装YouCompleteMe的过程很漫长

可以直接在~/.vim/bundle/目录下,执行:

sudo git clone https://github.com/Valloric/YouCompleteMe.git
sudo git submodule update --init --recursive

也可以得到同样的效果。其中第二行是递归的更新子文件夹的内容。

5.编译YouCompleteMe插件

首先需要安装CMAKE

sudo apt-get install cmake

然后在家目录下建立一个ycm_build文件夹

cd ~
mkdir ycm_build
cd ycm_build

然后cmke使用cmake命令生成makefile文件:

cmake -G "Unix Makefiles" -DPATH_TO_LLVM_ROOT=~/ycm_temp/llvm_root_dir . ~/.vim/bundle/YouCompleteMe/third_party/ycmd/cpp

此处需要注意的是需要修改DPATH_TO_LLVM_ROOT=~/ycm_temp/llvm_root_dir,令其等于clang3.4的路径。

然后make编译

make ycm_support_libs

即可生成编译后的库文件。

最后回到YouCompleteMe目录下:

执行

cd ~/.vim/bundle/YouCompleteMe
./install.sh --clang-completer --system-clang 

即可完成。

6.配置自动补全python脚本:

在~/.vim/bundle/YouCompleteMe/third_party/ycmd/cpp/ycm/路径下的.ycm_extra_conf.py文件中

删除.ycm_extra_conf.py中的

# NOTE: This is just for YouCompleteMe; it's highly likely that your project
# does NOT need to remove the stdlib flag. DO NOT USE THIS IN YOUR
# ycm_extra_conf IF YOU'RE NOT 100% YOU NEED IT.
try:
final_flags.remove( '-stdlib=libc++' )
except ValueError:
pass

将之删除后YCM才会补全c++标准库的内容。

并添加

'/usr/include',
'-isystem',
'/usr/include/c++/'

到flags列表中使其可以补C++库中的头文件。

7.最终更改~/.vimrc的配置文件:

复制代码
set nocompatible               " be iMproved
filetype off                   " required!set rtp+=~/.vim/bundle/vundle/
call vundle#rc()" let Vundle manage Vundle
" required! 
Bundle 'gmarik/vundle'" My Bundles here:
"
" original repos on githubBundle 'tpope/vim-fugitive'
Bundle 'Lokaltog/vim-easymotion'
Bundle 'rstacruz/sparkup', {'rtp': 'vim/'}
Bundle 'tpope/vim-rails.git'
" vim-scripts repos
Bundle 'L9'
Bundle 'FuzzyFinder'
" non github repos
Bundle 'git://git.wincent.com/command-t.git'
" My plugin
Bundle 'perl-support.vim'
Bundle 'ctags.vim'
Bundle 'taglist.vim'
Bundle 'https://github.com/Lokaltog/vim-powerline.git'
Bundle 'LaTeX-Suite-aka-Vim-LaTeX'
Bundle 'Simple-R-Omni-Completion'
"Bundle 'Pydiction'
Bundle 'The-NERD-tree'
Bundle 'Tagbar'
Bundle 'asins/vimcdoc'
Bundle 'cpp.vim'
Bundle 'c.vim'
Bundle 'code_complete'
Bundle 'autoproto.vim'
Bundle 'a.vim'
Bundle 'pyflakes.vim'
Bundle 'Conque-Shell'
Bundle 'python.vim'
Bundle 'multvals.vim'
Bundle 'gdbvim'
Bundle 'glib.vim'
Bundle 'VimIM'
Bundle 'OmniCppComplete'
Bundle 'echofunc.vim'
"Bundle 'clang-complete'
"Bundle 'pythoncomplete'
Bundle 'minibufexpl.vim'
Bundle 'https://github.com/Valloric/YouCompleteMe.git'
Bundle 'https://github.com/scrooloose/syntastic.git'
"Bundle 'https://github.com/Valloric/ListToggle.git'"Bundle 'Valloric/YouCompleteMe'"Bundle 'qiushibaike'
filetype plugin indent on     " required!"
" Brief help  -- 此处后面都是vundle的使用命令
" :BundleList          - list configured bundles
" :BundleInstall(!)    - install(update) bundles
" :BundleSearch(!) foo - search(or refresh cache first) for foo
" :BundleClean(!)      - confirm(or auto-approve) removal of unused bundles
"
" see :h vundle for more details or wiki for FAQ
" NOTE: comments after Bundle command are not allowed..
"
"set nocompatible  "去掉讨厌的有关vi一致性模式,避免以前版本的一些bug和局限  
set showmatch
set matchtime=1
set autowrite
set ruler                   " 打开状态栏标尺
set cursorline              " 突出显示当前行
nnoremap <F2> :g/^\s*$/d<CR>  
set laststatus=1     "启动显示状态行(1),总是显示状态行(2)  
set foldenable      " 允许折叠  
"set foldmethod=indent   " 手动折叠  
set nu
set fileencodings=utf-8,ucd-bom,gb18030,gbk,gb2312,cp936
set tabstop=4
set sts=4
set expandtab 
set softtabstop=4
set shiftwidth=4
set autoindent
set cindent
set cinoptions={0,1s,t0,n-2,p2s,(03s,=.5s,>1s,=1s,:1s
colorscheme desert
set nobackup
set textwidth=100
map <F5> :! /usr/bin/python %
map <F6> :call CompileRunGpp()<CR>""""""""""syntastic""""""""""""
let g:syntastic_check_on_open = 1
let g:syntastic_cpp_include_dirs = ['/usr/include/']
let g:syntastic_cpp_remove_include_errors = 1
let g:syntastic_cpp_check_header = 1
let g:syntastic_cpp_compiler = 'clang++'
let g:syntastic_cpp_compiler_options = '-std=c++11 -stdlib=libstdc++'
"set error or warning signs
let g:syntastic_error_symbol = "✗"
let g:syntastic_warning_symbol = "⚠" 
"whether to show balloons
let g:syntastic_enable_balloons = 1
let g:syntastic_always_populate_loc_list = 1nnoremap <silent> <C-d> :lclose<CR>:bdelete<CR>
cabbrev <silent> bd lclose\|bdelete""""""""""""YCM""""""""""""""""""""
let g:ycm_global_ycm_extra_conf = '~/.vim/bundle/YouCompleteMe/third_party/ycmd/cpp/ycm/.ycm_extra_conf.py'
let g:ycm_collect_identifiers_from_tags_files = 1
let g:ycm_seed_identifiers_with_syntax = 1
let g:ycm_confirm_extra_conf = 0
let g:ycm_always_populate_location_list = 1
let g:ycm_min_num_of_chars_for_completion = 2
let g:ycm_complete_in_comments = 1nnoremap <leader>jd :YcmCompleter GoToDefinitionElseDeclaration<CR>
nnoremap <leader>lo :lopen<CR>"minibufexpl
"{
let g:miniBufExplMapCTabSwitchBufs = 1
let g:miniBufExplMapWindowNavVim = 1
"}
"
"pydiction
"{
"filetype plugin on
"let g:pydiction_location='~/.vim/bundle/Pydiction/complete-dict'
"}
"" OmniCppComplete
"" {
" "-- omnicppcomplete setting --
"    " 按下F3自动补全代码,注意该映射语句后不能有其他字符,包括tab;否则按下F3会自动补全一些乱码
"    imap <F3> <C-X><C-O>
"    " 按下F2根据头文件内关键字补全
"    imap <F2> <C-X><C-I>" set completeopt=menu,menuone " 关掉智能补全时的预览窗口
"    let OmniCpp_MayCompleteDot = 1 " autocomplete with .
"    let OmniCpp_MayCompleteArrow = 1 " autocomplete with ->
"    let OmniCpp_MayCompleteScope = 1 " autocomplete with ::
"    let OmniCpp_SelectFirstItem = 2 " select first item (but don't insert)
"    let OmniCpp_NamespaceSearch = 2 " search namespaces in this and included files
"    let OmniCpp_ShowPrototypeInAbbr = 1 " show function prototype in popup window
"    let OmniCpp_GlobalScopeSearch=1 " enable the global scope search
"    let OmniCpp_DisplayMode=1 " Class scope completion mode: always show all members"let OmniCpp_DefaultNamespaces=["std"]
"    let OmniCpp_ShowScopeInAbbr=1 " show scope in abbreviation and remove the last column
"    let OmniCpp_ShowAccess=1 
"    set tags+=/usr/include/c++/tags  "need to  ctags -R --c++-kinds=+p --fields=+iaS --extra=+q
" }
" echofunc.vim
" {
" }
"vimIM
"{
let g:vimim_cloud='sogou'
let g:vimim_map='tab_as_onekey'
let g:vimim_map='no-gi'
let g:vimim_map_extra='ctrl_h_as_ctrl_bslash'
"let g:vimim_static_input_style=1
let g:vimim_toggle = 'pinyin,sogou,baidu' 
let g:vimim_plugin = '/home/liuyi/.vim/bundle/VimIM/plugin'  
"}
"
"" Bundle 'clang-complete'
"" {
"let g:clang_auto_select = 1
"let g:clang_complete_copen=1
"let g:clang_periodic_quickfix=1
"let g:clang_snippets=1
"let g:clang_snippets_engine = 'clang_complete'
"let g:clang_close_preview=1
"let g:clang_use_library=1
"let g:clang_user_options='-stdlib=libc++ -std=c++11 -IIncludePath'
"let g:neocomplcache_enable_at_startup = 1
"" }
"pyflakes python语法分析
"{
"filetype plugin indent on
"}
"python_complete
"{
set ofu=syntaxcomplete
autocmd FileType python 
set omnifunc=pythoncomplete
"autocmd FileType python runtime! autoload/pythoncomplete.vim
"}
"
"tagbar
"{
"nmap <Leader>tb :TagbarToggle<CR>
map <F8> :TagbarToggle<CR>
imap <F8> <ESC>:NERDTreeToggle<CR>
let g:tagbar_ctags_bin='/usr/bin/ctags'
let g:tagbar_width=30
autocmd BufReadPost *.cpp, *.c, *.h, *.hpp, *.cc, *.cxx call tagbar#autoopen()
"}"omni-completion
"{
"autocmd FileType python set omnifunc=pythoncomplete#Complete 
"let g:pydiction_location='~/.vim/bundle/Pydiction/complete-dict'  
filetype plugin on
"}"taglist
"{
let Tlist_Auto_Highlight_Tag=1 
"let Tlist_Auto_Open=1 
let Tlist_Auto_Update=1 
let Tlist_Display_Tag_Scope=1 
let Tlist_Exit_OnlyWindow=1 
let Tlist_Enable_Dold_Column=1 
"let Tlist_File_Fold_Auto_Close=1 
let Tlist_Show_One_File=1 
let Tlist_Use_Right_Window=1 
let Tlist_Use_SingleClick=1 
"nnoremap <Leader>tl :TlistToggle<CR>  
"设定F8为taglist开关
"}"Nerd-tree
"{
map <F7> :NERDTreeToggle<CR>
imap <F7> <ESC>:NERDTreeToggle<CR>
"}"WinManager
"{
let g:winManagerWindowLayout='FileExplorer|BufExplorer'  " 这里可以设置 为多个窗口,  如'FileExplorer|BufExplorer|TagList'
let g:persistentBehaviour=0             " 只剩一个窗口时,  退出vim.
let g:winManagerWidth=20
let g:defaultExplorer=1
nmap <leader>fir :FirstExplorerWindow<cr>
nmap <leader>bot :BottomExplorerWindow<cr>
nmap <leader>wm :WMToggle<cr>
"}
"
runtime! ftplugin/man.vimset hlsearch
set autoindent                  " copy indent from current line
set autoread                    " read open files again when changed outside Vim
set autowrite                   " write a modified buffer on each :next , ...
set backspace=indent,eol,start  " backspacing over everything in insert mode
"set backup                      " keep a backup file
set browsedir=current           " which directory to use for the file browser
set complete+=k                 " scan the files given with the 'dictionary' option
set history=50                  " keep 50 lines of command line history
set hlsearch                    " highlightthe last used search pattern
set incsearch                   " do incremental searching
set listchars=tab:>.,eol:\$     " strings to use in 'list' mode
set mouse=a                     " enable the use of the mouse
set wrap                      "   wrap lines
set popt=left:8pc,right:3pc     " print options
set ruler                       " show the cursor position all the time
"set shiftwidth=2                " number of spaces to use for each step of indent
set showcmd                     " display incomplete commands
set smartindent                 " smart autoindenting when starting a new line
"set tabstop=2                   " number of spaces that a <Tab> counts for
set visualbell                  " visual bell instead of beeping
set wildignore=*.bak,*.o,*.e,*~ " wildmenu: ignore these extensions
set wildmenu                    " command-line completion in an enhanced mode
set formatoptions=tcrqn
"
"-------------------------------------------------------------------------------
"  highlight paired brackets
"-------------------------------------------------------------------------------
highlight MatchParen ctermbg=blue guibg=lightyellowinoremap  ,  ,<Space>
"
"-------------------------------------------------------------------------------
" autocomplete parenthesis, (brackets) and braces
"-------------------------------------------------------------------------------
inoremap  (  ()<Left>
inoremap  [  []<Left>
inoremap  {  {}<Left>
"
vnoremap  (  s()<Esc>P<Right>%
vnoremap  [  s[]<Esc>P<Right>%
vnoremap  {  s{}<Esc>P<Right>%
"
" surround content with additional spaces
"
vnoremap  )  s(  )<Esc><Left>P<Right><Right>%
vnoremap  ]  s[  ]<Esc><Left>P<Right><Right>%
vnoremap  }  s{  }<Esc><Left>P<Right><Right>%
set vb t_vb="
" vim-powerline
set laststatus=2
set t_Co=256
let g:Powerline_symbols = 'unicode'
set encoding=utf8"vimcdoc
"{
set helplang=cn
"}"shift tab page
"{map <S-Left> :tabp<CR>map <S-Right> :tabn<CR>
"}
复制代码

相关文章:

「倒计时」2021年移动云 API 应用创新开发大赛,你居然还没报名?!

移动云API应用创新开发大赛自成立举办以来&#xff0c;因赛事覆盖广、规模大、奖励高等、吸引了移动、企业、高校各赛道选手踊跃报名。目前活动火爆呈现白热化状态&#xff0c;截至目前为止&#xff0c;累计报名600人。现距离大赛报名截止仅剩5天&#xff01;&#xff01;&…

snort源码的详细分析

前段时间由于工作关系&#xff0c;对snort入侵检测系统进行了仔细的研究&#xff0c;起初基本都是通过网上找的资料&#xff0c;对于snort系统的应用&#xff0c;原理&#xff0c;架构&#xff0c;配置&#xff0c;源码机构网上都可以找到比较详细的资料&#xff0c;我自己用vs…

TCP/IP四层模型和OSI七层模型

TCP/IP四层模型和OSI七层模型对应表。我们把OSI七层网络模型和Linux TCP/IP四层概念模型对应&#xff0c;然后将各种网络协议归类。 表1-1 TCP/IP四层模型和OSI七层模型对应表 OSI七层网络模型 Linux TCP/IP四层概念模型 对应网络协议 应用层&#xff08;Application&am…

强化学习环境库 Gym 发布首个社区发布版,全面兼容 Python 3.9

作者&#xff1a;肖智清 来源&#xff1a;AI科技大本营 强化学习环境库Gym于2021年8月中旬迎来了首个社区志愿者维护的发布版Gym 0.19。该版本全面兼容Python 3.9&#xff0c;增加了多个新特性。 强化学习环境库的事实标准Gym迎来首个社区发布版 Gym库在强化学习领域可以说是…

SCOM电子书

SCOM电子书介绍转载于:https://blog.51cto.com/286722/1599625

京东二面的几个问题

1. tcp 连接的最大数量&#xff0c;tcp 用什么来标识 2. 多线程时如何避免互斥 3. protected 关键字 4. 动态库和静态库 5. 线程池 6.多继承时的虚表 网络编程需要加强转载于:https://www.cnblogs.com/simplepaul/p/7865777.html

服务器集群负载均衡(F5,LVS,DNS,CDN)区别以及选型

服务器集群负载均衡(F5,LVS,DNS,CDN)区别以及选型 下面是“黑夜路人”的《大型网站架构优化&#xff08;PHP&#xff09;与相关开源软件使用建议》 F5全称: F5-BIG-IP-GTM 全球流量管理器. 是一家叫F5 Networks的公司开发的四~七层交换机,软硬件捆绑. 据说最初用BSD系统,现在是…

linux下SVN不允许空白日志提交

在svn服务端通过hooks在提交时强制要求写日志。1. 在hooks目录里&#xff0c;复制文件pre-commit.tmpl到pre-commit2. 修改pre-commit文件&#xff0c;如下。#!/bin/shREPOS"$1"TXN"$2"SVNLOOK/usr/bin/svnlook #根据你的SVN目录而定LOGMSG$SVNLOOK log -t…

没有熙熙攘攘,百度VR在世界大会的一场奇妙之旅

你可听过玄奘西行的故事&#xff1f;没有猴子和女儿国&#xff0c;也没有鬼怪和妖魔&#xff0c;在那个故事里有的只是人心的善恶和风雨的折磨。相传&#xff0c;在玄奘走到楼兰时&#xff0c;曾被官兵追捕&#xff0c;他机缘巧合才悄悄逃出大狱。那茫茫大漠里&#xff0c;为避…

Ubuntu下搭建postgresql主从服务器(方法1)

Ubuntu下搭建postgresql主从服务器&#xff08;方法1&#xff09; 安装略 postgresql主服务器&#xff1a; $ vi /etc/postgresql/9.1/main/postgresql.conf 按a或i进入编辑模式 listen_addresses ‘*’ &#xff08;默认为注释的&#xff0c;此处不改从postgresql同步时会报…

利用集群技术实现Web服务器的负载均衡

集群(Cluster)所谓集群是指一组独立的计算机系统构成的一个松耦合的多处理器系统&#xff0c;它们之间通过网络实现进程间的通信。应用程序可以通过网络共享内存进行消息传送&#xff0c;实现分布式计算机。 负载均衡(Load Balance)网络的负载均衡是一种动态均衡技术&#xf…

AI EARTH再立功,达摩院包揽遥感AI领域三项冠军

人类赖以生存的地球表面积大约为5.1亿平方公里&#xff0c;而陆地面积仅占29.2%&#xff0c;这些土地历经数十亿年的演变及人类生活的改造&#xff0c;又被分割成耕地、森林、草地、水域及建筑等等&#xff0c;现在&#xff0c;AI正在成为管理陆地资源的新途径。 8月27日&#…

node.js写一个json服务

待续转载于:https://www.cnblogs.com/progfun/p/4212099.html

试过不用循环语句撸代码吗?

译者按&#xff1a; 通过使用数组的reduce、filter以及map方法来避免循环语句。 原文: Coding Tip: Try to Code Without Loops 译者: Fundebug 为了保证可读性&#xff0c;本文采用意译而非直译。另外&#xff0c;本文版权归原作者所有&#xff0c;翻译仅用于学习。 在前一篇博…

Linux 命令 top 学习总结

本文简介 概要: 学习总结 Linux 下的 top 命令 版本: Debian 5(Lenny), top: procps version 3.2.7 日期: 2010-11-17 永久链接: http://sleepycat.org/linux/linuxcommand/top.html I. 概述 学习总结 top 命令。主要学习自 man 手册。 Linux 下 top 命令:# toptop…

android 中改变按钮按下时的颜色

原文出处&#xff1a;http://blog.csdn.net/nmsoftklb/article/details/9087233 a、在开发中大家都会遇到这样情况&#xff0c;在一个xxx.xml文件中如果有两个以上的组件有一样的属性功能时&#xff0c;可以把它们共同的内容抽取出来 放在styles.xml文件来声明。 然后在相应的组…

实战:使用 Mask-RCNN 的停车位检测

作者&#xff1a;小白来源&#xff1a;小白学视觉Q如何使用Mask-RCNN检测停车位可用性?我最近做了一个项目&#xff0c;根据安全摄像头的照片来检测停车位是否可用或被占用。我的工作有局限性&#xff0c;我将进一步详细介绍这些局限性&#xff0c;但一旦这些问题得到解决&…

Microsoft Office Communications Server 2007 R2 RTM 简体中文企业版部署速成篇之二

写文章真是件累人的事情.\(^o^)/~.OCS2007R2中的CWA有很多新特性.今天我们来看看,接着昨天的开始.本篇基于速成篇之一.Go!在一中的环境中多了,一台WIN2008的服务器,并加入域.首先在DNS里面建两条别名,指向CWA服务器!完成后,记得重新启动DNS.然后,子啊功能和角色里面添加必要的组…

F5负载均衡会话保持技术及原理技术白皮书

1&#xff0e;什么是会话保持&#xff1f;在大多数电子商务的应用系统或者需要进行用户身份认证的在线系统中&#xff0c;一个客户与服务器经常经过好几次的交互过程才能完成一笔交易或者是一个请求的完成。由于这几次交互过程是密切相关的&#xff0c;服务器在进行这些交互过程…

一文全览机器学习建模流程(Python代码)

作者&#xff1a;泳鱼 来源&#xff1a;算法进阶引言随着人工智能时代的到来&#xff0c;机器学习已成为解决问题的关键工具&#xff0c;如识别交易是否欺诈、预测降雨量、新闻分类、产品营销推荐。我们接下来会详细介绍机器学习如何应用到实际问题&#xff0c;并概括机器学习应…

CSS Selector 3

转载于:https://www.cnblogs.com/dmdj/p/4213159.html

GSM中时隙、信道、突发序列、帧的解释

刚从论坛中看到有人问GSM中时隙、信道、突发序列、帧知识。今天我们数字通信正好上到这一块&#xff0c;我就根据我知道的和网上搜索的回答&#xff01; 1、时分多路复用技术 FDMA:频分多址 TDMA:时分多址 CDMA:码分多址 为了提高通信道的利用率&#xff0c;使若干彼此独立信号…

网页效率之DNS查找和并行下载

首先&#xff0c;一个页面所需要访问的域名数量为n&#xff0c;那么就需要n次DNS查找&#xff0c;而DNS查找通常是blocking call&#xff0c;就是说在得到结果之后才能继续&#xff0c;所以越多的DNS查找&#xff0c;反应速度就越慢&#xff1b; 雅虎的YSlow插件的规则之一&…

赛门铁克开启“容灾即服务”时代

从本地备份到异地复制再到云容灾&#xff0c;随着云计算技术的快速发展&#xff0c;以及云服务这种模式逐渐被广大企业用户所接受&#xff0c;将数据备份到云已经是一种可行的数据保护解决方案。12 月 16日&#xff0c;赛门铁克公司推出了一款全新的灾难恢复解决方案Symantec D…

再谈“去虚拟化”对深度学习系统的必要性

作者 | 袁进辉上周写了一篇《浅谈GPU虚拟化与分布式深度学习框架的异同》&#xff0c;想不到引起很多关注和讨论。和朋友们讨论之后&#xff0c;觉得这个话题值得再发散一下&#xff1a;首先&#xff0c;文章只讨论了GPU“一分多”这种“狭义”的虚拟化&#xff0c;还存在另外的…

Enable PowerShell script execution policy

Open Windows PowerShell with administrator Run “Set-ExecutionPolicy UnRestricted –Force” 本文转自学海无涯博客51CTO博客&#xff0c;原文链接http://blog.51cto.com/549687/1918870如需转载请自行联系原作者520feng2007

Linux下DNS轮询与Squid反向代理结合

一、安装反向代理服务器 1&#xff0e;下载反向代理服务器软件采用squid&#xff0c;下载地址&#xff1a; http://www.squid-cache.org/Versions/v2/2.2/squid-2.2.STABLE5-src.tar.gz 下载后存放在/usr/local/squid/src目录里&#xff0c;文件名是 squid-2.2.STABLE5 ... 一…

从iOS证书申请到签名文件生成

2019独角兽企业重金招聘Python工程师标准>>> 苹果的应用在发布时&#xff08;无论是Adhoc发布还是AppStore正式发布&#xff09;都需要一个签名文件。这个签名文件是由苹果后台生成的&#xff0c;它把用户生成的证书&#xff0c;注册设备&#xff0c;AppID等统统连在…

GitHub 热榜:来膜拜这个流弊的 AI 框架!

近年来&#xff0c;人工智能正在进入一个蓬勃发展的新时期&#xff0c;这主要得益于深度学习和CV领域近年来的发展和成就。在这其中&#xff0c;卷积神经网络的成功也带动了更多学术和商业应用的发展和进步。为了避免“内卷”&#xff0c;更多人选择学习进阶&#xff0c;但是仍…

ASP.net:添加.net(2.0C#)FCKeditor在线编辑器步骤

1.下载本版本的编辑器压缩包。源码下载地址 2.解压缩打开文件夹拥有如下文件&#xff1a;3.在VS中添加“选择项”加载在此文件夹的Bin下FredCK.FCKeditorV2.dll。4.在你的网站的web.config的 <appSettings>枝节中加入&#xff1a;<appSettings><add key"FC…