Wesley13 Wesley13
3年前
android WebView 使用实例
主布局文件:<?xmlversion"1.0"encoding"utf8"?<LinearLayoutxmlns:android"http://schemas.android.com/apk/res/android"android:layout_width"match_parent"
Stella981 Stella981
3年前
Centos6.8阿里云linux系统下配置LAMP运行环境
1.Apache安装apache软件yumyinstallhttpd启动httpd服务servicehttpdstart设置开机启动chkconfiglisthttpd查看chkconfighttpdon进入配置文件修改服务器名
Wesley13 Wesley13
3年前
IOS上路_03
1. 字符串连接:    创建一个Single View Application工程。    1)修改XXXViewController.h文件:import<UIKit/UIKit.h@interfaceCVUViewC
Stella981 Stella981
3年前
Atom
1\.Atom代理设置:        如果没有 %USERPROFILE%\\.atom\\.apmrc文件:copy %USERPROFILE%\.atom\.apm\.apmrc  %USERPROFILE%\.atom         添加下面的内容到:  %USERPROFILE%\\.atom\\.apmrc :   
Stella981 Stella981
3年前
QT+OpenGL 描绘简单图形
初学opengl,绕了很多弯路,继承于QOpenGLWindow,描画出来。新建类myopengl,头文件如下:ifndefMYOPENGL_HdefineMYOPENGL_Hinclude<QWidgetinclude<QOpenGLWidgetinclude<QOpen
Stella981 Stella981
3年前
Android选项卡TabHost功能和用法
1、布局文件<TabHostxmlns:android"http://schemas.android.com/apk/res/android"xmlns:tools"http://schemas.android.com/tools"android:id"@android:id/tabhost"
Stella981 Stella981
3年前
Bmp24Writer代码
import java.io._object Bmp24Writer {//将加密的数据写入文件    def writeEncryptedBmp(bmpPath: String, keys: ArrayInt,     shift: Int, times: Int,     red