有100盏灯,编号为1~100。第1上人把所有灯打开,第2个人按下所有编号为2的倍数的开关(这些灯将被关掉),第3个人按下所有编号为3的倍数的开关(其中关掉的灯将打开,开着的灯将被关闭),依此类推,直到第100个...
Ubuntu防火墙设置
1.启用防火墙:ufw enable 2.禁用防火墙:ufw disable 3.允许特定端口(例如,允许端口80):ufw allow 80/tcp 4.拒绝特定端口(例如,拒绝端口25):ufw deny 25 5.允许特定服务(例如,SSH):ufw...
安装宝塔+HUSTOJ
查看附件: Ubuntu_bt_hustoj下载
Ubuntu配置sshd
1.检查是否安装了ssh: dpkg -l | grep ssh 2.安装ssh sudo apt update sudo apt install openssh-server 配置文件:/etc/ssh/sshd_config 3.开启sshd服务 service ssh start 或者: service ssh restart 4....
Ubuntu安装Scratch
apt install scratch 安装最新版的: snap install scratux
Ubuntu24.04安装Unity
https://blog.csdn.net/Coco94joker/article/details/140134066 1.通过软件商店安装sublime 2.Unity中把sublime作为默认工具sublime的可执行文件在:/snap/bin/sublime-text.subl 3.sublime的配置,支...
Ubuntu24.04配置——安装微信
https://software.openkylin.top/openkylin/yangtze/pool/all 下载最新版本的微信:wechat
Ubuntu24.04安装输入法
搜狗输入法的安装方法:https://shurufa.sogou.com/linux/guide 写的非常详细准确,我就不再写一遍了。 闪屏的处理方法。修改配置文件/etc/gdm3/custom.conf,强制系统使用Xorg作为显示服务器,对...
HTML(1)常用标签
1.h1—h6 标题标签 常用属性:align = "left|center|right",默认left2.p 段落标签3.br 换行标签4.hr 水平线标签 常用属性:color:颜色;width:水平线长度;size:水平线高度;align:对齐方式(默...
射击游戏开发教程——玩家控制(未完)
一、游戏玩家控制1.获取玩家键盘输入 Input.GetKey(KeyCode.A) Input.GetKeyDown(KeyCode.A) Input.GetKeyUp(KeyCode.A)2.获得鼠标信息 Input.mousePosition 返回鼠标当前的位置 Input.mousePresent 判断当前是...
