首页 文章 精选 留言 我的

精选列表

搜索[AB实验平台],共10000篇文章
优秀的个人博客,低调大师

一天搭建直播系统平台!

随着手机直播的火热,手机直播开发便获得越来越多的人讨论,甚至有人说手机直播开发只需要三个步骤!这对很多人来讲是很不可思议的。小编认为这说的对也不对,接下来小编具体分析一下。首先,手机直播开发分三步确实可以搭建起来: 第一步:分解手机直播系统开发功能,了解你所需要的直播功能 第二步:寻找合适的云服务SDK进行嵌入,在APICloud的聚合API中可以轻易找到以上的功能模块,挑选合适的模块封装到自己的App中 第三步:1. App框架搭建,在APICloud Studio中直接创建应用框架,有三个常用页面框架备选; 2.积木式拼装,将所有你挑选好的模块,用Java编写页面及模块调用,运用HTML5+CSS3搭建应用的界面UI,完成App编码全过程; 3.真机调试,通过模拟器和真机调试功能进行App优化,一键点击即可在iOS和Android手机中进行App优化; 4.云编译,在APICloud网上传App的icon、启动页和证书,一键“云编译”即可同时生成iOS和Android的原生安装包; 5.云修复,使用云修复快速迭代,随时发布新版本、新功能,无需提交新的安装包。 这就是三个步骤,但是手机直播开发是一个浩大的工程还需不断探索

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

Android平台上优秀的开源项目

