• 2024-08-06Unity使用多屏幕Display以及不同屏幕的射线检测
    0.背景最近在做一个双屏游戏,一个场景中有两个摄像机,分别渲染到两个屏幕显示,然后在点击不同的屏幕时,要从不同的摄像机发射射线检测与场景中的物体交互。1.设置多屏unity中设置多屏的方式很简单,选中摄像机组件中的TargetDisplay属性即可。2.显式地激活连接的屏幕在确保连
  • 2024-07-30sos.dll 命令
    0:000>!sos.help-------------------------------------------------------------------------------SOSisadebuggerextensionDLLdesignedtoaidinthedebuggingofmanagedprograms.Functionsarelistedbycategory,thenroughlyinorderofimportance
  • 2024-07-02如何在Oracle、MySQL、PostgreSQL中改变SQL提示格式
    HowtoChangeinSQLPromptformatinOracle,MySQL,PostgreSQL像UNIX的PS1环境变量可以改变shell操作提示符,在日常工作环境中可以提升一些效率可以防止一些误操作,很多年前在看tom关于在练习oracle操作前的一些环境配置像login.sql,比起”SQL>”还可以显示当前的用
  • 2024-06-24使用 Store 版的 WinDbg 调试 .NET 应用
    1.通过WindowsStore安装WinDbg打开WindowsStore,在搜索框中输入WinDbg,如果已经安装了,看到的是Open,如果还没有安装,显式为Get.直接安装即可。2.安装SOSSOS调试扩展提供了一系列的扩展命令,通过SOS的扩展命令,可以直接查看CLR运行时的各类信息。在.NET下,使
  • 2023-10-24[926] Batch Script - Commands
    Inthischapter,wewilllookatsomeofthefrequentlyusedbatchcommands.S.NoCommands&Description1VERThisbatchcommandshowstheversionofMS-DOSyouareusing.2ASSOCThisisabatchcommandthatassociatesanextensionwithaf
  • 2023-10-06Go - Parsing Time Displays Into Structs
     funcmain(){str:="4:31am+0800onOct1,2021"layout:="3:04pm-0700onJan2,2006"t,err:=time.Parse(layout,str)iferr!=nil{log.Println("C
  • 2023-06-09调试小技巧
    “Debuggingistwiceashardaswritingthecodeinthefirstplace.Therefore,ifyouwritethecodeascleverlyaspossible,youare,bydefinition,notsmartenoughtodebugit.”—BrianW.Kernighan1.中断进入调试器1.1c++_asm{int3}一个宏(ma
  • 2023-05-10netstat
    DisplaysprotocolstatisticsandcurrentTCP/IPnetworkconnections.NETSTAT[-a][-b][-e][-f][-n][-o][-pproto][-r][-s][-t][-x][-y][interval]-aDisplaysallconnectionsandlisteningports.-bDisplaystheexecutab
  • 2022-12-15R的画图
    关于R基础有3个需要总结的地方R的画图(统计学图,ggplot)R的基本语法Rdataframe相关Plotplot(1,2)plot(c(1, 2, 3, 4, 5),c(3, 7, 8, 9, 12))x<-c(1, 
  • 2022-12-05wpf GridControl
    TheWPFDataGrid(GridControl)isadata-awarecontroldesignedtodisplayandeditdataindifferentlayouts:tabular,treelike,andcard.TheGridControlal
  • 2022-08-14c#进制转换
    全文剪切于C#帮助文档,整理出来方便自己后期查阅。标准数字格式字符串本文内容已由人工翻译。如果您连接了Internet,请选择“联机查看本主题”以在可编辑模