首页 文章 精选 留言 我的

精选列表

搜索[设置],共10000篇文章
优秀的个人博客,低调大师

[Spark]如何设置使得spark程序不输出 INFO级别的内容

Spark程序在运行的时候,总是输出很多INFO级别内容 查看了网上的一些文章,进行了试验。 发现在 /etc/spark/conf 目录下,有一个 log4j.properties.template $cp log4j.properties.template log4j.properties 然后,修改下面的这一个行: log4j.rootCategory=INFO, console 改成: log4j.rootCategory=ERROR, console 再次运行时,不再出现大量的INFO 信息了。 本文转自健哥的数据花园博客园博客,原文链接:http://www.cnblogs.com/gaojian/p/7749467.html,如需转载请自行联系原作者

优秀的个人博客,低调大师

Android之adt 23找不到NDK路径设置解决方案

这里下载最新的adt更新一下就行。 一下是Google的原文 If you are having trouble downloading the ADT plugin after following the steps above and you are behind a firewall (such as a corporate firewall), make sure that you have properly configured your proxy settings in Eclipse. In Eclipse, you can configure proxy information from the main Eclipse menu inWindow(on Mac OS X,Eclipse) >Preferences>General>Network Connections. If you are still unable to use Eclipse to download the ADT plugin as a remote update site, you can download the ADT zip file to your local machine and manually install it: Download the ADT Plugin zip file (do not unpack it): Package Size MD5 Checksum ADT-23.0.4.zip 103336810 bytes 91a43dcf686ab73dec2c08b77243492b Start Eclipse, then selectHelp>Install New Software. ClickAdd, in the top-right corner. In the Add Repository dialog, clickArchive. Select the downloaded ADT-23.0.4.zip file and clickOK. Enter "ADT Plugin" for the name and clickOK. In the Available Software dialog, select the checkbox next to Developer Tools and clickNext. In the next window, you'll see a list of the tools to be downloaded. ClickNext. Read and accept the license agreements, then clickFinish. If you get a security warning saying that the authenticity or validity of the software can't be established, clickOK. When the installation completes, restart Eclipse. To update your plugin once you've installed using the zip file, you will have to follow these steps again instead of the default update instructions. 本文转自xuzw13 51CTO博客,原文链接:http://blog.51cto.com/xuzhiwei/1568686,如需转载请自行联系原作者

优秀的个人博客,低调大师

android 文本框的树形设置方法与对应xml属性

android中文本框有很多属性,这些树形既可以在xml文件中提前配置好,也可以在Activity中实例化TextView对象后通过调用TextView对象的方法来做配置. 本来想全部摘抄出来,去看了android的参考手册,发现这样的属性太多.就参考了下网上的视频,找了几个常用个的配置. TextView方法 XML属性 setTextColor android:textColor 文字颜色 setTextSize android:textSize 文字大小 setText android:text 文字内容 setHeight/setWidth android:height/android:width 文本框的宽度和高度 本文转自leipei博客园博客,原文链接:http://www.cnblogs.com/leipei2352/archive/2011/08/13/2137460.html,如需转载请自行联系原作者

优秀的个人博客,低调大师

asio socket设置 server地址与端口的两种方式

1. 用解释器的方法, 常用来解析域名, 如 // query("www.163.com","80"), 也可以 query("www.163.com","telnet") // echo 7/tcp // ftp 21/tcp # File Transfer Protocol (Control) // telnet 23/tcp # Virtual Terminal Protocol // smtp 25/tcp # Simple Mail Transfer Protocol // time 37/tcp timeserver # Time TCP::resolver resolver(iOS); TCP::resolver::query query("127.0.0.1", "10000"); TCP::resolver::iterator endpoint_iterator = resolver.resolve(query); TCP::resolver::iterator end; TCP::socket socket(ios); socket.connect(*endpoint_iterator, error); 2. 用简便的方法 TCP::socket socket(ios); TCP::endpoint endpoint(boost::asio::ip::address_v4::from_string("127.0.0.1"), 10000); socket.connect(endpoint, error);

资源下载

更多资源
腾讯云软件源

腾讯云软件源

为解决软件依赖安装时官方源访问速度慢的问题,腾讯云为一些软件搭建了缓存服务。您可以通过使用腾讯云软件源站来提升依赖包的安装速度。为了方便用户自由搭建服务架构,目前腾讯云软件源站支持公网访问和内网访问。

Nacos

Nacos

Nacos /nɑ:kəʊs/ 是 Dynamic Naming and Configuration Service 的首字母简称,一个易于构建 AI Agent 应用的动态服务发现、配置管理和AI智能体管理平台。Nacos 致力于帮助您发现、配置和管理微服务及AI智能体应用。Nacos 提供了一组简单易用的特性集,帮助您快速实现动态服务发现、服务配置、服务元数据、流量管理。Nacos 帮助您更敏捷和容易地构建、交付和管理微服务平台。

Sublime Text

Sublime Text

Sublime Text具有漂亮的用户界面和强大的功能,例如代码缩略图,Python的插件,代码段等。还可自定义键绑定,菜单和工具栏。Sublime Text 的主要功能包括:拼写检查,书签,完整的 Python API , Goto 功能,即时项目切换,多选择,多窗口等等。Sublime Text 是一个跨平台的编辑器,同时支持Windows、Linux、Mac OS X等操作系统。

WebStorm

WebStorm

WebStorm 是jetbrains公司旗下一款JavaScript 开发工具。目前已经被广大中国JS开发者誉为“Web前端开发神器”、“最强大的HTML5编辑器”、“最智能的JavaScript IDE”等。与IntelliJ IDEA同源,继承了IntelliJ IDEA强大的JS部分的功能。

用户登录
用户注册