首页
统计
留言
友链
更多
图片
关于
Search
1
软件开发 | flutter使用camera插件在安卓11以上的机器上调用availableCameras无法正常获得usb相机列表
5 阅读
2
scoop包管理器
3 阅读
3
利用深度搜索求解回溯问题的通用模板
3 阅读
4
java开发知识点
2 阅读
5
codeforces-cpp模板
2 阅读
默认分类
后端开发
相关配置
知识分享
异常处理
前端开发
建站教程
开发教程
知识回顾
软件开发
杂项
登录
Search
标签搜索
java
golang
scoop
go
vue
hexo
sublime text
cpp
windows
redis
mc
mod
fabric
mysql
word
计算机网络
channel
html
flutter
camera
Wisansiiz
累计撰写
24
篇文章
累计收到
2
条评论
首页
栏目
默认分类
后端开发
相关配置
知识分享
异常处理
前端开发
建站教程
开发教程
知识回顾
软件开发
杂项
页面
统计
留言
友链
图片
关于
搜索到
6
篇与
的结果
2024-07-14
sublime-text中clang-format插件的配置
Custom style{ "BasedOnStyle": "Google", "IndentWidth": 4, "AlignAfterOpenBracket": true, "AlignConsecutiveAssignments": true, //# 连续声明时,对齐所有声明的变量名 "AlignConsecutiveDeclarations": false, "MaxEmptyLinesToKeep": 4, "BreakBeforeBraces": "Attach", "AllowShortIfStatementsOnASingleLine": true, "IndentCaseLabels": true, "ObjCBlockIndentWidth": 4, "ObjCSpaceAfterProperty": true, "ColumnLimit": 0, "AlignTrailingComments": true, "SpaceAfterCStyleCast": true, "SpacesInParentheses": false, "SpacesInSquareBrackets": false, "TabWidth": 4, "UseTab": "Never", "AllowShortBlocksOnASingleLine": false, "AllowShortIfStatementsOnASingleLine": true, "AllowShortLoopsOnASingleLine": true, "BraceWrapping":{ "AfterClass": false, "AfterControlStatement": false, "AfterEnum": false, "AfterFunction": false, "AfterNamespace": false, "AfterObjCDeclaration": false, "AfterStruct": false, "AfterUnion": false, "BeforeCatch": false, "BeforeElse": false, "IndentBraces": false, "SplitEmptyFunction": true, "SplitEmptyRecord": true, "SplitEmptyNamespace": true }, "Cpp11BracedListStyle": true, "ColumnLimit": 80, } User setting{ "binary": "D:\\LLVM\\bin\\clang-format.exe", "style": "Custom", "format_on_save": true, "languages": ["C", "C++"] }
2024年07月14日
0 阅读
0 评论
0 点赞
2024-06-06
codeforces-cpp模板
codeforces-cpp模板#include <bits/stdc++.h> using namespace std; #define pb push_back #define fi first #define se second #define mk make_pair #define endl "\n" #define enld "\n" #define fastio \ ios_base::sync_with_stdio(false); \ cin.tie(0); \ cout.tie(0) #define LCM(a, b) a *b / __gcd(a, b) #define GCD(a, b) __gcd(a, b) #define len(v) int(v.size()) #define all(v) v.begin(), v.end() #define sz 100010 #define mod 1000000007 #define inf 1e18 #define i32 1e9 typedef long long ll; typedef unsigned long long ull; typedef double ld; typedef long double lld; typedef pair<int, int> pii; typedef pair<ll, ll> pll; typedef tuple<int, int, int> iii; typedef vector<int> vi; typedef vector<pii> vpii; typedef vector<ll> vll; typedef vector<ld> vd; void solve() { int n; cin >> n; cout << n << endl; } int main() { fastio; int t = 1; cin >> t; while (t--) solve(); }
2024年06月06日
2 阅读
0 评论
0 点赞
2023-11-29
配置golang的环境变量
配置golang的环境变量# 项目中用到 开启mod模式 go env -w GO111MODULE=on # 设置镜像代理 go env -w GOPROXY=https://goproxy.cn七牛云代理
2023年11月29日
0 阅读
0 评论
0 点赞
2023-11-16
windows联网激活
windows联网激活命令行irm https://massgrave.dev/get | iex irm https://get.activated.win | iex
2023年11月16日
2 阅读
0 评论
0 点赞
2023-08-20
scoop包管理器
在Windows上使用包管理器scoop官网配置环境变量在$env:SCOOP='填写windows路径'$env:SCOOP='D:\Scoop' [Environment]::SetEnvironmentVariable('SCOOP', $env:SCOOP, 'User')下载安装配置完环境变量后使用命令行进行安装iwr -useb get.scoop.sh | iex安装完成后在配置路径下查看使用常用命令查看一些信息:search——搜索仓库中是否有相应软件。install——安装软件。uninstall——卸载软件。update——更新软件。可通过scoop update *更新所有已安装软件,或通过scoop update更新所有软件仓库资料及Scoop自身而不更新软件。hold——锁定软件阻止其更新。info——查询软件简要信息。home——打开浏览器进入软件官网。安装软件可以在官网搜索想要的软件, 如果有则直接进行命令行安装,安装的文件都在apps文件夹下并且一些软件会自动配置环境变量,一些软件比如7zip需要用到右键进行压缩和解压需要添加注册表则安装的文件夹下会有install-context.reg文件双击进行安装删除也有对应的uninstall-context.reg缺点:需要配置镜像或者代理要不然可能下载很慢,使用scoop config proxy 127.0.0.1:7890将代理改为clash本文参考自:Scoop——也许是Windows平台最好用的软件(包)管理器 - 知乎, 仅供自己学习使用2024年7月16日更新如今的scoop支持的软件越来越多,如果你是一位开发者,推荐你使用scoop来管理系统的环境变量,以及多环境,像多版本的Java,不同版本的nodejs,还能方便的下载c/c++相关的内容像mingw,llvm。
2023年08月20日
3 阅读
0 评论
0 点赞
1
2