Laravel PHP web framework requires certain libraries to function properly. One of these libraries is the mcrypt and the php-mcrypt (bridge between mcrypt and php). However, there is a good chance that you will run into issues while running Laravel if…
系统Ubuntu 安装Apache,php后发现laravel报 Mcrypt PHP extension required错误 解决办法: apt-get install php5-mcrypt cp /etc/php5/mods-available/mcrypt.ini mcrypt.ini…
这篇文章对于Nginx的配置至关重要 如果碰到访问index.php不返回html而出现下载文件的问题,加上那段default就可以修正: https://www.digitalocean.com/community/tutorials/how-to-install-laravel-with-an-nginx-web-server-on-ubuntu-14-04 -------------------------------------------------------------------…
以前安装opencart的时候倒是不需要mcrypt 这个库.但是新版本需要了.加上自己的 是mac环境.当时闲麻烦,就一直没装.这次下午就寻思给装上吧! 1.首先你要先安装xcode这个工具.不然没办法编译! xcode这个可以在苹果appstore下载. 2.安装 command line tools   打开xcode .->> Preferences 然后点击command line tools   install  等下再完成安装就行了 也可以按照这个国外高人写的安装 https:/…
本文环境: Mac OS X 10.8.5 Xcode 5.0 Mac OS X升级到10.8.5之后,内置的Apache升级到2.2.24,PHP升级到了5.3.26.本文以此环境为基础. 本文简介安装memcache.mcrypt.igbinary. 一.首先准备Xcode和autoconf. 安装的过程需要Xcode的命令行工具,编译PHP扩展需要有autoconf. Xcode是苹果公司提供的免费开发工具,请从App Store中搜索安装.完成安装之后,请通过Xcode的菜单[Xcode…
参考:https://github.com/tensorflow/models/issues/1834 You need to download protoc version 3.3 (already compiled). Used protoc inside bin directory to run this command like this:tensorflow$ mkdir protoc_3.3tensorflow$ cd protoc_3.3tensorflow/protoc_3.3$…
安装方法一: 通过Homebrew安装mcrypt,安装成功 [Shell] 纯文本查看 复制代码 brew install mcrypt MCrypt是一个功能强大的加密算法扩展库,它包括有22种算法.1:下载并解压mcrypt-2.6.8.tar.bz2.(2.6.8为版本号,可以自行选择,但是注意后边步骤要与下载的版本号一致.)2:在终端执行命令(注意如下命令需要安装xcode支持): cd ~/Downloads/mcrypt-2.5.8 ./configure --disable-po…
I got the following error message when trying to open a network interface for capture using Wireshark on Mac OS X (Wireshark 1.5.1 Intel 64 beta and 1.4.6 Intel 64 show this behaviour): There are no interfaces on which a capture can be done. To solve…
通过将php将至5.4来勉强支持freetype扩展,不推荐此方法 after upgrading to new Mac OS X Yosemite, i noticed that free type support is not working with php 5.5, so i had to downgrade to php 5.4 using homebrew first install Xcode Command line Tool xcode-select --install the…
上午一进公司就被日本分公司的美女呼叫,说mac硬盘加密经常开机后需要输入硬盘加密密码才可以登录,我想应该是硬盘加密后没有给用户添加许可证,所以每次登录系统都要进行验证.于是远程到用户电脑上后,准备在硬盘加密的设置里添加用户许可,用admin账号解锁的时候就出现了“Unapproved Caller” 错误:…
最近项目中经常使用到了laravel框架,对于这个框架之前只是弱弱地接触了一点,没有深入接触,这下有时间好好研究它了(主要是不得不研究了).说实话,laravel让我打开眼界了,之前对框架的使用一直停留在yii1.X阶段.总之那句话说的对,刚接触laravel的phper就只有两个反应,一个是捡到宝了,一个是觉得它是垃圾.我能,就属于后者,所以现在在努力让自己爱上laravel.但是一切总是有那么硌人的地方,我就想写写一些东西来吐槽laravel. 吐槽点:laravel的vendor引用的组件…
前言:先展示这个会被多个项目用到的开源的轮播器的其中一个动画效果: 更多的效果请到github原网址查看:https://github.com/nicklockwood/iCarousel 源码也可以到原网址下载得到哦. 下面是译文: Properties The iCarousel has the following properties (note: for Mac OS, substitute NSView for UIView when using properties): @prope…
mcrypt is a file encryption method using secure techniques to exchange data. It is required for some web apps for example Magento, the shopping cart software or a php framework likeLaravel. This tutorial has been tested in OSX 10.10 Yosemite. This gu…
[原文]http://www.tuicool.com/articles/goto?id=myM7veR I had updgraded my Ubuntu from 13.04 to 13.10 last week and everything went quite good. The only problems that I faced as developer are: Apache 2.4 was not working with default previous installation…
环境:Mac OS X Yosemite 10.10.4下, Safari 8 Step 1:第一次运行SafariDriver时,先找到WebDriver extension的安装路径,比如/Users/extrabux/library/safari/extensions: Step 2:然后在Java程序中添加: System.setProperty("webdriver.safari.driver", "/Users/extrabux/library/safari/ex…
A PHP extension for Facebook's RocksDB 31 commits 2 branches 0 releases 2 contributors C++ 90.5% C 8.9% Other 0.6% C++COther  branch: master  rocksdb-php/ Merge pull request #1 from miclen/patch-1 … latest commit 8b6542e285  Photonios authored on 25…
pply OS : Windows, Mac, Linux Apply Navicat Product : Navicat for Oracle, Navicat Premium Apply Navicat Version No. : All Instant Client package is required for Basic and TNS connection type. To download Instant Client package (Instant Client Package…
Mac使用pyenv安装Python出现The Python zlib extension was not compiled. Missing the zlib错误 参考这里,详细如下: On Mac OS X 10.9, 10.10 and 10.11 you may need to set the CFLAGS environment variable when installing a new version in order for configure to find the zlib…
FROM: http://lazyfoo.net/tutorials/SDL/06_extension_libraries_and_loading_other_image_formats/index.php Extension Libraries and Loading Other Image Formats Last Updated 7/20/20 SDL extension libraries allow you do things like load image files besides…
[it-ebooks]电子书列表   [2014]: Learning Objective-C by Developing iPhone Games || Leverage Xcode and Objective-C to develop iPhone games http://it-ebooks.info/book/3544/Learning Web App Development || Build Quickly with Proven JavaScript Techniques http:…
原文转自:http://www.smashingmagazine.com/2014/11/03/styling-and-animating-svgs-with-css/?utm_source=CSS-Weekly&utm_campaign=Issue-135&utm_medium=email CSS can be used to style and animate scalable vector graphics, much like it is used to style and ani…
转自:http://www.cnblogs.com/think/archive/2011/10/06/CEF-Introduce.html 简介 Chromium Embedded Framework (CEF)是由 Marshall Greenblatt 在2008年创办的开源项目,致力于基于Google Chromium项目开发一个Web控件. CEF目前已支持多种编程语言和操作系统,能方便地集成到现有或者新的应用程序中,设计上,它追求高性能的同时,也追求易于使用,它的基本框架通过原生库提供…
https://en.wikipedia.org/wiki/Anti-pattern https://zh.wikipedia.org/wiki/反面模式 An anti-pattern is a common response to a recurring problem that is usually ineffective and risks being highly counterproductive.[1][2] The term, coined in 1995 by Andrew K…
From: http://www.vogella.com/tutorials/Git/article.html Git - Tutorial Lars Vogel Version 5.6 Copyright © 2009, 2010, 2011, 2012, 2013, 2014 Lars Vogel 08.02.2014 Revision History Revision 0.1 - 5.6 13.09.2009 - 08.02.2014 LarsVogel bug fixes and imp…
转自:http://www.vogella.com/tutorials/Git/article.html#git_rename_branch Lars Vogel Version 5.8 Copyright © 2009-2015 vogella GmbH 10.08.2015 Git Tutorial This tutorial explains the usage of the distributed version control system Git via the command li…
Using the Emulator In this document Overview Android Virtual Devices and the Emulator Starting and Stopping the Emulator Installing Applications on the Emulator Using Hardware Acceleration Configuring Graphics Acceleration Configuring Virtual Machine…
Magento是一套专业开源的电子商务系统,Magento设计得非常灵活,具有模块化架构体系和丰富的功能但有朋友会发现此模块用到了会发现非常的缓慢了,那么下面我们来看关于magento性能优化的例子. 前面优化 mod_deflate模块,将text. css 和 javascript 先进行压缩再发送到浏览器.这样就会减少网络下载量,缩短等待时间,示例如下: # Insert filter on all content     SetOutputFilter DEFLATE     # Ins…
http://wiki.apache.org/tomcat/HowTo Contents Meta How do I add a question to this page? How do I contribute to Tomcat's documentation? Installation How do I set up and run Tomcat on Macintosh OS X? How do I set up and run Tomcat on Solaris 10? How do…
转载:http://www.yolinux.com/TUTORIALS/LibraryArchives-StaticAndDynamic.html Why libraries are used: This methodology, also known as "shared components" or "archive libraries", groups together multiple compiled object code files into a si…
Hyperpolyglot Unix Shells: Bash, Fish, Ksh, Tcsh, Zsh grammar | quoting and escaping | charactersvariables | variable expansion | brace, tilde, command, and pathname expansion | special variablesarithmetic and conditional expressionsarrays | associat…