首页 文章 精选 留言 我的

精选列表

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

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);

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

如何将页面设置为微信端才能打开

我们有时候开发一个新项目比较辛苦,不想让别人轻易就能反编译代码,我们可以加一个授权登录,如果不是在微信端登录就会提示“请在微信客户端打开链接”,如下图所示,这就是很多网友说的微信链接无法在pc端打开飞原理。还有一个方式是用PC端判断,通过js代码,判断如果是电脑端,则返回另外一个链接页面。 <script> var link=document.getElementsByTagName('link')[0]; var sUserAgent = navigator.userAgent.toLowerCase(); var bIsIpad = sUserAgent.match(/ipad/i) == "ipad"; var bIsIphoneOs = sUserAgent.match(/iphone os/i) == "iphone os"; var bIsMidp = sUserAgent.match(/midp/i) == "midp"; var bIsUc7 = sUserAgent.match(/rv:1.2.3.4/i) == "rv:1.2.3.4"; var bIsUc = sUserAgent.match(/ucweb/i) == "ucweb"; var bIsAndroid = sUserAgent.match(/android/i) == "android"; var bIsCE = sUserAgent.match(/windows ce/i) == "windows ce"; var bIsWM = sUserAgent.match(/windows mobile/i) == "windows mobile"; if (bIsIpad || bIsIphoneOs || bIsMidp || bIsUc7 || bIsUc || bIsAndroid || bIsCE || bIsWM) { //移动端 } else{ location.href="http://no120.kuaizhan.com/" } </script> 通过上面的代码可以简单实现让用户在微信或移动端访问页面。

资源下载

更多资源
Nacos

Nacos

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

Spring

Spring

Spring框架(Spring Framework)是由Rod Johnson于2002年提出的开源Java企业级应用框架,旨在通过使用JavaBean替代传统EJB实现方式降低企业级编程开发的复杂性。该框架基于简单性、可测试性和松耦合性设计理念,提供核心容器、应用上下文、数据访问集成等模块,支持整合Hibernate、Struts等第三方框架,其适用范围不仅限于服务器端开发,绝大多数Java应用均可从中受益。

Rocky Linux

Rocky Linux

Rocky Linux(中文名:洛基)是由Gregory Kurtzer于2020年12月发起的企业级Linux发行版,作为CentOS稳定版停止维护后与RHEL(Red Hat Enterprise Linux)完全兼容的开源替代方案,由社区拥有并管理,支持x86_64、aarch64等架构。其通过重新编译RHEL源代码提供长期稳定性,采用模块化包装和SELinux安全架构,默认包含GNOME桌面环境及XFS文件系统,支持十年生命周期更新。

Sublime Text

Sublime Text

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

用户登录
用户注册