软件名:gaeproxy 软件作用:Android手机配置GoAgent。项目地址:https://github.com/madeye/gaeproxy.git 软件名:ProxyDroid 软件作用:Global Proxy App for Android System项目地址:https://github.com/madeye/proxydroid.git 软件名:dbartists 软件作用:Douban Artists Third-party Android Client项目地址:https://github.com/madeye/dbartists.git 软件名:droidwall 软件作用:Android手机防火墙项目地址:https://github.com/abeluck/droidwall.git 软件名:android-ffmpeg 软件作用:a system for building custom ffmpeg binaries for Android项目地址:https://github.com/abeluck/android-ffmpeg.git 软件名:gnupg-for-android 软件作用:A port of gnupg to Android项目地址:https://github.com/abeluck/gnupg-for-android.git 软件名:keepassdroid 软件作用:KeePass implementation for android。http://www.keepassdroid.com项目地址:https://github.com/bpellin/keepassdroid.git 软件名:Superuser 软件作用:Android superuser permissions app项目地址:https://github.com/ChainsDD/Superuser.git 软件名:su-binary 软件作用:su binary for android Superuser项目地址:https://github.com/ChainsDD/su-binary.git 软件名:busybox-android 软件作用:BusyBox installer for Android项目地址:https://code.google.com/p/busybox-android/ 软件名:android-permissions 软件作用:Permissions allows you to somewhat control the permissions an app is requesting on your Android device项目地址:https://code.google.com/p/android-permissions/ 软件名:android-metamorph 软件作用:Android Themes and more项目地址:http://code.google.com/p/android-metamorph/ 软件名:rebooter 软件作用:android hot reboot项目地址:https://code.google.com/p/rebooter/ 软件名:FFmpeg-Android 软件作用:Building FFmpeg for Android neon, armv7, vfp and armv6, used in VPlayer for Android项目地址:https://github.com/abitno/FFmpeg-Android.git 软件名:vlc-android 软件作用:vlc for android项目地址:git://git.videolan.org/vlc-ports/android.git 软件名:Arpspoof 软件作用:Android port of Arpspoof项目地址:https://github.com/robquad/Arpspoof.git 软件名:droidsheep 软件作用:DroidSheep is an Android tool for simple session hijacking项目地址:https://code.google.com/p/droidsheep/ 软件名:android_external_busybox 软件作用:Android/bionic port of busybox项目地址:https://github.com/dylex/android_external_busybox 软件名:android_DropBearServer 软件作用:SSH Server using DropBear项目地址:https://github.com/shkschneider/android_DropBearServer.git 软件名:Android Ports 软件作用:unix command line packages built for android项目地址:http://dan.drown.org/android/ 软件名:oplayer 软件作用:OPlayer is used to boost your Android Device's media abilities, no need to convert your videos anymore.项目地址:http://code.taobao.org/svn/oplayer/trunk/ 软件名:bitbeaker 软件作用:A Bitbucket client for Android项目地址:https://bitbucket.org/saibotd/bitbeaker 软件名:Android-Terminal-Emulator 软件作用:A VT-100 terminal emulator for the Android OS项目地址:https://github.com/jackpal/Android-Terminal-Emulator.git 软件名:AndBug 软件作用:Android Debugging Library项目地址:https://github.com/swdunlop/AndBug.git 软件名:androguard 软件作用:Reverse engineering, Malware and goodware analysis of Android applications项目地址:http://code.google.com/p/androguard/ 软件名:droidbox 软件作用:Android Application Sandbox项目地址:http://code.google.com/p/droidbox/ 软件名:droidreader 软件作用:The PDF Document Reader for Android项目地址:http://code.google.com/p/droidreader/ 软件名:android-cmake 软件作用:CMake scripts and patches for libraries using cmake and the android ndk.项目地址:http://code.google.com/p/android-cmake/ 软件名:qsp-android-player 软件作用:QSP Player for Android项目地址:http://code.google.com/p/qsp-android-player/ 软件名:jjmpeg 软件作用:Java binding to FFmpeg libraries.项目地址:http://code.google.com/p/jjmpeg/ 软件名:roboguice 软件作用:Google Guice on Android, version 2.0项目地址:http://code.google.com/p/roboguice/ 软件名:AREsoft-updater 软件作用:Updater script for Android Reverse Engineering Software belongs to ARE VM from the Honeynet Project项目地址:https://github.com/xanda/AREsoft-updater.git 软件名:market-enabler 软件作用:Android Paid Apps Market Enabler项目地址:http://code.google.com/p/market-enabler/ 软件名:APKfuscator 软件作用:A generic DEX file obfuscator and munger项目地址:https://github.com/strazzere/APKfuscator.git 软件名:DrmLicenseService 软件作用:provide an easy way of getting DRM licenses for different DRM solutions项目地址:https://github.com/sonyericssondev/DrmLicenseService.git 软件名:ChkBugReport 软件作用:process the bugreport files generated on the phone, and extract as much useful data as possible.项目地址:https://github.com/sonyericssondev/ChkBugReport.git 软件名:dsploit 软件作用:An Android network penetration suite.项目地址:https://github.com/evilsocket/dsploit.git 软件名:mercury 软件作用:a framework for bug hunters to find vulnerabilities, write proof-of-concept exploits and play in Android项目地址:https://github.com/mwrlabs/mercury.git 软件名:mtk-tools 软件作用:MT65xx unpack and repack scripts项目地址:https://github.com/bgcngm/mtk-tools.git 软件名:android-nfc-paycardreader 软件作用:NFC card reader Android app. Currently reads the german GeldKarte and some credit cards项目地址:https://github.com/thomascannon/android-nfc-paycardreader.git 软件名:android-group-korea 软件作用:To share Android related technical knowledges in english by www.kandroid.org community项目地址:http://code.google.com/p/android-group-korea/ 软件名:android-bankdroid 软件作用:A swedish banking application for your Android device.项目地址:https://github.com/liato/android-bankdroid.git 软件名:secmobi wiki page 软件作用:a collection of mobile security resources项目地址:http://wiki.secmobi.com/tools:android_application 软件名:LUKS 软件作用:secure disk partition项目地址:https://github.com/guardianproject/LUKS.git 软件名:SecureSmartCam 软件作用:This project is to build a secure camera app for android.项目地址:https://github.com/guardianproject/SecureSmartCam.git 软件名:Wifi Key Recovery 软件作用:This application will help you recover the password of a wireless network you have connected to with your device in the past.项目地址:https://github.com/alt236/Wifi-Key-Recovery---Android.git 软件名:android-vnc-viewer 软件作用:VNC viewer/client for Android platform项目地址:http://code.google.com/p/android-vnc-viewer/ 软件名:ActionBarSherlock 软件作用:ActionBarSherlock is an standalone library designed to facilitate the use of the action bar design pattern across all versions of Android through a single API.项目地址:https://github.com/JakeWharton/ActionBarSherlock.git 软件名:FBReader for Android 软件作用:FBReader for Android was written in Java as a clone of original (C++) FBReader book reader.项目地址:https://github.com/geometer/FBReaderJ 软件名:open-gpstracker 软件作用:A GPS tracking Android App: Build to be extensible and Free项目地址:http://code.google.com/p/open-gpstracker/ 软件名:openintents 软件作用:Make Android applications work together.项目地址:http://code.google.com/p/openintents/ 软件名:quake2android 软件作用:Quake 2 on Android项目地址:http://code.google.com/p/quake2android/ 软件名:kwaak3 软件作用:This is a port of Quake3 to Android.项目地址:http://code.google.com/p/kwaak3/ 软件名:AndEngine 软件作用:Free Android 2D OpenGL Game Engine项目地址:https://github.com/nicolasgramlich/AndEngine.git 软件名:opencv 软件作用:OpenCV GitHub Mirror项目地址:https://github.com/Itseez/opencv.git 软件名:mytracks 软件作用:My Tracks records your GPS tracks and shows live statistics such as time, speed, distance, and elevation项目地址:http://code.google.com/p/mytracks/ 软件名:android-binding 软件作用:Providing a framework that enabes the binding of android view widgets to data model. It helps to implement MVC or MVVM patterns in android applications.项目地址:http://code.google.com/p/android-binding/ 分类: Android 本文转自快乐就好博客园博客,原文链接:http://www.cnblogs.com/happyday56/p/4013520.html,如需转载请自行联系原作者

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

