共有 261 篇文章
递归实现枚举
2019-10-08 - 2024-09-15
枚举
检测IP地址
2019-10-07 - 2024-09-18
  • 当使用国外服务器搭建网站的时候, 可能遇到一些网站屏蔽了网站IP, 因此需要检测一下是否被屏蔽
  • 当使用国外服务器搭建网站的时候经常会碰到一些 IP 因为被墙导致网站不能访问,所以可以先检测一下 IP 是否被墙。
Strange Towers of Hanoi
2019-09-30 - 2024-09-15
将汉诺塔中的3跟柱子改为4根,求盘子数为1到12时将全部盘子从第一根移动到最后一根需要移动的次数。
IntelliJ IDEA Keymap
2019-09-29 - 2024-09-18
此快捷键说明我是翻译官方的快捷键说明的,方便查看,基于PHPStorm的官方Help来翻译的,其他系列的JetBrains软件应该都是一样的道理,其中如有错误,欢迎斧正。
禁止某文件夹内运行PHP脚本、禁止访问文件或目录执行权限的设置方法
2019-09-29 - 2024-09-15
Apache禁止某文件夹内运行PHP脚本、禁止访问文件或目录执行权限的设置方法
cannot associate program with context menu action
2019-09-29 - 2024-09-18

I installed a program called GitKraken and it’s pretty nice; But one thing it does during installation is to forcefully add a context menu item to open the current folder in it.

Unfortunately, since day 1, this has been broken. I’ve tried setting the association manually and it doesn’t work. Setting an association with the program doesn’t yield any different results. Is there anything else that can be done? I’ve even tried removing it from the registry.

This is all happening on Windows 10 x64.

搜索引擎指令
2019-09-29 - 2024-09-18
搜索引擎命令
xshell登录服务器提示符显示-bash-4.2#解决方法
2019-09-29 - 2024-09-18
突然发现root登录的xshell的终端提示符显示的是-bash-4.2# 而不是root@主机名 + 路径的显示方式。搞了半天也不知道为什么出现这种情况。今天终于搞定这个问题,
事件响应
2019-09-29 - 2024-09-18

JavaScript 创建动态页面。事件是可以被 JavaScript 侦测到的行为。 网页中的每个元素都可以产生某些可以触发 JavaScript 函数或程序的事件。

比如说,当用户单击按钮或者提交表单数据时,就发生一个鼠标单击(onclick)事件,需要浏览器做出处理,返回给用户一个结果。

form表单提交后不刷新不跳转的实现方法
2019-09-29 - 2024-09-18
html form表单提交后不刷新不跳转的实现方法