• 2024-11-06c++控制台
    文章简介由于许多初学者可能都会想编一个自己的游戏,却由于表现形式不够而困扰,因此有了这篇文章。警告:system需谨慎,死机两行泪。一、光标1、隐藏光标voidHideCursor(){ CONSOLE_CURSOR_INFOcursor_info={1,0}; SetConsoleCursorInfo(GetStdHandle(STD
  • 2024-10-20c++跑酷(技能升级版,升级火,镖,水)
    #include<bits/stdc++.h> #include<windows.h>#include<stdio.h>#include<conio.h>#include<time.h>#defineNorif(B[b].x<5)B[b].x=5;#defineOut1Bx1-Bvx1<=6||Bx1-Bvx1>=28||By1-Bvy1<=7||By1-Bvy1>=27#defineOut
  • 2024-08-25c++随机生成图画
    话不多说直接上代码:#include<bits/stdc++.h>#include<windows.h>#include<stdlib.h>#include<cstdio>#include<iostream>#include<string>#include<stdio.h>#include<ctime>#include<conio.h>#include<time.h>
  • 2024-08-08Android Irregular View
    AboutthisProjectAnandroidviewthatenableclipforegroundandbackgroundintoirregularshapeCoreAbilityforegrounddrawablebackgrounddrawableforegroundborderbackgroundborderclipdrawableintoanyshapeclipbypathorroundcornersStepsforI
  • 2024-07-30如何解决部分设备分辨率不适配
    1)如何解决部分设备分辨率不适配2)Unity中如何实现草的LOD3)使用了PlayAssetDelivery提交版本被Google报错4)如何计算弧线弹道的落地位置这是第396篇UWA技术知识分享的推送,精选了UWA社区的热门话题,涵盖了UWA问答、社区帖子等技术知识点,助力大家更全面地掌握和学习。UWA社区主页:co
  • 2024-07-13vscode操作笔记
    ctrlshifp打开命令窗口 修改vscode左边搜索框或者文件名字显示的字体的方法(设置里面不包含,只有自己改css文件)找到workbench.desktop.main.css文件,修改以下属性.monaco-workbench.part>.content{font-size:14px;font-family:'YouYuan'} 我使用的插件有ms-vscode.cppto
  • 2024-07-13自用VsCode配置文件
    {"name":"karle","settings":"{\"settings\":\"{\\r\\n\\t\\\"liveServer.settings.CustomBrowser\\\":\\\"chrome\\\",\\r\\n\\t\\\"liveServer.settings.donot
  • 2024-06-14python利用蒙版进行抠图,背景透明和前景透明
    深度学习中利用黑白蒙版进行抠图importcv2importnumpyasnpdefget_alpha(image,mask):#归一化mask=mask/255back_mask=mask#将透明度A值转成一样维度back_transparent=back_mask.reshape(back_mask.shape[0],back_mask.shape[1],1
  • 2023-12-19vscode中Todo Tree插件的使用
    vscode中TodoTree插件的使用配置JSON将下方的JSON代码放入用户配置中复制JSON配置后,点击这里,然后粘贴。"todo-tree.tree.showScanModeButton":false,"todo-tree.filtering.excludeGlobs":["**/node_modules","*.xml","*.XML"],"todo
  • 2023-12-03python日志模块回顾
    日志模块配置文件logging.yamlversion:1formatters:simple:format:'[%(asctime)s%(thread)d][%(levelname)s]%(message)s'#日志内容的格式化,具体参数问GPT或百度dateformat:'%Y-%m-%d%H:%M:%S.%f'handlers:console:class:logging.StreamHand
  • 2023-11-21monaco editor自定义代码解析和代码高亮颜色配置
    //目前使用到的关于解析配置exportconstlanguage={//是否区分大小写,true区分ignoreCase:false,//关键字keywords:['aaa','bbb'],//类型关键字typeKeywords:[],//代码解析配置格式为[正则表达式,对应的类型如(string,number,comment)]tokenizer:
  • 2023-11-02vscode 设置豆沙绿护眼
    先上效果图:操作步骤:1、下载亮色主题GreenTreeTheme2、Ctrl+Shift+p,输入settings,选择opensettings(JSON)3、黏贴下面的json配置{"workbench.colorTheme":"GreenTree","workbench.colorCustomizations":{"[GreenTree]":{
  • 2023-10-07【HBuilderX】解决黑色主题中的注释颜色太浅的问题(代码示例)
    "foreground":"#a6a085"打开后,搜索Comment,修改,一个是//的颜色,一个是注释内容的颜色{ "name":"Comment", "scope":"comment", "settings":{ "foreground":"#a6a085" } }, {
  • 2023-07-26VSCODE 我常用的配置
    {"explorer.confirmDelete":false,"go.formatTool":"goimports","go.toolsManagement.autoUpdate":true,"terminal.integrated.fontFamily":"CascadiaCode","security.works
  • 2023-05-30vscode 自定义代码字体颜色,局部变量、全局变量、函数、宏、属性
    vscode自定义代码字体与颜色风格在setting.json中修改即可:在这里插入图片描述"editor.semanticTokenColorCustomizations":{       "enabled":true,//enableforallthemes       "rules":{           "*.static":{             
  • 2023-04-06ParallaxScrollView有视差的ScrollView
    UsageLookatthedemolayoutforimplimentation.Thebasicsare,thatyouneedtwoviewsaddedtotheParallaxScrollViewanditwilldotherest.ThefirstViewaddedistheBackgroundThesecondViewaddedistheForeground.Layoutandmeasuringisbase
  • 2023-02-22每日总结-23.2.22
    每日总结-23.2.22主要问题1.Gradle构建失败,因为它无法在drawable中找到ic_launcher_foreground.xml.即Gradlebuildisnotsuccessfulbecauseitcannotfind
  • 2023-02-13vscode自定义主题配色
    setting.json{"workbench.colorTheme":"SolarizedLight","window.zoomLevel":1,//目自定义的颜色"editor.tokenColorCustomizations":{
  • 2023-02-03 [oeasy]python0072_修改字体前景颜色_foreground_color_font
    修改颜色回忆上次内容m可以改变字体样式0-9之间设置的都是字体效果0重置为默认1变亮2变暗3斜体4下划线5慢闪6快闪7前景背景互换8隐藏9中划
  • 2022-10-23android实现网格布局
    效果图  添加依赖implementation'com.github.mtjsoft:GridPager:v3.7.0'layout文件<?xmlversion="1.0"encoding="utf-8"?><LinearLayoutxmlns:android="h
  • 2022-09-04vscode主题开发
    vscode主题开发教程https://blog.csdn.net/Suwanqing_su/article/details/105945290个人配置结果主题代码到Vscode放插件的目录中随便找一个主题插件点进去到themes文