码迷,mamicode.com
首页 >  
搜索关键字:$origin    ( 4398个结果
LoggerOne
LoggerOne One Efficient & Light & Simple high performance PHP log implemention of PSR-3 一个高性能、简约、轻量的psr-3接口实现日志PHP类库 特性/Features Inherently cached mes ...
分类:其他好文   时间:2017-06-19 01:15:27    阅读次数:184
前后端分离之前端vue
cd my-project npm install npm run dev 这样就构建了一个本地vue项目 结下来,如何调用后端接口呢? 安装 vue-resource 找到src\components\Hello.vue 把下面代码替换原来的,加入了表单,点击登录,调用后端的接口 由于后端的接口域 ...
分类:其他好文   时间:2017-06-18 21:55:59    阅读次数:262
域知识(一)——CORS
CORS是一个W3C标准,全称是"跨域资源共享"(Cross-origin resource sharing)。 它允许浏览器向跨源服务器,发出XMLHttpRequest请求,从而克服了AJAX只能同源使用的限制。 浏览器将CORS请求分成两类:简单请求(simple request)和非简单请求 ...
分类:其他好文   时间:2017-06-18 20:43:17    阅读次数:260
常用git命令
获取远程某个分支: 1 git checkout --track origin/serverfix serverfix为分支名称 2 git checkout -b local-branchname origin/remote_branchname 就可以将远程分支映射到本地命名为local-bra ...
分类:其他好文   时间:2017-06-18 18:11:16    阅读次数:167
2D缩放
1.缩放:trasition-origin:left bottom;变化默认仍然是元素的中心点进行缩放,但可以设置变化的中心点 位置,同时按照中心点缩放,正数和负数变化没有区别; 但是中心点缩放,正数和负数的方向就相反了。 2.trasition:scale(3);(几倍) 背景音乐: <sourc ...
分类:其他好文   时间:2017-06-18 18:10:52    阅读次数:135
github初步---将本地代码传到github上面
弄了老半天终于学会了一点基础的东西。。。 首先我们需要在本地建一个仓库 自我理解,这个仓库和github上面的仓库是同步的,建仓库的过程如下: 1.在你想建仓库的地方右击git bash here,然后开始输入命令 2.git init 3.git remote add origin XXX(你的仓 ...
分类:其他好文   时间:2017-06-18 14:26:24    阅读次数:121
Git命令拉代码与上传代码
上传代码步骤: 1、进入到本地的文件夹内,git初始化:git init 2、将代码放到暂存区:git add . 3、提交代码到本地分支:git commit -m "备注" 4、push代码到远程仓库:git push origin [local branch]:[remote branch] ...
分类:Web程序   时间:2017-06-18 14:26:16    阅读次数:283
[LintCode] Strings Serialization
Design an algorithm to encode a list of strings to a string. The encoded string is then sent over the network and is decoded back to the original list ...
分类:其他好文   时间:2017-06-18 10:44:35    阅读次数:180
CDN
bootstrap jquery UIkit ...
分类:其他好文   时间:2017-06-17 16:03:24    阅读次数:119
Git上传本地项目【转载】
详细教程: http://www.cnblogs.com/specter45/p/github.html Git 提示fatal: remote origin already exists 错误解决办法 1、先删除远程 git 仓库 $ git remote rm origin 2、再添加远程 Gi ...
分类:Web程序   时间:2017-06-17 13:02:43    阅读次数:190
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!