Dev
搜索

Dev

vscode vsc php开发环境
发表于2017-04-23|php
大概需要安装3个插件 中文界面 1Chinese (Simplified) Language Pack for Visual Studio Code 代码提示 1PHP Intelephense 代码格式化 1phpfmt 代码运行 1Code Runner 代码注释 1PHP DocBlocker
vscode 编译 typescript
发表于2017-04-23|js
根据向导创建 tasks.json然后选择 1TypeScript - tsconfig.json
vscode ts typecho tsc版本不同
发表于2017-04-23|js
安装vscode编译ts会出现如下错误 1版本不匹配! 全局 tsc (2.0.3) != VS Code 的语言服务(2.2.2)。可能出现不一致的 解决方法 1npm list -g typescript
fiddler 手机抓包
发表于2017-04-03|others
http://jingyan.baidu.com/article/03b2f78c7b6bb05ea237aed2.htmlhttp://blog.csdn.net/idlear/article/details/50999490 启动Fiddler,打开菜单栏中的 Tools > Fiddler Options,打开“Fiddler Options”对话框。 在Fiddler Options”对话框切换到“Connections”选项卡,然后勾选“Allow romote computers to connect”后面的复选框,然后点击“OK”按钮。 手机上代理主机为电脑ip 端口为 8888 https 证书 用safari访问 http://ip:8888 下载安装描述文件 IOS11依次打开通用-关于本机-证书信任设置,开启信任即可(默认是不信任的!!!) 安卓同理
thinkphp5 phpstudy 显示 No input file specified 解决办法
发表于2017-04-02|thinkphp
这是由于运行模式导致的修改入口处的配置 12345678910111213<IfModule mod_rewrite.c> Options +FollowSymlinks -Multiviews RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-f #apacheHanlder模式 #RewriteRule ^(.*)$ index.php/$1 [QSA,PT,L] #fastCGI模式 RewriteRule ^(.*)$ index.php [L,E=PATH_INFO:$1]</IfModule>
chrome 插件制作 要点
发表于2017-03-28|others
通过set get保护属性值,修改浏览器navigator.platform 1var actualCode = "Object.defineProperty(navigator,'platform',{get:function(){return 'Android';}});"; 向页面注入js 1234var s = document.createElement('script');s.textContent = actualCode;document.documentElement.appendChild(s);s.remove();
array_column 从多维数组中取出某个字段
发表于2017-03-27|php
array_column() 返回输入数组中某个单一列的值。 http://www.w3school.com.cn/php/func_array_column.asp 实例 123456789101112131415161718192021// 表示由数据库返回的可能记录集的数组$a = array( array( 'id' => 5698, 'first_name' => 'Bill', 'last_name' => 'Gates', ), array( 'id' => 4767, 'first_name' => 'Steve', 'last_name' => 'Jobs', ), array(...
typecho 使用要点
发表于2017-03-24|others
可用常量 以下常量定义在config.inc.php即可 1define('__TYPECHO_DEBUG__', true); 伪静态 Apache配置 1234567<IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ /index.php/$1 [L] </IfModule> Nginx配置 1234567location / { index index.html index.htm index.php; if (!-e $request_filename) { rewrite ^(.*)$ /index.php/$1 last; break; }} ...
thinkphp5 控制器 验证 汉字说明
发表于2017-03-23|thinkphp
验证规则中的汉字 123$this->validate($data,[ 'captcha|验证码'=>'require|captcha']); 这个汉字是出现错误时替换出错字段的,例如没有写“汉字”时,会提示’captcha不能为空’,写了“验证码”替换后,会提示“验证码不能为空”
微信支付 微信公众号 发红包 的使用方法
发表于2017-03-22|wechatdev
关闭360 百度杀毒 等非腾讯公司的安全软件,完成整个操作后再打开 使用电脑自带IE浏览器打开 微信支付官网 按页面提示:下载并安装腾讯的 安全控件 登录微信支付后台,点击最上方 交易中心 点击左侧按钮 资金管理 大类中的第二个按钮 充值转入 入款账户选择 运营账户 其他转入方式和金额按合理需求填写 都填好之后 点击 最下方绿色按钮 转入 即可
1…484950…104
avatar
developer
AI相伴的开发者博客
文章
1035
标签
742
分类
36
公告
This is my Blog
最新文章
wslc空间清理2026-11-16
Cmder 跟随 Windows 明暗主题2026-10-28
Intel(R) System Usage Report禁用2026-10-18
压力测试2026-10-16
税务学习记录2026-10-13
分类
  • apicloud3
  • bootstrap8
  • cmder1
  • cocos2d-js5
  • createjs17
  • day45
  • docker16
  • egret14
标签
常用 处理大数组 客户端 乌龟 不准 一键安装 laya 时间格式化的方式 微信支付 对象唯一id 移动端上传 解析字符串 过滤目录和子目录下 开启报错 恋爱 自建vpn WSL2 对话的 恢复 dl 函数 go 大量bug记录 补充 apache2.4 禁止 借助云服务 数据类型 mysql_fetch_array Tue Sep 18 2018 08:00:00 GMT+0800 (China Standard Time) 性能差异 max current_user_can wsl gs mysql 不装逼 女人 正确方法 docker
归档
  • 十一月 2026 1
  • 十月 2026 9
  • 八月 2026 1
  • 六月 2026 2
  • 五月 2026 1
  • 四月 2026 2
  • 三月 2026 3
  • 二月 2026 5
网站信息
文章数目 :
1035
最后更新时间 :
© 2025 - 2026 By developer框架 Hexo 8.1.2|主题 Butterfly 5.7.0
搜索
数据加载中