- 添加登录用户,注意:此命令不兼容debian系或redhat系
useradd -m -G wheel -s /bin/bash testuser #wheel附加组可sudo,以root用户执行命令 -m同时创建用户home目录
passwd testuser| //gradle-wrapper.properties | |
| distributionUrl=https\://mirrors.cloud.tencent.com/gradle/gradle-8.14.2-bin.zip | |
| //settings.gradle.kts | |
| pluginManagement { | |
| repositories { | |
| // 阿里云镜像(优先) | |
| maven { url = uri("https://maven.aliyun.com/repository/google") } |
| # config from: https://www.jianshu.com/p/4311cea76a10 | |
| # option infomation doc: | |
| # http://clang.llvm.org/docs/ClangFormatStyleOptions.html | |
| --- | |
| # BasedOnStyle: LLVM | |
| --- | |
| Language: Cpp | |
| BasedOnStyle: Google | |
| Standard: Cpp11 |
useradd -m -G wheel -s /bin/bash testuser #wheel附加组可sudo,以root用户执行命令 -m同时创建用户home目录
passwd testuser| # -*- coding: utf-8 -*- | |
| # 注意: 需手动新建result文件夹 | |
| import os | |
| from shutil import copyfile | |
| import cv2 | |
| base = './images/' | |
| destination = "./result/" | |
| max_width = 500 |
| sudo sh -c 'echo "/Users/jones/Documents/mypath/mongodb/bin" > /etc/paths.d/mongodb' |
| import android.text.TextUtils; | |
| import java.io.BufferedReader; | |
| import java.io.ByteArrayInputStream; | |
| import java.io.FileInputStream; | |
| import java.io.FileNotFoundException; | |
| import java.io.InputStream; | |
| import java.io.InputStreamReader; | |
| import java.util.HashMap; | |
| import java.util.regex.Matcher; |