使用openstack构建私有云计算平台

一、系统 ubuntu 10.04 Desktop 机器ip:10.1.29.15 二、nova的安装 1.安装所用的信息服务器:Rabbitmq sudo apt-get install rabbitmq-server 2.安装nova 1)nova包安装 sudo apt-get install python-software-properties sudo add-apt-repository ppa:nova-core/trunk sudo apt-get update 注意:如果sudo add-apt-repository ppa:nova-core/trunk不行,换成sudo add-apt-repository ppa:nova-core/release 2)nova依赖包安装 sudo apt-get install python-nova sudo apt-get install python-greenlet python-mysqldb python-nova nova-common nova-doc nova-api nova-network nova-objectstore nova-scheduler nova-compute euca2ools unzip 3)配置nova(/etc/nova/nova.conf) 这个文件是安装nova后自动生成的,如果没有,估计是系统问题。 vim /etc/nova/nova.conf 机器上内容如下: daemonize=1 dhcpbridge_flagfile=/etc/nova/nova.conf dhcpbridge=/usr/bin/nova-dhcpbridge loggdir=/var/log/nova state_path=/var/lib/nova verbose sql_connection=mysql://root:nova@10.1.29.15/nova s3_host=10.1.29.15 rabbit_host=10.1.29.15 ec2_host=10.1.29.15 verbose ec2_url=http://10.1.29.15:8773/services/Cloud network_manager=nova.network.manager.VlanManager fixed_range=10.0.0.0/12 network_size=8 注意:10.1.29.15是我电脑ip,替换成你自己的ip即可 4)创建群组并授权 addgroup nova chown -R root:nova /etc/nova chmod 644 /etc/nova/nova.conf 3.安装mysql 1)绕过所有安装提示,加快安装速度 bash MYSQL_PASS=nova cat mysql-server-5.1 mysql-server/root_password password $MYSQL_PASS mysql-server-5.1 mysql-server/root_password_again password $MYSQL_PASS mysql-server-5.1 mysql-server/start_on_boot boolean true MYSQL_PRESEED 2)安装mysql apt-get install -y mysql-server 3)编辑/etc/mysql/my.cnf,绑定地址 sed -i s/127.0.0.1/0.0.0.0/g /etc/mysql/my.cnf service mysql restart 注:sed -i s/127.0.0.1/0.0.0.0/g /etc/mysql/my.cnf表示在行内全面用127.0.0.1代替0.0.0.0 4)mysql配置 创建nova数据库 mysql -uroot -p$MYSQL_PASS -e CREATE DATABASE nova; root用户为超级用户权限 mysql -uroot -p$MYSQL_PASS -e GRANT ALL PRIVILEGES ON *.* TO root@% WITH GRANT OPTION; 设置root用户密码 mysql -uroot -p$MYSQL_PASS -e SET PASSWORD FOR root@% = PASSWORD($MYSQL_PASS); 注意:mysql的root用户初始密码为空,在设置密码时候,最好自己设定一个密码来代替$MYSQL_PASS 4.网桥配置 vim /etc/network/interfaces 修改后内容如下: # The loopback network interface auto lo iface lo inet loopback # Networking for NOVA auto br100 iface br100 inet static address 10.1.29.15 netmask 255.0.0.0 network 10.0.0.0 broadcast 10.255.255.255 gateway 10.1.0.254 bridge_ports eth0 bridge_stp off bridge_maxwait 0 bridge_fd 0 # dns-* options are implemented by the resolvconf package, if installed dns-nameservers 59.108.119.3 注意:在官方配置介绍用的是DHCP,这里使用静态ip地址,根据实际情况,修改相应的address、netmask、network、broadcast、gateway、dns等。 最后,重启mysql:sudo /etc/init.d/networking restart 5.nova环境配置 /usr/bin/nova-manage db sync /usr/bin/nova-manage user admin dub /usr/bin/nova-manage project create dubproject dub /usr/bin/nova-manage network create 192.168.0.0/24 1 255 注意:数据名、用户名、项目名等都可以自己设定。 6.nova认证 mkdir –p /root/creds /usr/bin/python /usr/bin/nova-manage project zipfile $NOVA_PROJECT $NOVA_PROJECT_USER /root/creds/novacreds.zip unzip /root/creds/novacreds.zip -d /root/creds/ cat /root/creds/novarc >> ~/.bashrc source ~/.bashrc 注意:要在root下能建立目录,必须是root用户,可以用以下命令: sudo passwd root su root 输入密码,进入root用户 7.重启相关服务 /etc/init.d/libvirt-bin restart; service nova-network restart; service nova-compute restart; service nova-api restart; service nova-objectstore restart; service nova-scheduler restart 注意:/etc/init.d/libvirt-bin代替libirtd,ubuntu中没有libirtd 8.授权ping和ssh命令给VMS euca-authorize -P icmp -t -1:-1 default euca-authorize -P tcp -p 22 default (不能ping或ssh时候,使用以下命令) killall dnsmasq service nova-network restart chgrp kvm /dev/kvm chmod g+rwx /dev/kvm 配置防火墙 # iptables -t nat -A PREROUTING -d 169.254.169.254/32 -p tcp -m tcp dport 80 -j DNAT to-destination 10.1.29.15:8773 注意:10.1.29.15改成你自己机器的ip 8.安装后测试 1)查看mysql中services表数据 mysql -u$root-p$nova nova -e select * from services; 注意:root是用户名,nova是密码,用你自己设定的mysql用户名和密码即可。 2)获取image image=ttylinux-uec-amd64-12.1_2.6.35-22_1.tar.gz wget http://smoser.brickies.net/ubuntu/ttylinux-uec/$image uec-publish-tarball $image mybucket 3)为ssh创建安全认证 euca-add-keypair mykey > mykey.priv chmod 0600 mykey.priv 4)查看镜像 euca-describe-images 5)运行 euca-run-instances $emi -k mykey -t m1.tiny 注意:$emi用实际的代替,如:ami-u5o8a5lg euca-describe-instances ssh -i mykey.priv root@10.1.29.15 euca-terminate-instances ami-u5o8a5lg-id 到此,nova的私有云就安装完毕 本文转自 念槐聚 博客园博客,原文链接:http://www.cnblogs.com/haochuang/archive/2011/11/24/2262016.html,如需转载请自行联系原作者

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

