01 2024 档案

摘要:unix soket 默认 路径 unix:///var/run/docker.sock 如果不存在也可以使用 unix://~/.docker/run/docker.sock tcp soket 该方式必须 开始 tcp 2375端口 dockerdamon.json mac无效 { "hosts 阅读全文
posted @ 2024-01-31 11:51 vx_guanchaoguo0 阅读(168) 评论(0) 推荐(0) 编辑
摘要:默认已经安装ssh 查看状态 sudo systemsetup -getremotelogin 状态显示 Remote Login: Off Remote Login: On 开启服务 sudo systemsetup -setremotelogin on 关闭服务 sudo systemsetup 阅读全文
posted @ 2024-01-31 10:01 vx_guanchaoguo0 阅读(28) 评论(0) 推荐(0) 编辑
摘要:实现效果 首先实现横向 取模 也叫求余数 0~2 = 0, 3~5 = 1 ....... 可以确定行的交替 int colIndex = index % 3; 首先实现纵向 整除 0~2 = 0, 3~5 = 1 ....... 可以确定行的交替 int rowIndex = index ~/ 3 阅读全文
posted @ 2024-01-30 11:08 vx_guanchaoguo0 阅读(2) 评论(0) 推荐(0) 编辑
摘要:base64 base64 格式可读性强强 方便传输和查看 例如git 免密登录都这种格式 openssl base64 -in cert.cer -out cert.base64 二进制 DER Distinguished Encoding Rules 通常用于表示 X.509 格式的证书 二进制 阅读全文
posted @ 2024-01-29 14:41 vx_guanchaoguo0 阅读(54) 评论(0) 推荐(0) 编辑
摘要:系统自带的 tabbar 焦点 在 TV端无法很好的使用 使用card_swiper 组件作为tabview import 'package:card_swiper/card_swiper.dart'; import 'package:flutter/material.dart'; void mai 阅读全文
posted @ 2024-01-26 16:36 vx_guanchaoguo0 阅读(108) 评论(0) 推荐(0) 编辑
摘要:正确路劲 /Library/Java/JavaVirtualMachines/jdk1.8.0_271.jdk/Contents/Home/jre/lib/server/libjvm.dylib ``` ### 软连接 ``` sudo ln -s /Library/Java/JavaVirtual 阅读全文
posted @ 2024-01-26 10:51 vx_guanchaoguo0 阅读(62) 评论(0) 推荐(1) 编辑
摘要:cursor.execute(sql) rows = cursor.fetchall() result_list = [] columns = [desc[0] for desc in cursor.description] # get column names for row in rows: r 阅读全文
posted @ 2024-01-23 16:38 vx_guanchaoguo0 阅读(6) 评论(0) 推荐(0) 编辑
摘要:![](https://img2024.cnblogs.com/blog/2697130/202401/2697130-20240119142816393-899360148.png) 阅读全文
posted @ 2024-01-19 14:28 vx_guanchaoguo0 阅读(3) 评论(0) 推荐(0) 编辑
摘要:获取证书 安装证书 sudo /Library/Java/JavaVirtualMachines/jdk1.8.0_202.jdk/Contents/Home/jre/bin/keytool -import -alias carpooling -keystore "/Library/Java/Jav 阅读全文
posted @ 2024-01-16 17:24 vx_guanchaoguo0 阅读(171) 评论(0) 推荐(0) 编辑
摘要:brew cash 安装 /usr/local/Cellar/ brew 安装 /Library/Java/JavaVirtualMachines/ win10 https://javadl.oracle.com/webapps/download/GetFile/1.8.0_211-b12/478a 阅读全文
posted @ 2024-01-13 22:10 vx_guanchaoguo0 阅读(3) 评论(0) 推荐(0) 编辑
摘要:build setting buildscript { ext.kotlin_version = '1.5.20' repositories { // google() // mavenCentral() maven{ url 'https://maven.aliyun.com/repository 阅读全文
posted @ 2024-01-13 19:30 vx_guanchaoguo0 阅读(6) 评论(0) 推荐(0) 编辑
摘要:设置当前的架构 arch -x86_64 zsh 安装apk adb install app-release.apk 打开应用 adb shell am start -n com.td.flutter_tv/.MainActivity 阅读全文
posted @ 2024-01-12 14:26 vx_guanchaoguo0 阅读(145) 评论(0) 推荐(0) 编辑
摘要:脚本任务 { "job": { "setting": { "speed": { "channel": 1 } }, "content": [ { "reader": { "name": "mysqlreader", "parameter": { "username": "root", "passwo 阅读全文
posted @ 2024-01-11 12:46 vx_guanchaoguo0 阅读(18) 评论(0) 推荐(0) 编辑
摘要:全部文件 /etc/profile /etc/paths ~/.bash_profile ~/.bash_login ~/.profile ~/.bashrc 启动顺序 /etc/profile =>/etc/paths =>~/.bash_profile => ~/.bash_login => ~ 阅读全文
posted @ 2024-01-10 14:24 vx_guanchaoguo0 阅读(67) 评论(0) 推荐(0) 编辑
摘要:安装jdk 必须安装 JDK1.8.0_202 这个版本 如果安装其他版本 执行以下操作 sudo rm -fr /Library/Internet\ Plug-Ins/JavaAppletPlugin.plugin sudo rm -fr /Library/PreferencesPanes/Jav 阅读全文
posted @ 2024-01-10 11:51 vx_guanchaoguo0 阅读(271) 评论(0) 推荐(0) 编辑
摘要:安装jenv brew install jenv // 也可以直接下载 效果一样的 git clone https://github.com/jenv/jenv.git ~/.jenv 设置环境变量 echo 'export PATH="$HOME/.jenv/bin:$PATH"' >> ~/.b 阅读全文
posted @ 2024-01-10 10:45 vx_guanchaoguo0 阅读(78) 评论(0) 推荐(0) 编辑
摘要:全局设置 git config --global user.name "寂寞的钢蛋儿" git config --global user.email "guanchaoguo@qq.com" 创建 git 仓库: mkdir test cd test git init touch README.md 阅读全文
posted @ 2024-01-09 14:20 vx_guanchaoguo0 阅读(8) 评论(0) 推荐(0) 编辑
摘要:.gradle/init.gradle allprojects { buildscript { repositories { maven { url 'https://maven.aliyun.com/repository/jcenter' } maven { url 'https://maven. 阅读全文
posted @ 2024-01-07 12:03 vx_guanchaoguo0 阅读(12) 评论(0) 推荐(0) 编辑
摘要:install brew ~bin/zsh -c "$(curl -fsSL https://gitee.com/cunkai/HomebrewCN/raw/master/Homebrew.sh)" ``` ### install java11 ``` brew install java11 ``` 阅读全文
posted @ 2024-01-03 17:14 vx_guanchaoguo0 阅读(84) 评论(0) 推荐(0) 编辑
摘要:安装brew ~bin/zsh -c "$(curl -fsSL https://gitee.com/cunkai/HomebrewCN/raw/master/Homebrew.sh)" 安装模拟器 brew install android-platform-tools 下载镜像 android-e 阅读全文
posted @ 2024-01-03 15:52 vx_guanchaoguo0 阅读(585) 评论(0) 推荐(0) 编辑
摘要:gradle wapper distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists distributionUrl=https\://mirrors.cloud.tencent.com/gradle/gradle-6.8.1- 阅读全文
posted @ 2024-01-02 10:30 vx_guanchaoguo0 阅读(12) 评论(0) 推荐(0) 编辑
摘要:gradle wapper distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists distributionUrl=https\://mirrors.cloud.tencent.com/gradle/gradle-6.8.1- 阅读全文
posted @ 2024-01-02 10:29 vx_guanchaoguo0 阅读(69) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示