• 2024-09-28redis 管道 批量处理 transmit multiple commands to the Redis server in one transmission
    Redispipelining|Docshttps://redis.io/docs/latest/develop/use/pipelining/RedispipeliningHowtooptimizeround-triptimesbybatchingRediscommandsRedispipeliningisatechniqueforimprovingperformancebyissuingmultiplecommandsatoncewithou
  • 2024-09-26【Bevy实战】2D场景下Camera实践
    Bevy,一个用Rust构建的令人耳目一新的简单数据驱动游戏引擎。如果你是一名Rust开发者,同时又对游戏开发比较感兴趣,那么Bevy一定是你会接触甚至是使用的游戏引擎。当然,本文关注的重点并不是来介绍Bevy,以及它的一些基本概念,关于这块的内容读者完全可以到Bevy的官网、Github主页进行学
  • 2024-09-21Basics of using bash, and shell tools for covering several of the most common tasks
    Basicsofusingbash,andshelltoolsforcoveringseveralofthemostcommontasksIntroduction‍Mostshellshavetheirownscriptinglanguagewithvariables,controlflowanditsownsyntax.‍Shellscriptingoptimizedforperformingshell-relatedta
  • 2024-09-21Basics of using bash, and shell tools for covering several of the most common tasks
    Basicsofusingbash,andshelltoolsforcoveringseveralofthemostcommontasksIntroduction‍Mostshellshavetheirownscriptinglanguagewithvariables,controlflowanditsownsyntax.‍Shellscriptingoptimizedforperformingshell-relatedta
  • 2024-09-21Basics of using bash, and shell tools for covering several of the most common tasks
    Basicsofusingbash,andshelltoolsforcoveringseveralofthemostcommontasksIntroduction‍Mostshellshavetheirownscriptinglanguagewithvariables,controlflowanditsownsyntax.‍Shellscriptingoptimizedforperformingshell-relatedta
  • 2024-09-21Basics of using bash, and shell tools for covering several of the most common tasks
    Basicsofusingbash,andshelltoolsforcoveringseveralofthemostcommontasksIntroduction‍Mostshellshavetheirownscriptinglanguagewithvariables,controlflowanditsownsyntax.‍Shellscriptingoptimizedforperformingshell-relatedta
  • 2024-09-21Basics of using bash, and shell tools for covering several of the most common tasks
    Basicsofusingbash,andshelltoolsforcoveringseveralofthemostcommontasksIntroduction‍Mostshellshavetheirownscriptinglanguagewithvariables,controlflowanditsownsyntax.‍Shellscriptingoptimizedforperformingshell-relatedta
  • 2024-09-17NVMe overview-2
    NVMeProtocolAdvantagesNVMeasastorageprotocolisdesignedfromthegrounduptoworkwithnon-volatilememory(NVM),includingthecurrentNANDflashtechnologyandnext-generationNVMtechnologies.Assuch,itdoesnothavethesamelimitationsas
  • 2024-09-11使用nvim查看的linux kernel 源码(可以快速跳转等
    neovim使用的是lazyvim,开箱即用十分方便。linuxkernel源码,如果用clangd构建指定好LLVM还是可以使用下面的指令得到compile_commands.json这个文件的。compile_commands.json就是用来做clangd跳转支持的文件。./scripts/gen_compile_commands.py但是对于aarch64-linux-gnu
  • 2024-09-09Shell 随笔3
    If语法if[condition]thencommandsfiifthenelseif[condition]thencommandselsecommandsfiifthenelseifif[condition]thencommands1elifthencommands2......else
  • 2024-09-06python 错误提示 DeprecationWarning: find_element_by_* commands are deprecated. Please use find_element()
    DeprecationWarning:find_element_by_*commandsaredeprecated.Pleaseusefind_element()insteadfromselenium.webdriver.common.byimportBydriver=webdriver.Chrome("chromedriver.exe")#driver.find_element_by_name("NAME")driver.find_
  • 2024-07-28Microsoft.PowerShell.Commands.Utility.Resources.dll文件丢失导致程序无法运行问题
    其实很多用户玩单机游戏或者安装软件的时候就出现过这种问题,如果是新手第一时间会认为是软件或游戏出错了,其实并不是这样,其主要原因就是你电脑系统的该dll文件丢失了或没有安装一些系统软件平台所需要的动态链接库,这时你可以下载这个Microsoft.PowerShell.Commands.Utility.Res
  • 2024-07-12Microsoft.Windows.StartLayout.Commands.dll文件丢失导致程序无法运行问题
    其实很多用户玩单机游戏或者安装软件的时候就出现过这种问题,如果是新手第一时间会认为是软件或游戏出错了,其实并不是这样,其主要原因就是你电脑系统的该dll文件丢失了或没有安装一些系统软件平台所需要的动态链接库,这时你可以下载这个Microsoft.Windows.StartLayout.Commands.dl
  • 2024-07-11pwnable.tw | 第3题cve-2018-1106
    前言pwnable.tw第三题,开始上难度了,考验的是一款真实程序的漏洞利用。漏洞源于一款开源的苹果AFP协议服务器程序Netatalk,漏洞最早是2018年发现的,2019年在HITCONQuals展示了1day利用,相关文章如下:2018年漏洞作者的原文翻译:NetatalkCVE-2018-1160的发现与利用hitcon相关文章:HITC
  • 2024-07-05SQL Server 中的 DBCC(Database Console Commands)命令提供了一系列用于数据库管理和诊断的工具和功能。以下是一些常用的 DBCC 命令及其功能:
    SQLServer中的DBCC(DatabaseConsoleCommands)命令提供了一系列用于数据库管理和诊断的工具和功能。以下是一些常用的DBCC命令及其功能:DBCCCHECKDB:用于检查整个数据库的物理和逻辑一致性。sqlCopyCodeDBCCCHECKDB('MyDatabase');DBCCCHECKTABLE:检查指定表
  • 2024-05-19[Bash] Controls flow
    IfTheifstatementisusedtoexecutecommandsbasedonacondition.if[condition];thencommandsfiExample:vimexample.sh#!/bin/zshecho"Enteranumber:"readnumberif[$number-gt0];thenecho"Thenumberispositive
  • 2024-05-12Common-Linux-commands
    Linux常用命令用户切换//切换到超级用户gec@ubuntu:~$sudo-s[sudo]passwordforgec:root@ubuntu:~# //root表示超级用户名字#表示超级用户权限标志//切换到普通用户root@ubuntu:~#suxxx//第一种方式xxx指的是系统中用户
  • 2024-04-2921-Shell编程
    21.1正则表达式21.1.4字符集和单词“单词”指的是两侧由非单词字符分隔的字符串。非单词字符指的是字母、数字、下划线以外的任何字符。21.1.5字符类POSIX正则表达式中的字符类类匹配字符[[:alnum:]]文字、数字字符[[:alpha:]]字母字符[[:lower:]]小写
  • 2024-04-13Control Panel Command Line Commands in Windows
    CMDCommandsforControlPanelAppletsAppletCommandOSVersionAccessibilityOptionscontrolaccess.cplXPActionCentercontrol/nameMicrosoft.ActionCenter8,7 controlwscui.cpl8,7AddFeaturestoWindows8control/nameMicrosoft.Win
  • 2024-04-09linux环境安装——redis安装复习
      redis版本:redis-7.0.5.tar.gz  Sessionstopped-Press<Return>toexittab-PressRtorestartsession-PressStosaveterminaloutputtofile┌─────────────────────────────────────────
  • 2024-04-03Redis中监听key过期通知
    前言正常情况下,我们是不需要监听key是否过期的,毕竟项目中key数量可能成千上万,要监听的话很耗费服务器资源。但是如果项目中key数量很少,且我们要在指定key过期时告警,这种场景下就是合适的。使用服务器开启配置redis.conf文件notify-keyspace-eventsEx默认配置为
  • 2024-03-24Postgresql Common Commands
    PSQL快捷命令cat~/.psqlrc--checkactivesession\setactive_session'selectpid,usename,datname,application_name,client_addr,age(clock_timestamp(),query_start),queryfrompg_stat_activitywherepid<>pg_backend_pid()andstate=\'active\
  • 2024-03-17【Web】记录[长城杯 2022 高校组]b4bycoffee题目复现
    目录前言环境准备简单分析EXP前言本地jar包运行打通了,远程500,感觉靶机环境有问题,不纠结(主要记录下做题过程,纯菜狗,小白文环境准备这次附件给的jar包是可执行jar,不是可依赖jar,不能直接addaslib导入项目需要进行如下的处理先是对jar包进行解压用jadx-gui打开
  • 2024-01-14第七天:条件选择及循环控制
    一、条件控制总览1、单分支条件 2、多分支条件 二、选择执行if语句1、格式:ifCOMMANDS;thenCOMMANDS;[elifCOMMANDS;thenCOMMANDS;]...[elseCOMMANDS;]fi 2、各种分支 三、条件判断case语句1、格式:caseWORDin[PATTERN[|PATTE
  • 2024-01-14Redis Commands - GETRANGE SETRANGE
      Overwritespartofthestringstoredat key,startingatthespecifiedoffset,fortheentirelengthof value.Iftheoffsetislargerthanthecurrentlengthofthestringat key,thestringispaddedwithzero-bytestomake offset fit. 127.