<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Tolcol.com</title>
    <link>https://www.tolcol.com/</link>
    <description>Recent content on Tolcol.com</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>en</language>
    <lastBuildDate>Thu, 23 Jun 2022 00:00:00 +0000</lastBuildDate><atom:link href="https://www.tolcol.com/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Android常用的环境变量</title>
      <link>https://www.tolcol.com/post/android-variables/</link>
      <pubDate>Thu, 23 Jun 2022 00:00:00 +0000</pubDate>
      
      <guid>https://www.tolcol.com/post/android-variables/</guid>
      <description>官方文档中很全面,本文只做简化记录使用。 常用的环境变量 ANDROID_HOME ANDROID_SDK_ROOT ANDROID_SDK_HOME GRADLE_USER_HOME 各个环境变量说明 本文假设新的SDK目录地址为E:\Android\sdk ANDROID_HOME=E:\Android\sdk ANDROID_SDK_ROOT=E:\Android\sdk 这两个环境变量作用差不多，都是指向SDK安装目录， ANDROID_HOME 已被弃用，</description>
    </item>
    
    <item>
      <title>Android获取GooglePlay下载来源</title>
      <link>https://www.tolcol.com/post/android-play-installreffer/</link>
      <pubDate>Thu, 19 Dec 2019 00:00:00 +0000</pubDate>
      
      <guid>https://www.tolcol.com/post/android-play-installreffer/</guid>
      <description>GooglePlay下载来源 用户通过推广链接下载App的时候，国内应用商店是无法获取推广来源的，通过而GooglePlay可以，通过网址构建工具生成前往GooglePlay的下载链接，应用就可以获取到</description>
    </item>
    
    <item>
      <title>Linux 自启服务配置</title>
      <link>https://www.tolcol.com/post/linux-config-service/</link>
      <pubDate>Mon, 16 Dec 2019 00:00:00 +0000</pubDate>
      
      <guid>https://www.tolcol.com/post/linux-config-service/</guid>
      <description>创建自定义service服务 以创建frps服务为例,在 /lib/systemd/system/ 目录下面创建frps.service文件，内容如下 frps.service # frps.service [Unit] Description=frps service After=network.target network-online.target syslog.target Wants=network.target network-online.target [Service] Type=simple #启动服务的命令 ExecStart=/etc/frp/frps -c /etc/frp/frps.ini [Install] WantedBy=multi-user.target [Unit] ：表明该服务的描述，类型描述。 Description : 该服务</description>
    </item>
    
    <item>
      <title>Linux修改国内软件源</title>
      <link>https://www.tolcol.com/post/linux-config-source/</link>
      <pubDate>Mon, 16 Dec 2019 00:00:00 +0000</pubDate>
      
      <guid>https://www.tolcol.com/post/linux-config-source/</guid>
      <description>国内源地址参考 国内源很多都有帮助文档，可以看相应的文档： 中科大 上海交大 清华 阿里 腾讯云 其他更多 需要注意的是:如果是arm平台，使用ubuntu-ports目录下面的源 示例 以中科源为例，更新Ubuntu2</description>
    </item>
    
    <item>
      <title>文件树Tree的使用</title>
      <link>https://www.tolcol.com/post/tools-note-tree/</link>
      <pubDate>Sun, 02 Jun 2019 00:00:00 +0000</pubDate>
      
      <guid>https://www.tolcol.com/post/tools-note-tree/</guid>
      <description>文件树Tree 经常在博客或者文档中看到如下目录展示形式： /home/download │ │ fileRoot.txt │ tree.txt │ ├─dir_a │ fileA.txt │ ├─dir_b │ fileB.txt │ └─dir_c └─dir_c_c filec.txt 这样的文件目录展示形式是如何展示的？其实都是一个tree</description>
    </item>
    
    <item>
      <title>在项目中使用Kotlin</title>
      <link>https://www.tolcol.com/post/android-kotlin/</link>
      <pubDate>Thu, 28 Mar 2019 00:00:00 +0000</pubDate>
      
      <guid>https://www.tolcol.com/post/android-kotlin/</guid>
      <description>前言 在2017年Google I/O大会上，Kotlin正式成为Android开发的一等语言，两年时间里，Google的文档演示代码几乎都已经换成了Kotlin，之前对Kotlin也就是了解，写过一些d</description>
    </item>
    
    <item>
      <title>Git常用命令</title>
      <link>https://www.tolcol.com/post/tools-note-git/</link>
      <pubDate>Sun, 03 Feb 2019 00:00:00 +0000</pubDate>
      
      <guid>https://www.tolcol.com/post/tools-note-git/</guid>
      <description>git远程仓库 $ git remote #列出远程仓库的名字 -v 显示仓库地址 $ git remote add origin &amp;lt;URL&amp;gt; #添加地址URL的仓库命名为origin $ git branch -r #查看远程分支 $ git remote show origin # 查看远程库的一些信息 $ git remote prune origin #删除远程失效的分支 git提交</description>
    </item>
    
    <item>
      <title>Android基础-基本的Adb命令</title>
      <link>https://www.tolcol.com/post/android-basics-adbshell/</link>
      <pubDate>Mon, 07 May 2018 00:00:00 +0000</pubDate>
      
      <guid>https://www.tolcol.com/post/android-basics-adbshell/</guid>
      <description>Adb常用命令 adb服务开启关闭 adb start-server #开启 adb kill-server #关闭 adb安装/卸载apk adb install apk文件.apk #安装 adb uninstall 包名 #卸载 多个设备要加上参数-s 设备号 adb -s deviceNo install apk文件.apk 启动Activity/Serv</description>
    </item>
    
    <item>
      <title>区块链(一)</title>
      <link>https://www.tolcol.com/post/blockchain1/</link>
      <pubDate>Wed, 02 May 2018 22:00:00 +0000</pubDate>
      
      <guid>https://www.tolcol.com/post/blockchain1/</guid>
      <description>一、区块链(BlockChain) 1. 区块(Block) 区块是组成区块链的基本数据块 区块由区块头和区块体组成 区块头一般包含生成的时间戳、上一个区块的hash、当前区块的hash 区块体一般存放数据，如交易</description>
    </item>
    
    <item>
      <title>Retrofit2 应用</title>
      <link>https://www.tolcol.com/post/android-third-retrofit/</link>
      <pubDate>Fri, 26 Jan 2018 00:00:00 +0000</pubDate>
      
      <guid>https://www.tolcol.com/post/android-third-retrofit/</guid>
      <description>开始使用Retrofit 基本使用介绍 不啰嗦，直接看：Retrofit官网 项目实际中的问题点 添加公共请求参数 使用okhttp拦截器 根据请求类型分别添加参数 /** * OkHttp 拦截器,请求加上基本参数 */ public final class RequestInterceptor implements Interceptor { @Override</description>
    </item>
    
    <item>
      <title>Android基础-Broadcast</title>
      <link>https://www.tolcol.com/post/android-basics-broadcast/</link>
      <pubDate>Sat, 30 Dec 2017 00:00:00 +0000</pubDate>
      
      <guid>https://www.tolcol.com/post/android-basics-broadcast/</guid>
      <description>Broadcast是Android内部通信机制的一个重要方式，包括广播发送者，广播接受者，信息，可以类似于传统意义上的收音机，由电台（广播发送者）发送信息（Intent），由收音机等接收设备接受信息（</description>
    </item>
    
    <item>
      <title>Android知识点-View</title>
      <link>https://www.tolcol.com/post/android-basics-view/</link>
      <pubDate>Wed, 20 Dec 2017 00:00:00 +0000</pubDate>
      
      <guid>https://www.tolcol.com/post/android-basics-view/</guid>
      <description>View绘制 主要方法 Measure：测量计算控件大小 Layout：确定绘制位置 Draw：开始绘制 MeasureSpec MeasureSpec由一个32位的整形组成，其中高2位是mode，后30位是size。可以通过Mea</description>
    </item>
    
    <item>
      <title>Google Developer Days 2017</title>
      <link>https://www.tolcol.com/post/event-GDD2017/</link>
      <pubDate>Mon, 18 Dec 2017 00:00:00 +0000</pubDate>
      
      <guid>https://www.tolcol.com/post/event-GDD2017/</guid>
      <description>原图可访问 我的 Google Photos 大会签到 大会外景 签到处,人山人海 主会场 Google Giorgio Cam 互动 Giorgio Cam是Google开发AI图像识别物体并生成一段相关的rap，现场摄像机捕捉观众手中举起的东西，让Giorgio Cam识别并生成r</description>
    </item>
    
    <item>
      <title>我会问的一些Android面试题</title>
      <link>https://www.tolcol.com/post/android-interview/</link>
      <pubDate>Wed, 29 Nov 2017 23:00:00 +0000</pubDate>
      
      <guid>https://www.tolcol.com/post/android-interview/</guid>
      <description>页面 Activity的生命周期以及一些场景下对应执行什么方法 简介： 1. onCreate #Activity被创建时调用 2. onStart #Activity能被用户看见，但是没有获得焦点 3. onResume #Activity获得焦点，此时Activi</description>
    </item>
    
    <item>
      <title>Nginx编译openssl出错</title>
      <link>https://www.tolcol.com/post/linux-config-nginx/</link>
      <pubDate>Sun, 12 Nov 2017 00:00:00 +0000</pubDate>
      
      <guid>https://www.tolcol.com/post/linux-config-nginx/</guid>
      <description>编译安装Nginx或者tengine关于openssl出错失败记录 以下是正常编译流程 $ cd /home/download $ wget http://tengine.taobao.org/download/tengine-2.2.1.tar.gz $ tar -zxvf tengine-2.2.1.tar.gz $ cd tengine-2.2.1 $ ./configure --prefix=/usr/local/nginx $ make $ make install 如果正常情况下应该在/usr/local下出来nginx的目录了。 今天在m</description>
    </item>
    
    <item>
      <title>关于</title>
      <link>https://www.tolcol.com/post/about/</link>
      <pubDate>Sun, 29 Oct 2017 00:00:00 +0000</pubDate>
      
      <guid>https://www.tolcol.com/post/about/</guid>
      <description>关于网站 域名含义 一时兴起，买了这个域名，就一直用了。 博客 记录一些随笔。 其他一些信息 我的CSDN: alwaysl7 Email: abc@tolcol.com</description>
    </item>
    
    <item>
      <title>fastjson注解@JSONField的使用</title>
      <link>https://www.tolcol.com/post/android-third-fastjson/</link>
      <pubDate>Sat, 28 Oct 2017 00:00:00 +0000</pubDate>
      
      <guid>https://www.tolcol.com/post/android-third-fastjson/</guid>
      <description>如果项目中遇到后台传给前台的json字符串命名方式不符合java的命名规范 如： 1 {&amp;#34;exp_value&amp;#34;:&amp;#34;exp1&amp;#34;,&amp;#34;user_age&amp;#34;:11,&amp;#34;user_name&amp;#34;:&amp;#34;username1&amp;#34;} javabean中是小驼峰命名： 1 2 3 4 5 private String userName; private String expValue; private int userAge; 关于FastJson属性别名的问题，网上很多文章都指出@J</description>
    </item>
    
    <item>
      <title>Docker笔记2-制作镜像</title>
      <link>https://www.tolcol.com/post/linux-docker2/</link>
      <pubDate>Thu, 17 Aug 2017 00:50:03 +0000</pubDate>
      
      <guid>https://www.tolcol.com/post/linux-docker2/</guid>
      <description>#基于node:6.11.3-alpine基础镜像 FROM node:6.11.3-alpine LABEL version=&amp;#34;0.3&amp;#34; maintainer=&amp;#34;abc@tolcol.com&amp;#34; RUN apk update &amp;amp;&amp;amp; \ apk add git &amp;amp;&amp;amp; \ mkdir /home/hexo &amp;amp;&amp;amp; \ npm install -g hexo-cli &amp;amp;&amp;amp; \ npm install -g hexo-server WORKDIR /home/hexo RUN hexo init blog &amp;amp;&amp;amp; \ cd blog &amp;amp;&amp;amp; \ npm install WORKDIR /home/hexo/blog CMD [ &amp;#34;hexo&amp;#34;,&amp;#34;server&amp;#34; ] #构建命令 $ docker build -t myhexo:1.0 .</description>
    </item>
    
    <item>
      <title>Docker笔记1-安装以及使用</title>
      <link>https://www.tolcol.com/post/linux-docker1/</link>
      <pubDate>Wed, 16 Aug 2017 00:00:00 +0000</pubDate>
      
      <guid>https://www.tolcol.com/post/linux-docker1/</guid>
      <description>docker 安装 移除已安装的docker $ sudo apt-get remove docker docker-engine docker.io 先安装必要的系统工具 $ sudo apt-get update $ sudo apt-get install \ apt-transport-https \ ca-certificates \ curl \ software-properties-common 安装证书(任选其一) # docker官方 $ curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add - # aliyun 替换为：http://mirrors.ali</description>
    </item>
    
    <item>
      <title>关于我</title>
      <link>https://www.tolcol.com/about/</link>
      <pubDate>Tue, 10 Mar 2015 00:13:27 +0000</pubDate>
      
      <guid>https://www.tolcol.com/about/</guid>
      <description>《Go 实战笔记》系列作者，《Golang Gin 实战》系列作者，《Android Gradle权威指南》作者，现负责技术管理。 Android Gradle权威指南 公众号，扫码关注</description>
    </item>
    
    <item>
      <title>归档</title>
      <link>https://www.tolcol.com/archives/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>https://www.tolcol.com/archives/</guid>
      <description></description>
    </item>
    
    <item>
      <title>搜索</title>
      <link>https://www.tolcol.com/search/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>https://www.tolcol.com/search/</guid>
      <description></description>
    </item>
    
  </channel>
</rss>
