摘要:
最近在改一个bug单时,有个问题涉及到了cookie的domain属性,大致场景是由于不同的服务页面出现了同名的cookie但是domain域不同,导致出现了不可思议的bug。于是查询与cookie的domain属性相关的资料并记录之。 1、什么是Cookie? Cookie是由W3C组织提出,最早 阅读全文
摘要:
方法一: //PHP stdClass Object转array function object_array($array) { if(is_object($array)) { $array = (array)$array; } if(is_array($array)) { foreach($arr 阅读全文
摘要:
前言最近使用git来管理一个项目,到达一定阶段后,需要将稳定的代码发布成一个版本,经过查找资料发现git的标签操作刚好满足我的要求,所以记录下来,方便以后是使用查找。 用途标签可以针对某一时间点的版本做标记,常用于版本发布,这恰恰是我所需要的功能,将本地标签推送到Github上即发布了一个Relea 阅读全文
摘要:
apache重写模式错误导致 <IfModule mod_rewrite.c> Options +FollowSymlinks -Multiviews RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST 阅读全文
摘要:
根据网上文章自己修改: 例子:茶海棠个人主页:https://www.iesdouyin.com/share/user/3562042897739582?did=53298022046&iid=1566126643353143&sec_uid=MS4wLjABAAAA0NL6UPqIabTDseE8 阅读全文
摘要:
原文链接:https://blog.csdn.net/Cool_breeze_bin/article/details/113356288?utm_medium=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2- 阅读全文
摘要:
package main import ( "container/list" "fmt" "math" "sort" "strings" "sync" ) const ( Unknown = 0 Female = 1 Male = 2 ) func main() { var ( a int b st 阅读全文
摘要:
package main import ( "container/list" "fmt" "math" "sort" "strings" "sync" ) const ( Unknown = 0 Female = 1 Male = 2 ) func main() { var ( a int b st 阅读全文
摘要:
<<<<<<< HEAD new new new new code old old old code >>>>>>> xxxxxxxxxxxxxxxxxxxxxxx 分析:head 到 里面的lalala是自己的commit的内容 到 >>>>>>里面的hehehe是下拉的内容 根据需要删除代码就行 阅读全文