• H5页面引导用户去关注微信公众号

    在H5页面判断用户有没有关注公众号,如果没有则跳转到如下的连接地址 https://mp.weixin.qq.com/mp/profile_ext?action=home&__biz=MjM5OTIzMjc1OA==&scene=110#wechat_redirect 其中biz后面参数是每个公众号自己的,查看方法如下: 打开公众号发过来的任意一片文章,查看其中的源代码 var biz = ""||"MjM5OTIzMjc1OA=="; var sn = "" || ""|| "f10225f1cbbb6e774...
    作者:wuwenlong/2017年6月06日/分类:mac相关知识/阅读:1,637次//评论关闭
  • apache AH01630: client denied by server configuration错误解决方法

    apache AH01630: client denied by server configuration错误解决方法 出现这个错误的原因是,apache2.4 与 apache2.2 的虚拟主机配置写法不同导致。 apache2.2的写法: ServerName www.wwllcchf.com DocumentRoot "/home/fdipzone/sites/www" DirectoryIndex index.html index.php <Directory "/home/fdipzone/sites/www"> Options -Indexes +...
    作者:wuwenlong/2017年6月02日/分类:mac相关知识/阅读:1,095次//评论关闭
  • PHP 500 -Invalid command RewriteEngine的解决

    错误 :  500 -Invalid command RewriteEngine 日志 : [Tue Nov 20 22:52:24 2012] [alert] [client 127.0.0.1] D:/wamp/www/.htaccess: Invalid command 'RewriteEngine', perhaps misspelled or defined by a module not included in the server configuration 解决 :    RewriteEngine命令需要rewrite mod的支持, 打开apache的配置文件httpd.conf ,取消 LoadModule r...
    作者:wuwenlong/2017年6月02日/分类:mac相关知识/阅读:1,138次//评论关闭
  • MAC下用homebrew安装及配置apache、php和mysql

    homebrew homebrew是mac下的一个包安装管理工具,使用非常简单方便。 安装homebrew 在终端中执行: ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" 这样就安装好homebrew了。 安装命令行软件 如安装wget,则执行: brew install wget 其它具体的使用方法可自行翻阅 官网(中文)。 安装apache php mysql 因为apache...
    作者:wuwenlong/2017年5月25日/分类:mac相关知识/阅读:1,480次//评论关闭
  • MAC 下使用brew重新安装PHP

    今天在做一个项目的的时候,用php的curl的时候出错,提示 SSL: CA certificate set, but certificate verification is disabled 查了一下是mac系统的curl没有使用openssl的缘故,使用一下命令查看 php -i | grep "SSL Version" 结果如下 SSL Version => SecureTransport 既然这样,我就使用homebrew重新安装了下php 首先确保你的电脑已经已经安装了homebrew,如果没有...
    作者:wuwenlong/2017年5月25日/分类:mac相关知识/阅读:3,036次//评论关闭
  • PHPStorm IDE 快捷键(MAC)

    ⌘——Command ⌃ ——Control ⌥——Option/Alt ⇧——Shift ⇪——Caps Lock fn——功能键就是fn 编辑 Command+alt+T 用 (if..else, try..catch, for, etc.)包住 Command+/ 注释/取消注释的行注释 Command+alt+/ 注释/取消注释与块注释 alt+↑ 向上选取代码块 alt+↓ 向下选取代码块 Command+alt+L 格式化代码 tab,shift+tab 调整缩进 Control+alt+I 快速调整缩进 Command+C 复制 Command+X ...
    作者:wuwenlong/2017年4月25日/分类:mac相关知识/阅读:991次//评论关闭
  • PhpStorm 2016.2 Mac破解版

      PhpStorm 2016.2 Mac破解版 PhpStorm,它是一款由JetBrains公司开发推出的商业PHP 集成开发工具,被誉为最好用的PHP IDE。 JetBrains是一家技术领先的软件开发公司,专门从事增效型智能软件的开发。该公司凭借其屡获殊荣的创新型 Java™ 集成开发环境 IntelliJ™ IDEA、Ruby 和 Rails 集成开发环境 RubyMine 、PyCharm Python IDE及其他生产力工具而享誉全球。...
    作者:wuwenlong/2017年4月11日/分类:mac相关知识/阅读:1,202次//评论关闭
  • mac下更新自带的PHP版本到5.6或7.0

    OS X 10.11自带的PHP版本是PHP 5.5.x,如果我们想更新PHP的版本到5.6或者是7.0该怎么办呢? 下载和安装PHP 5.6 打开终端并且运行如下命令: curl -s http://php-osx.liip.ch/install.sh | bash -s 5.6 然后,PHP 5.6的版本会被安装到下面的路径中: /usr/local/php5/ 下载和安装PHP 7.0 打开终端并运行如下的命令: curl -s http://php-osx.liip.ch/install.sh | bash -s 7....
    作者:wuwenlong/2017年3月31日/分类:mac相关知识/阅读:1,423次//评论关闭
  • mac 下vbox虚拟机中安装win7需要安装扩展才能支持usb

    首页要查看对应的vbox的版本,下载对应的扩展安装文件,例如我的电脑安装的是5.0.30,那么就要在此目录下找 http://download.virtualbox.org/virtualbox/5.0.30 下载 Oracle_VM_VirtualBox_Extension_Pack-5.0.30-112061.vbox-extpack 文件 现在好之后需要再虚拟机设置中,设置usb2.0
    作者:wuwenlong/2017年2月08日/分类:mac相关知识/阅读:1,355次//评论关闭
  • MAC安装PHP扩展之MEMCACHE

    在执行phpize的时候,出现错误提示 grep: /usr/include/php/main/php.h: No such file or directory grep: /usr/include/php/Zend/zend_modules.h: No such file or directory grep: /usr/include/php/Zend/zend_extensions.h: No such file or directory Configuring for: PHP Api Version: Zend Module Api No: Zend Extension Api No: Cannot find autoconf. Please chec...
    作者:wuwenlong/2016年6月21日/分类:mac相关知识/阅读:1,063次//评论关闭
  • Internal Server Error

    Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator at admin@star.com to inform them of the time this error occurred, and the actions you performed just before this error. More information about this error may be available in the serve...
    作者:wuwenlong/2016年6月21日/分类:mac相关知识/阅读:1,071次//评论关闭
  • MAC 系统的启动过程和系统启动时运行shell 脚本

    MAC 系统的启动过程 1 Mac 开机启动脚本或应用(系统启动时运行shell 脚本) 1)如果想启动的是一个Mac 的应用程序(即xxx.app)则可以通过图形化界面来设置: system prefernce-->Accounts-->LogItems-->add 2)把想要启动的shell 或应用放到/Library/Startupitems/ 目录中。 3)创建/etc/rc.local 文件,把脚本写在文件中。 4)如果只启动shell 程序,还有一种方式,...
    作者:wuwenlong/2016年6月17日/分类:mac相关知识/阅读:1,339次//评论关闭
  • mac mini安装win7出现 windows无法验证数字签名,解决方案

    我的mac装WIN7,开机提示无法验证数字签名。主要原因是因为window驱动和bootcamp升级造成的,制作安装盘的时候,它给你下载的win10的驱动,所以安装就会异常。所以解决方案就出来了: 1.先按照常规流程,制作U盘安装盘;点击第一项“创建window7或更高..”,下面第二个选项默认选中的。 2.安装盘制作好了以后。千万别分盘。点击取消。返回mac系统。 3.从https://support.apple...
    作者:wuwenlong/2016年6月14日/分类:mac相关知识/阅读:1,190次//评论关闭
  • mac系统免密登录linux服务器

    最近使用mac系统登录linux,每次输入密码非常的繁琐,故弄一个免密登录,操作如下 1.在本地机器创建公钥 打开终端输入如下命令,无视一切输出,一路回车 ssh-keygen -t rsa -C 'your email@domain.com' -C 设置注释文字,比如你的邮箱 页面输出如下: [~] ssh-keygen -t rsa -C 'company mac mini' Generating public/private rsa key pair. Enter file in which to save t...
    作者:wuwenlong/2016年3月18日/分类:mac相关知识/阅读:1,156次//评论关闭
  • iOS设备上高效演示APP原型的方法总结

    相信许多产品和设计师童靴都可以用原型设计工具制作制作出逼真的产品交互原型,如果能方便、直接地在iPhone上演示这些APP原型,对于我们模 拟用户真实体验,展示设计亮点都有很大帮助。壮壮结合自己这几天阅读资料和摸索实践,总结了一下个人认为最高效的方法,希望对在iPhone上演示APP 交互原型有困扰的童靴们有所帮助。 首先,简单介绍下我了解到的制作及演示APP原型的工...
    作者:wuwenlong/2013年12月05日/分类:mac相关知识/阅读:2,172次//1条评论
  • mac系统上的ftp服务器

    发现一款mac系统上的ftp服务器pureftpd,感觉很好用就推荐给大家 网址:http://jeanmatthieu.free.fr/pureftpd/ 下载地址:http://jeanmatthieu.free.fr/pureftpd/pkg/PureFTPd-Manager-1.8.dmg
    作者:wuwenlong/2013年10月17日/分类:mac相关知识/阅读:2,310次//评论关闭
  • 关于***-Prefix.pch has been modified since the precompiled header was built的错误

    自己在Xcode4.5上写的ios小程序,由于在两台机器上进行了修改。当从一台机器上把源码拷贝到另一台机器上时,出现了如下错误。 fatal error: file'/Volumes/work/iosdev/LoveWeather/LoveWeather/LoveWeather-Prefix.pch' has beenmodified since the precompiled header was built 在网上没有找到合适的解决方法之后,自己试着做了如下修改,程序运行正常了。 错误修改 找...
    作者:wuwenlong/2013年10月15日/分类:mac相关知识/阅读:1,723次//评论关闭
  • 解决警告“ld: warning: directory not found for option”

    从项目中删除了某个目录、文件以后,编译出现警告信息: ld: warning: directory not found for option“XXXXXX” 很奇怪,为什么已经从项目中删除了文件和文件夹还是报这个警告呢? 去掉警告的办法如下: 1选择工程, 编译的 (targets) 2选择 Build Settings 菜单 3查找 Library Search Paths 和 Framework Search Paths, 删掉编译报warning的路径即OK
    作者:wuwenlong/2013年10月10日/分类:mac相关知识/阅读:2,405次//评论关闭