×

Falcon

  • WordPress Hook Order Of Execution

    In order to build anything for WordPress, you know that action and filter hooks are the way to go. But hooks are still a bit of a mystery because we don’t really have any con...

    2020-01-02 04:44 Falcon 阅读
  • kali 使用x11vnc

    Solution: I would recommend using x11vnc as it provides the actual desktop experience rather than a virtual one. To install x11vnc enter the following comma...

    2020-01-01 05:03 Falcon 阅读
  • Writing speed: How long does it take to write something?

    Is it normal to write so slowly? How can I write more quickly? These are the questions my coaching clients always ask. Like most people, it seems, they think they write more slowly...

    2019-12-31 15:00 Falcon 阅读
  • 2019最后一天

    和2019道别吧! 等下次,等将来,等不忙……等来等去,2019年,只剩一天了……谁也无法预知未来,很多事可能一等就等成了永远!别输在一个“等”字上。2020年,加油!

    2019-12-31 09:58 Falcon 阅读
  • 彻底弄懂 Nginx location 匹配

    Nginx 的 location 实现了对请求的细分处理,有些 URI 返回静态内容,有些分发到后端服务器等,今天来彻底弄懂它的匹配规则 一个最简单的 location 的例子如下 server { server_name website.com; location /admin/ { # The configurati...

    2019-12-30 03:46 Falcon 阅读
  • Xcode installation from xip file

    It is not possible to know everything, but it is quite accessible to learn something new everyday. Recently I decided to upgrade my Xcode on my Mac laptop, I sent installed Xcode...

    2019-12-28 15:35 Falcon 阅读
  • Udemy 课程下载利器

    送给已经购买Udemy课程的同学(需要账号登录) 下载udemy-dl git clone https://github.com/r0oth3x49/udemy-dl.git 安装依赖 pip install -r requirements.txt 开始下载 python udemy-dl.py [课程地址] 例如 python u...

    2019-12-26 12:15 Falcon 阅读
  • php_灵活配置session过期时间方法

    需求: 程序中需要自定义session的过期时间,例如:今天想要session过期时间为:10天后,下一个阶段又想要过期时间为:3个月后,那这种需求你总不能每次都去修改php.ini解决吧,那么有没有一劳永逸,而且又很简单的方法呢?当然有了,且看我怎么投机取巧的。 实现: 第一步 从php.ini中设置以下三行内容: 修改三行如...

    2019-12-26 07:28 Falcon 阅读
  • WordPress开发最佳做法

    以下是一些最佳做法来帮助组织您的代码,使其与WordPress核心和其他WordPress插件一起工作良好。 避免命名冲突 当您的插件与变量,函数或类作为另一个插件使用相同的名称时,会发生命名冲突。 幸运的是,您可以通过使用以下方法避免命名冲突。 程序 默认情况下,所有变量,函数和类都在全局命名空间中定义,这意味着插件可以覆盖由另一个插件设置的变量...

    2019-12-18 12:20 Falcon 阅读
  • 定时发布修正0840

    定时发布修正0840

    2019-12-18 00:40 Falcon 阅读