Submitted by gouki on 2015, February 27, 10:59 PM
平时的工作中,除了bootstrap,其实还是有一些其他的皮肤是可以尝试的,比如这个“http://semantic-ui.com/”,你就可以看到与bootstrap等不同的效果。
semantic-ui准备了一些常用的小效果,而且自带了一些小皮肤,比如github的效果,比如bootstrap,twitter的小效果,你在使用中会发现它的好的
不多介绍,直接去官网看吧。如果你偷懒,就用这个链接下载吧:https://github.com/Semantic-Org/Semantic-UI/archive/1.10.2.zip
官网:http://semantic-ui.com/
github: https://github.com/semantic-org/semantic-ui/
Tags: semantic, bootstrap
PHP | 评论:0
| 阅读:20442
Submitted by gouki on 2015, February 20, 9:07 PM
羊年快乐。喜气羊羊,羊羊得意!
祝能看到我勃客的人在羊年里少出BUG,多出产品。皆大欢喜!
我自己的目标和愿望就不列出来了。也期望自己能够实现新年的愿望
Misc | 评论:0
| 阅读:17204
Submitted by gouki on 2015, February 15, 11:52 PM
在composer update项目的时候,报了如标题一样的错误,当然这个错误 有一大堆
XML/HTML代码
- composer update
- Loading composer repositories with package information
- Updating dependencies (including require-dev)
- Your requirements could not be resolved to an installable set of packages.
-
- Problem 1
- - The requested package bower-asset/jquery could not be found in any version, there may be a typo in the package name.
- Problem 2
- - Installation request for yiisoft/yii2 dev-master -> satisfiable by yiisoft/yii2[dev-master].
- - yiisoft/yii2 dev-master requires bower-asset/jquery 2.1.*@stable | 1.11.*@stable -> no matching package found.
- Problem 3
- - yiisoft/yii2 2.0.x-dev requires bower-asset/jquery 2.1.*@stable | 1.11.*@stable -> no matching package found.
- - yiisoft/yii2 dev-master requires bower-asset/jquery 2.1.*@stable | 1.11.*@stable -> no matching package found.
- - Removal request for yiisoft/yii2-imagine == 2.0.9999999.9999999-dev
- - yiisoft/yii2-imagine 2.0.0 requires yiisoft/yii2 * -> satisfiable by yiisoft/yii2[dev-master, 2.0.x-dev].
- - yiisoft/yii2-imagine 2.0.0-rc requires yiisoft/yii2 * -> satisfiable by yiisoft/yii2[dev-master, 2.0.x-dev].
- - yiisoft/yii2-imagine 2.0.1 requires yiisoft/yii2 * -> satisfiable by yiisoft/yii2[dev-master, 2.0.x-dev].
- - yiisoft/yii2-imagine 2.0.2 requires yiisoft/yii2 * -> satisfiable by yiisoft/yii2[dev-master, 2.0.x-dev].
- - Removal request for yiisoft/yii2-imagine == 9999999-dev
- - Installation request for yiisoft/yii2-imagine * -> satisfiable by yiisoft/yii2-imagine[2.0.0, 2.0.0-rc, 2.0.1, 2.0.2, 2.0.x-dev, dev-master].
-
- Potential causes:
- - A typo in the package name
- - The package is not available in a stable-enough version according to your minimum-stability setting
- see <https://groups.google.com/d/topic/composer-dev/_g3ASeIFlrc/discussion> for more details.
-
- Read <http://getcomposer.org/doc/articles/troubleshooting.md> for further common problems.
看上去好纠结,但其实官方有过提示,通过查看:http://www.yiiframework.com/doc-2.0/guide-start-installation.html#installing-via-composer,可知,只要运行:
XML/HTML代码
- composer global require "fxp/composer-asset-plugin:1.0.0"
问题解决。
XML/HTML代码
- composer update
- Loading composer repositories with package information
- Updating dependencies (including require-dev)
- Reading bower.json of bower-asset/jquery.inputmask (3.1.47)
- Could not fetch https://api.github.com/repos/RobinHerbots/jquery.inputmask/contents/bower.json?ref=9ff37e85bc2fa2350475c4a7fa60aa20cd211481, enter your GitHub credentials to go over the API rate limit
- The credentials will be swapped for an OAuth token stored in /Users/*******/.composer/auth.json, your password will not be stored
- To revoke access to this token you can visit https://github.com/settings/applications
- Username:********
- Password:********
- Token successfully created
- Reading bower.json of bower-asset/jquery.inputmask (3.1.44)
- 。。。。。。。此处省略500字
Tags: yii2
PHP | 评论:2
| 阅读:43761
Submitted by gouki on 2015, February 4, 3:00 PM
在使用苹果的brew install homebrew/php/php55的时候提示 Cannot find OpenSSL's <evp.h>,官方建议查看https://github.com/homebrew/homebrew-php/issues,看一下,第二条就是。
在内容里有人回复,加个参数 吧。。brew install phpxx --with-brewed-openssl,但不幸的是,仍然报上述错误,这时候有人回复了一下,你先装个commandtools吧
XML/HTML代码
- @Anei Wasn't sure which one, but I think this one did the trick:
-
- Yep, installing the Command Line tools directly from Apple did the trick:
- "Command Line Tools (OS X 10.10) for Xcode - Xcode 6.1.1" (169.94 MB)
-
- I didn't think that was a solution as I had went into the App Store update and I was "up to date" with the command line tools. Thanks / feel free to close.
点击下载、安装。再brew install,一切顺利解决!
苹果相关 | 评论:0
| 阅读:21172
Submitted by gouki on 2015, February 3, 9:45 AM
在闲逛的时候,突然看到一篇文章,标题是:支付宝即时到账捐赠按钮,原来,自从支付宝取消了那个捐赠页面后,很多人都在想办法,果然有人提出来了,只要一个FORM就能解决。
原文地址:https://xkm.me/92.html
- <form action="https://shenghuo.alipay.com/send/payment/fill.htm" method="POST" target="_blank" accept-charset="GBK">
- <input name="optEmail" type="hidden" value="你的支付宝账号" />
- <input name="payAmount" type="hidden" value="默认的捐赠金额" />
- <input id="title" name="title" type="hidden" value="默认显示的付款说明" />
- <input name="memo" type="hidden" value="备注" />
- <input name="pay" type="image" value="转账" src="https://img.alipay.com/sys/personalprod/style/mc/btn-index.png" />
- </form>
原文地址在上面哦。而且原文上面还有一些比较适合的图片,于是乎。。。我也加上了这段代码。黑黑
Misc | 评论:0
| 阅读:16104