svn,git,wx,phonegap配置问题

来源:互联网 发布:淘宝投诉淘小二有用吗 编辑:程序博客网 时间:2024/06/06 00:56
SVN:

    checkout 剪出
    add      添加
    commit   提交
    update   更新

    http://sinaapp.com/

========================================================
git
    git init

    git add .

    git commit 

    git push

    git status

    git config -l

配置
    git config --global user.email '邮箱'

    git config --global user.name '名字'

获取密钥:
    ssh-keygen -t rsa -C '邮箱'

设置key:
    点击用户名 -> settings ->SSH and GPG keys -> add key


第一次链接github
    git remote add origin 仓库路径

    git push -u origin master 


在二种方式:
    git clone 仓库路径

    cd 文件名

    git add .

    git commit 

    git push

========================================================
微信开发:
    微信公众号:企业号 个人号
        HTML页面 一拨人
              开发周期较短

    开发平台:https://open.weixin.qq.com/

    公众平台:https://mp.weixin.qq.com/

                群发功能
                自动回复
                自定义菜单
                投票管理...

    自己开发:
        必须得和后台配合

        appId :AppID(应用ID)wx7142132f17019133

        服务器配置:
                url
                token
                随机生成的codingkey

        开发者工具:
             1, 获取access_token
                 https://api.weixin.qq.com/cgi-bin/token?grant_type=client_credential&appid=wx7142132f17019133&secret=b6148725a851825a70d5f40ee2a0a657

                 APPID:wx7142132f17019133
                 secret:。。。。。

             2. 2s-LJ-ux3qIFH2ogFTkRZn3PveWOUVt0g7-pDDpdXqVMe4HLqkNqkx45O0e-hZ9D4Tn5MfNeWbrhfl8HMde1_mHfP1kmknTAFXtBeAxddQfX5fqWnYTceI5lflzzFXppGSZbADAOAH

    微信网页开发:
        微信JS-SDK说明文档
            http://res.wx.qq.com/open/js/jweixin-1.0.0.js


            摇一摇:http://res.wx.qq.com/open/js/jweixin-1.1.0.js

        微信配置信息:必须得有后台
            wx.config({
                debug: true, // 开启调试模式
                appId: '', // 必填,公众号的唯一标识
                timestamp: , // 必填,生成签名的时间戳
                nonceStr: '', // 必填,生成签名的随机串
                signature: '',// 必填,签名,见附录1
                jsApiList: [] // 必填,需要使用的JS接口列表,所有JS接口列表见附录2
            });

            wx.ready(function(){
                验证成功
            });


        API介绍:https://mp.weixin.qq.com/wiki?t=resource/res_main&id=mp1421141115&token=&lang=zh_CN

--------------------------------------------------------

phonegap

    官网:http://phonegap.com/

    下载:http://phonegap.com/getstarted/

    打包apk文件:https://build.phonegap.com/

            1. 直接压缩成zip 压缩包上传

            2. 可以把文件上传到github上 然后 去仓库打包

    需要adobe的账号

    lartern XX软件

    Plugin APIs :http://docs.phonegap.com/references/plugin-apis/

        Battery Status  电池状态
        Camera    相机
        Contacts  通讯录
        Device Info  设备信息
        Device Motion (accelerometer) 重力感应
        Device Orientation (compass)  罗盘
        Dialogs (notification) 自定义弹出框
        File 
        File Transfer
        Geolocation
        Globalization
        InAppBrowser
        Media Capture
        Network Information
        Splash Screen
        Status Bar
        Whitelist
        Vibration  震动


        cordova.js  phonegap中最核心的js文件


中文api:
    http://www.phonegapcn.com/contacts
==========================================================
H5 :
    本地存储

    多线程

    本地数据库
=================================================
    移动端:
        rem 布局

        百分比布局

        响应式布局

        js库:
            zepto

            jquery-mobile

            swiper

            iscroll

            hammer  : http://hammerjs.github.io/

        animate.css

        angular

====================================================
绘图:
    canvas

    svg

    vml

=====================================================
=====================================================
原创粉丝点击