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…474849…103
avatar
developer
AI相伴的开发者博客
文章
1025
标签
727
分类
35
Follow Me
公告
This is my Blog
最新文章
python开发环境多版本管理2026-08-18
opencode自定义模型2026-06-18
pdf操作2026-06-04
pdf按章节拆分到文件2026-05-03
svg转png2026-04-09
分类
  • apicloud3
  • bootstrap8
  • cmder1
  • cocos2d-js5
  • createjs17
  • day45
  • docker16
  • egret14
标签
注意要点 th 配置 判断一个 git rc.local 对象 常见问题 问题 引用传递 require_once() centos 区别 animate动画 hset命令 trim 每隔一段时间 要点 pgsql 图片 golang swoft goaccess getx 显示 微信开发 设计模式 Filter 高度可自定义 开放平台 发红包 to grep 测试代码 require() call 控制器 ioc array_column 时间复杂度
归档
  • 八月 2026 1
  • 六月 2026 2
  • 五月 2026 1
  • 四月 2026 2
  • 三月 2026 3
  • 二月 2026 5
  • 一月 2026 3
  • 十二月 2025 5
网站信息
文章数目 :
1025
最后更新时间 :
© 2025 - 2026 By developer框架 Hexo 8.1.1|主题 Butterfly 5.5.4
搜索
数据加载中