摘要: 当要学习某个问题时, 不要贪便宜或者方便, 或者浅尝则止, 要适当的了解到内部的机制和原理, 并且永远都不是太晚, 如果这一次没有搞清楚, 以后大概率还会化更多的时间来搞清楚, 除非不会碰到这个问题。 建议还是要善于搜索, 尝试从原理和机制方面去了解这个问题。 怎么我感觉我学了很多的知识, 却学不会 阅读全文
posted @ 2023-03-09 10:36 qqisnow2021 阅读(16) 评论(0) 推荐(0) 编辑
摘要: {{ dump() }}{{ dump(variable_name) }}List available variables (at top level): {{ dump(_context|keys) }} 手风琴式的显示变量 {{ devel_dump() }}避免大量的PHP代码逻辑https: 阅读全文
posted @ 2020-08-19 15:42 qqisnow2021 阅读(238) 评论(0) 推荐(0) 编辑
摘要: WINDOWS下, JMETER的窗口是关不掉的, 需要先关闭 CMD 窗口 需要知道如何把聚合报告"所有数据写入一个文件",这个路径是要在运行线程组之前设置的,运行结束去看看,数据都写进去了. 阅读全文
posted @ 2020-07-15 12:57 qqisnow2021 阅读(108) 评论(0) 推荐(0) 编辑
摘要: Header 和 Params 的区别: Headers The REST headers and parameters contain a wealth of information that can help you track down issues when you encounter th 阅读全文
posted @ 2020-07-10 16:33 qqisnow2021 阅读(155) 评论(0) 推荐(0) 编辑
摘要: .gz压缩文件直接 create database xxxuse xxxsource ./////// backup migrate 导入数据还有分不同的tag, 区别很大... 阅读全文
posted @ 2020-06-24 15:35 qqisnow2021 阅读(109) 评论(0) 推荐(0) 编辑
摘要: https://composer.github.io/pubkeys.html 还有这事, 太不可思议了哦。--怎么进去的, 真的不知道哦。 阅读全文
posted @ 2020-06-20 15:36 qqisnow2021 阅读(117) 评论(0) 推荐(0) 编辑
摘要: https://blog.csdn.net/mdw5521/article/details/79270035 阅读全文
posted @ 2020-06-20 15:02 qqisnow2021 阅读(136) 评论(0) 推荐(0) 编辑
摘要: 使用 find / -name "apachectl"查找文件目录下执行 ./apachectl -v 转载于:https://www.cnblogs.com/thinkingthigh/p/7884105.html 我去哦, Drupal Apache clean 我已经配置过好几次了, 每次都不 阅读全文
posted @ 2020-06-19 08:13 qqisnow2021 阅读(163) 评论(0) 推荐(0) 编辑
摘要: 先从某个地方 fork 一个项目, 我上传一个 git commit, 然后自动显示是否要 pull request, 点 是, 然后就发送到 charger 那里去了。1, git fork,2, git clone,3, git pull4, git change files5, git add 阅读全文
posted @ 2020-06-18 17:29 qqisnow2021 阅读(102) 评论(0) 推荐(0) 编辑
摘要: 因为日志文件每天都会打包, 所以昨天的问题可能就在今天的access.log/error.log文件里找不到了。如何找出个位数的log文件呢? 这里就有两种不同的匹配符号, *匹配多个, ?匹配一个,zgrep, zcart 'file.name' | grep 'xxx' zgrep 不支持目录查 阅读全文
posted @ 2020-06-17 17:18 qqisnow2021 阅读(201) 评论(0) 推荐(0) 编辑
摘要: 上次alex帮忙做一个csv数据分析, 我自己也做了一个, 当alex发出来后, 我也发了一份出来,说是进行对比, 现在觉得我做错了, 我完全可以发一份给alex, 然后对比之后通过alex来弄,自己贸然发出来, 让大家都日子都不好过呀,我错了, 安排错了, 太在乎自己的面子, 没有在乎别人的面子, 阅读全文
posted @ 2020-06-17 11:07 qqisnow2021 阅读(107) 评论(0) 推荐(0) 编辑
摘要: #maxlength Used by: password, textfield Description: The maximum amount of characters to accept as input. Values: A positive number. Usage example (fo 阅读全文
posted @ 2020-06-16 16:09 qqisnow2021 阅读(113) 评论(0) 推荐(0) 编辑
摘要: CTools dispatches the event "CToolsDetachBehaviors" when the modal gets closed. Careful though, the event is fired BEFORE the closing animation has fi 阅读全文
posted @ 2020-06-16 11:18 qqisnow2021 阅读(210) 评论(0) 推荐(0) 编辑
摘要: 说不看手机,还是看了又看,手机,说要锻炼身体,还是回家都看手机, 基本很少动,工作的时候就是把时间卖给公司的时候, 努力全身心的工作,对得起自己,要努力呀,还不努力,还要等到什么时候哦, 吃个饭咬个牙,都那么的费劲, 分明就是作践自己, 为什么不能控制自己, 如果自己不能控制自己, 那就会有别人和社 阅读全文
posted @ 2020-06-16 10:29 qqisnow2021 阅读(131) 评论(0) 推荐(0) 编辑
摘要: 以前刚有百度的时候, 什么东西都在baidu上找, 现在百度成了入口之一了, 没有以前的包罗万象,现在更多是百度自己的广告了。现在搜索的入口有:baidu.comcn.bing.comyoutube.com 访问不了bilibili.com/youtube.comsogou.comzhihu.com 阅读全文
posted @ 2020-06-15 10:59 qqisnow2021 阅读(84) 评论(0) 推荐(0) 编辑
摘要: 用户会访问首页/, 然后进入到指定的一个URL, 就是admin在site-settings里面的设置的那个地址, 发现权限不够,进入到403accesslogin, 然后调用user4032login之saml_user_403_to_login_redirect, 然后跳转到某个URL, 现在的 阅读全文
posted @ 2020-06-15 10:55 qqisnow2021 阅读(384) 评论(0) 推荐(0) 编辑
摘要: $a = null;var_dump($a);var_dump(addslashes($a)); 1)addslashes()作用及使用addslashes()通常用于防止sql注入,它可对通过get,post和cookie传递过来的参数的单引号和双引号已经null前加“\”进行转义如:如变量$st 阅读全文
posted @ 2020-06-12 14:18 qqisnow2021 阅读(156) 评论(0) 推荐(0) 编辑
摘要: https://geixue.com/blogs 给学 阅读全文
posted @ 2020-06-12 10:28 qqisnow2021 阅读(106) 评论(0) 推荐(0) 编辑
摘要: “You can run both." They compliment each other, yet the final decision is yours. Especially when it comes to those functionalities where the 2 CLI too 阅读全文
posted @ 2020-06-11 17:40 qqisnow2021 阅读(145) 评论(0) 推荐(0) 编辑
摘要: 扩展数组:const arr23 = ['a', 'b', 'c']; console.log(...arr23); a b c扩展字符串: abc = 'abcdefghi'; console.log(...abc); a b c d e f g h i 扩展对象:2020617: 很粗略,个人感 阅读全文
posted @ 2020-06-02 18:19 qqisnow2021 阅读(203) 评论(0) 推荐(0) 编辑
摘要: const obj = { a: 1, b: 2, c: 3 } for (let i in obj) { console.log(i) // a // b // c } for (let i of obj) { console.log(i) // Uncaught TypeError: obj i 阅读全文
posted @ 2020-06-02 16:32 qqisnow2021 阅读(224) 评论(0) 推荐(0) 编辑
摘要: 1, 命令行能做的事情很多, grep 'XXX' ./access.log 当前某个文件下下查找某个字符串grep 'xxx' ./ -r 当前目录文件夹下查找某个字符串 阅读全文
posted @ 2020-06-02 15:59 qqisnow2021 阅读(3106) 评论(0) 推荐(1) 编辑
摘要: 居然是因为session过期了, 谁敢信?晶哥居然找到了用户的login / access 时间,也是个办法呀, data -d @1582342929 是个能找出时间戳对应的时间 不能上传文件, 报错, 是报 Drupal.ajaxError, 不能上传文件, 显示错误, 不清楚什么情况, err 阅读全文
posted @ 2020-06-02 15:07 qqisnow2021 阅读(158) 评论(0) 推荐(0) 编辑
摘要: 一年多的时间,我都觉得好几个地方的命名很复杂, 真的很复杂吗?相信当时写这个的人也是需要能记住的, 如果他不需要记这个地方, 那他可以随便命名,但他就是算为了自己,也会语义化这个命名的, 不是写这个的人看到觉得不好记, 那没有关系, 静下心来好好看看, 一定可以理解的。要顺着当时写这个的人去理解, 阅读全文
posted @ 2020-06-01 16:17 qqisnow2021 阅读(105) 评论(0) 推荐(0) 编辑
摘要: 一条一条的处理有很多的优点, 能避免伤及无辜, 一定要确定不能有无辜的数据被牵涉进来, 一次处理,一定要有一个唯一的值, 不然很可能翻车,检都检查不出来。 比如 多个用户uid, 多个店铺nid, 那能 in uids and in nids 这样去处理么, 不能, 仅能作为参考和检查用, 一次的处 阅读全文
posted @ 2020-06-01 15:12 qqisnow2021 阅读(92) 评论(0) 推荐(0) 编辑
摘要: drupal7中 ->join == ->innerJoin 不是leftJoin哦 无语哦 阅读全文
posted @ 2020-05-29 17:43 qqisnow2021 阅读(137) 评论(0) 推荐(0) 编辑
摘要: 1, 保存测试的记录, 就是确保访问的地址,数据什么的,得到的结果是有效的2, 假设开始一个访问, 然后方便在本地debug, 因为有些访问是不能通过本地的浏览器来访问的, 比如前后端分离的情况,有时候没有前端,或者前端很麻烦建立,这是可以模拟一下, 但可以debugx。 阅读全文
posted @ 2020-05-29 17:39 qqisnow2021 阅读(309) 评论(0) 推荐(0) 编辑
摘要: includes\database\prefetch.inc line 385 public function fetchField($index = 0) { return $this->fetchColumn($index);}fetchField不是取出一个值, 而是可以取出第几个值, 只是我 阅读全文
posted @ 2020-05-29 17:25 qqisnow2021 阅读(115) 评论(0) 推荐(0) 编辑
摘要: 这个函数出现在了两个地方 includes\database\database.inc line 2245 includes\database\prefetch.inc line 481 foreach ($this as $record) { $record_key = is_object($re 阅读全文
posted @ 2020-05-29 17:22 qqisnow2021 阅读(148) 评论(0) 推荐(0) 编辑
摘要: includes\database\prefetch.inc line 425 $this->defaultFetchStyle: fetch_object int 5protected $defaultFetchOptions = array( 'class' => 'stdClass', 'co 阅读全文
posted @ 2020-05-29 17:11 qqisnow2021 阅读(211) 评论(0) 推荐(0) 编辑
摘要: Mysql or Collection to sort data 据说是数据库更快, 因为数据库更优化, 可以利用什么算法, 什么索引,如果是 php, 少量数据, 还是可以的, 但如果数据大的话, 会达到内存限制 model -> model builder -> query builder -> 阅读全文
posted @ 2020-05-28 13:19 qqisnow2021 阅读(173) 评论(0) 推荐(0) 编辑
摘要: 所谓的安装phpmyadmin, 或者 安装drush, 都是下载一个文件, 然后URL访问或者命令行访问这个文件, 进入到某个页面或者获得某个结果。刚开始觉得很神秘哦, 为什么?--安装软件分两种1, 直接下载一个文件, 然后通过网页访问这个文件中的index.php,或者命令行运行文件2, 下载 阅读全文
posted @ 2020-05-27 14:54 qqisnow2021 阅读(118) 评论(0) 推荐(0) 编辑
摘要: 在多站点的环境中, 不清楚在哪个目录下运行drush cc all, 这时可以运行 drush use dev.mentor.com然后还发现一个很搞笑的事情, 在一个文件的末尾一直现实红色报错符号,一直不知道为什么报错, 为什么报错呢。 后来,我东改改西改改, 想不明白, 为啥要报错, 命名没有错 阅读全文
posted @ 2020-05-27 14:42 qqisnow2021 阅读(120) 评论(0) 推荐(0) 编辑
摘要: 有的事情一下子就到下一步, 这是可以稍微等一下, 有的事情, 比较费时间, 这时要先把pending的事情放一边,过后再来看这个时间, 这个就是现实版的多线程。。。么? 阅读全文
posted @ 2020-05-27 10:51 qqisnow2021 阅读(115) 评论(0) 推荐(0) 编辑
摘要: 使用在线调试工具的消息接口,http://mp.weixin.qq.com/debug/, 只要返回绿色的“请求成功”,就代表你的代码没有问题,请重复上面第3项再测试。 阅读全文
posted @ 2020-05-26 16:56 qqisnow2021 阅读(206) 评论(0) 推荐(0) 编辑
摘要: grep 'http:\\127.0.0.1:8080\index.jsp' request.log | wc -l grep 'http:\\127.0.0.1:8080\index.jsp' request.log 这个是吧出现这个字符的地方显示出来, wc -l 应该是统计技术的地方 阅读全文
posted @ 2020-05-26 16:29 qqisnow2021 阅读(186) 评论(0) 推荐(0) 编辑
摘要: 很可能没有找不到的信息, 很可能是因为没有用对关键词,关键字, 中文的, 英文的, 添加,减少, 百度, cn.bing, 因为收录的信息是固定的, 就看我们能不能找到他, 阅读全文
posted @ 2020-05-25 18:01 qqisnow2021 阅读(105) 评论(0) 推荐(0) 编辑
摘要: contentType: 是发出去的数据格式dataType: 定义了接受的数据的格式,https://www.cnblogs.com/htoooth/p/7242217.html 阅读全文
posted @ 2020-05-25 15:49 qqisnow2021 阅读(147) 评论(0) 推荐(1) 编辑
摘要: $json = json_encode([0]);var_dump($json); string(3) "[0]"it is a string, but it is [0] 阅读全文
posted @ 2020-05-25 13:32 qqisnow2021 阅读(156) 评论(0) 推荐(0) 编辑
摘要: try { var_dump('abc'); throw new Exception('abc'); var_dump('abc-1');}catch(Exception $e){ var_dump('catch');}var_dump('below try catch'); string(3) " 阅读全文
posted @ 2020-05-25 13:31 qqisnow2021 阅读(150) 评论(0) 推荐(0) 编辑