区分不同手机平台客户端

Conclusion:Unlike User-Agent ,which let the browser describe its meta data and information , the two kinds of client by default will not have a pre-defined field which can function like this. Solution:(We created aself-defined fieldin the http header) For example ,we create a field namedMobile-Agent In client side: when we construct the http request ,we add the value of header “Mobile-Agent” to be some value Android Client codeonly need to set the “Mobile-Agent” header to be ”Android”. Code example: (see myhighlighted) publicJSONObjectcallJSONWebService(Stringurl){ HttpParamsmy_httpParams=newBasicHttpParams(); HttpConnectionParams.setConnectionTimeout(my_httpParams,conn_timeout); HttpConnectionParams.setSoTimeout(my_httpParams,conn_timeout); HttpClienthttpClient=newDefaultHttpClient(my_httpParams); HttpGethttpRequest=newHttpGet(url); httpRequest.setHeader("User-Agent","bleumagent"); httpRequest.setHeader(“Mobile-Agent”,”Android”); HttpResponsehttpResponse=null; JSONObjecthttpJsonResult=null; Stringresult=null; try{ httpResponse=httpClient.execute(httpRequest); if(httpResponse.getStatusLine().getStatusCode()==200){ HttpEntityhttpEntity=httpResponse.getEntity(); if(httpEntity!=null){ InputStreaminputStream=httpEntity.getContent(); result=this.convertStreamToString(inputStream); httpJsonResult=newJSONObject(result); inputStream.close(); } } }catch(Exceptione){ System.out.println("callJsonWebServicefailed."); e.printStackTrace(); } httpClient.getConnectionManager().shutdown(); returnhttpJsonResult; } IPhoneClient codecan use Objective-C to do the similar thing ,just set the “Mobile-Agent” header to be “IPhone” In server side’s servlet : we only use the Servlet API to resolve “Mobile-Agent” field. Then solved. 本文转自 charles_wang888 51CTO博客,原文链接:http://blog.51cto.com/supercharles888/835904,如需转载请自行联系原作者

资源下载

更多资源
Nacos

Nacos

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

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等操作系统。

WebStorm

WebStorm

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

用户登录
用户注册