android 开发常用笔记

一.git笔记

1.更新Remote Branchs列表

在git bash或者Studio中的Terminal输入:

git remote update origin --prune

2.修改提交用户名、邮箱

全局修改(配置文件:~/.gitconfig)

git config --global user.name "Your Name"

git config --global user.email "email@example.com"

只修改当前资源库(配置文件:工作区目录/.git/config)

git config user.name "Your Name"

git config user.email "email@example.com"

查看

git config user.name

git config user.email

3.解决unable to access 'https://git.xx.cn/xx/xx.git/': SSL certificate problem: certificate has expired问题

原因:由于各个网站通过证书证明自己的身份,它们在设定的时间段内有效。git.xx.cn 的证书已于 2022/12/3 过期。

git config --global http.sslVerify false

二.颜色处理

1.透明度

00%=FF(不透明)    5%=F2    10%=E5    15%=D8    20%=CC    25%=BF    30%=B2    35%=A5    40%=99    45%=8c    50%=7F   
55%=72    60%=66    65%=59    70%=4c    75%=3F    80%=33    85%=21    90%=19    95%=0c    100%=00(全透明)

三.mac电脑操作

1.打开Finder按下Shift+Command+G输入目录地址进入指定目录

  • 1
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

Ya-Jun

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值