- 博客(11)
- 收藏
- 关注
转载 国内源
1. Androidrepositories { maven { url 'http://maven.aliyun.com/nexus/content/groups/public/' } jcenter()}2.Nodejsnpm- 安装淘宝源 http://npm.taobao.org/$ npm install -g cnpm ...
2017-08-17 11:33:00
110
转载 hexo安装-nodejs
npm- 安装淘宝源 http://npm.taobao.org/$ npm install -g cnpm --registry=https://registry.npm.taobao.org- 查看源$ npm config get registry // https://registry.npmjs.org/$ npm config set registry https://reg...
2017-08-16 09:30:00
142
转载 python调用chrome打开指定网址
#!/usr/bin/python# -*- coding:utf-8 -*-import osf = open("chrome_cmd_path.txt")chrome = f.readline().strip()f.close()url = "https://www.baidu.com"cmd = "start /B \"\" \"%s\" -...
2017-08-02 10:22:00
446
转载 生成证书,用于签名Android应用
1. keytool 命令1)使用JDK中的一个命令keytool,都有哪些命令呢,使用 keytool -help 进行查看2)本次使用 keytool -genkeypair 命令生成签名,查看此命令都有哪些参数keytool -genkeypair -help发现keytool -genkey与keytool -genkeypair 效果一样2. 使用命...
2017-07-28 10:36:00
112
转载 cygwin64-安装包管理工具
1.dos command, install pkg$ setup-x86_64.exe -q -P curl$ setup-x86_64.exe -q -P lynx2.cygwin64 command$ lynx -source rawgit.com/transcode-open/apt-cyg/master/apt-cyg > apt-cyg...
2017-07-27 21:54:00
487
转载 Android-删除指定包名的App
/** * check and delete the old package app if it exists. */ private void checkOldPackage() { String packageName = "xxx.xxx.xxx.xxx"; if (isAvilible(this, pack...
2017-07-27 14:53:00
316
转载 pyqt5加载网页的简单使用
如下初步使用了pyqt5,构造了一个webview来加载网址,呈现网页。1.安装pyqt5包,可使用douban的源pip install pyqt5 -i http://pypi.douban.com/simple --trusted-host pypi.douban.com2.上代码如下#!/usr/bin/python# -*- coding:utf...
2017-07-20 09:09:00
596
转载 打包python到exe
#!/usr/bin/python# -*- coding:utf-8 -*-import distutilsimport py2exefrom distutils.core import setupoptions = { # "py2exe": {"packages": ['wx.lib.pubsub'], "includes": ["sip"]}...
2017-07-20 09:04:00
136
转载 Git-常用命令
// creat 数字签名# ssh-keygen -t rsa# git config --global user.name "Your Name"# git config --global user.email "Your Email"# git config --global push.default [simple|matching]// 详细说明...
2017-07-18 10:20:00
90
转载 Retrofit-入门使用
1. 在模块目录下的build.gradledependencies { compile "com.squareup.retrofit2:retrofit:2.1.0" compile "com.squareup.retrofit2:converter-gson:2.1.0"}2. 请求服务接口类-注解对应服务器接口public inter...
2017-07-17 15:57:00
69
转载 单例
public class SingletonDemo { // 双重检测锁 public static class Singleton1 { private static volatile Singleton1 instance; private Singleton1() {} public static ...
2017-07-17 10:28:00
91
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人