• 2024-05-24鸿蒙HarmonyOS实战-Stage模型(信息传递载体Want)
  • 2024-05-20鸿蒙HarmonyOS实战-Stage模型(开发卡片事件)
  • 2024-05-14鸿蒙HarmonyOS实战-Stage模型(UIAbility组件)
  • 2024-04-23HINT: It seems you set a fixed date / time / datetime value as default for this field. This may not
    WARNINGS:customers.PackingHead.packing_date:(fields.W161)Fixeddefaultvalueprovided.HINT:Itseemsyousetafixeddate/time/datetimevalueasdefaultforthisfield.Thismaynotbewhatyouwant.Ifyouwanttohavethecurrentdateasdefault
  • 2024-04-232.功能测试
    常用参数-count运行的次数默认为1多次运行gotest命令,可以看到输出的结果中有了一个(cache)标识,通过使用参数-count=1可以达到“禁用缓存”的效果-v通过使用参数-v可以从输出结果中清晰的看到每个测试用例的运行情况-timeout测试运行超时时间默认为10分钟
  • 2024-04-22Reflective Journal
    Firstofall,Ilearnfivemodesofmulti-modality,theintegralfeaturesinteraction,therepresentationofideas,thewaysofinteractionandtheinterplayofmeaningsIntermsofEssayanalysis,Iknowifyouwanttowriteagoodbeginning,you’dbettermake
  • 2024-03-15NEW CONCEPT ENGLISH 41 - 50
    NEWCONCEPTENGLISH41-50Lesson41 Penny'sbagKeywordsandexpressionscheese n. 乳酪,干酪bread n. 面包soap n. 肥皂chocolate n. 巧克力sugar n. 糖coffee n. 咖啡tea n. 茶tobacco n. 烟草,烟丝LanguagepointsIsthatbagheavy,Penny
  • 2024-03-03Go语言精进之路读书笔记第43条——使用testdata管理测试依赖的外部数据文件
    43.1testdata目录Go语言规定:Go工具链将忽略名为testdata的目录。开发者可以在名为testdata的目录下存放和管理测试代码依赖的数据文件,数据文件可作为输入也可作为输出gotest命令在执行时会将被测试程序包源码所在目录设置为其工作目录,可以这样使用f,err:=os.Open("testda
  • 2024-02-13[SWPUCTF 2021 新生赛]PseudoProtocols
    第三层的意思是:(file_get_contents($a,'r'))是一个函数调用,它尝试以读取模式打开$a参数指定的文件,并返回文件的内容。==='Iwantflag'是一个比较操作符,用于比较file_get_contents($a,'r')的结果与字符串"Iwantflag"是否完全相等。如果相等,则条件成立。因此,整
  • 2024-01-10We Are Just Beginning
    Wearereadingthefirstverseofthefirstchapterofabookwhosepagesareinfinite...Idonotknowwhowrotethosewords,butIhavealwayslikedthemasareminderthatthefuturecanbeanythingwewanttomakeit.Wecantakethemysterious,hazy
  • 2023-11-25Shell - $@ and $*
     InBash(andallPOSIX-likeshells), $@ or ${@} isa "specialparameter" thatexpandstoalistofallpositionalparameters(=command-linearguments).Itisinthatrespectsimilarto $*,butwiththeadditionthatitcanbe double-quote
  • 2023-11-06Continue SQL query even on errors
    trymysql--force<sample_data.sqlMysqlhelpsectionsays -f,--force        Continueevenifwegetansqlerror.----------------------YoucouldalsouseINSERTIGNOREINSERTIGNOREINTOmytable (primaryKey,field1,field2)VALUES ('1',1,2
  • 2023-10-10module 1
    module1讲解了python基本量的实践错题x=9sqrt(9)#abuilt-inmathfunctionthatreturnsthesquarerootofitsinputWhatisthevalueofxafterthelinesofcodeaboveareexecuted?(Again,rememberthatwewantthevalueofx,whichisnotnecess
  • 2023-10-07Go - Insert values into a slice
    Thereisnobuilt-infunctionforinsertion,butyoucanstilluseappendforthetask.Let’ssayyouwanttoinsertthenumber1000betweenelementsatindex2and3,whichareints159and26,respectively:numbers:=[]int{3,14,159,
  • 2023-10-05Go - Representing Duration
    Problem: Youwanttospecifyadurationoftime.Solution: UsetheDurationtypetorepresentaspanoftime. Themainrepresentationforaspanoftimeinthetimepackageis,ofcourse,Duration.Durationisnothingfancy,though;it’sjustanint64
  • 2023-10-03Go - Creating JSON Data Byte Arrays from Structs
    Problem: YouwanttocreateJSONdatafromastruct.Solution: Createthestructsthenusethejson.Marshalorjson.MarshalIndenttomarshalthedataintoaJSONsliceofbytes. funcmain(){person:=struct{}data,err:=
  • 2023-09-02无涯教程-JavaScript - FLOOR函数
    描述FLOOR函数将数字向下舍入为零,直到最接近的有效倍数。语法FLOOR(number,significance)争论Argument描述Required/OptionalNumberThenumericvalueyouwanttoround.RequiredSignificanceThemultipletowhichyouwanttoround.RequiredNotes如果数
  • 2023-08-2712、从0到1实现SECS协议之SECS-I协议编码与解码
    12、从0到1实现SECS协议之SECS-I协议编码与解码1、SECS-I协议编码与解码实现这个感觉没有啥特别好说的,根据协议慢慢理解就好了,代码实现如下:packagepacketsimport( "encoding/binary" "fmt")/*------------------------------------- secs头-----------------------
  • 2023-08-24【考后总结】8 月 CSP-S 模拟赛 9
    8.24CSP模拟29IWanttoBreakFree-QueenIwanttobreakfreeIwanttobreakfreeIwanttobreakfreefromyourliesYou'resoselfsatisfiedIdon'tneedyouI'vegottobreakfreeGodknows,GodknowsIwanttobreakfreeI've
  • 2023-08-23Training Your Own LoRAs
    https://tfwol.github.io/text-generation-webui/Training-LoRAs.html#format-filestext-generation-webuiTrainingYourOwnLoRAsTheWebUIseekstomaketrainingyourownLoRAsaseasyaspossible.Itcomesdowntojustafewsimplesteps:Step1:Makeaplan
  • 2023-08-15真正的高贵不是优于别人,而是优于过去的自己
    if you want to go famous, then we have slowly sleep; If you want to go long wisdom, then we have slowly proud. If you want to slow down the aging, then you will have to hurry up learning; If you want to slow down
  • 2023-08-15HDU 5366
    ThemookjongTimeLimit:2000/1000MS(Java/Others)  MemoryLimit:65536/65536K(Java/Others)TotalSubmission(s):326  AcceptedSubmission(s):252ProblemDescription![](../../data/images/C613-1001-1.jpg)ZJiaQwanttobecomeastrongman,sohed
  • 2023-07-02Vmware Tools工具安装-Linux(转载自“半夏微凉”)
    本文转载自“半夏微凉”,仅用于自己的学习记录,方便日后查找。若有侵权行为,请联系本人进行删除。转载自:VmwareTools工具安装-Linux-半夏微凉(lentim.com)VmwareTools工具安装  背景:需要使用vmware安装oracle数据库,但linux机由于没有安装vmwaretools无法跟主机共享文件,
  • 2023-06-20TableLayout得到TableRow
    for(inti=0,j<table.getChildCount();i<j;i++){//then,youcanremovethetherowyouwant...//forinstance...TableRowrow=getChildAt(i);if(somethingyouwanttocheck){removeViewAt(i);//or.
  • 2023-05-28你正在错误使用ChatGPT!怎么样使用能超过99%的ChatGPT使用者
    目录一些镜头标准提示角色提示给提示词增加个性并且生成知识思考提示的链条我们大多数人错误使用了ChatGPT。在提示信息中,我们不使用例子。我们忽略的信息是我们可以通过角色(扮演)控制ChatGPT的行为。我们让ChatGPT猜测(提供)材料,而不是提供给它一些信息。这些情况发生是因为我