- 博客(40)
- 收藏
- 关注
转载 Linux 几个简单的操作命令
ctrl + l = clearctrl + v //从光标位置删到首行ctrl + a //从光标位置跳到首行ctrl + e //把命令放到后台ctrl + r //在历史命令中搜索转载于:https://www.cnblogs.com/Brittany-yan/p/6915047.html...
2017-05-28 09:10:00
154
转载 1. Java环境搭建及demo
1.java简介转载于:https://www.cnblogs.com/Brittany-yan/p/5651733.html
2016-07-07 22:00:00
140
转载 action找不到
错误:{"name":"Not Found","message":"Unable to resolve the request: ufscmcmall\/member\/jd-api","code":0,"status":404,"type":"yii\\web\\NotFoundHttpException","previous":{"name":"Invalid Route","m...
2016-06-15 10:37:00
157
转载 < >
<!DOCTYPE HTML><html lang="en-US"><head><meta charset="UTF-8"><title>字符制作三角边框</title><style type="text/css">*{margin:0;padding:0;}body{fo...
2016-06-11 15:43:00
103
转载 document 写法
# UfsProgressBar ## Component InfoA progress bar component of specified progress. ## Usage```<ufs-progress-bar :rate="20"></ufs-progress-bar>``` ## ArgumentsParam | Type | Default ...
2016-06-07 14:40:00
196
转载 develop process
-fOption is dangerous, make sure that only do this on your own branch# When you starting coding at the first time, create a new branch which track the develop:$ git fetch$ git checkout -t ...
2016-06-01 14:31:00
162
转载 git stash
一、基本操作当你正在做一项复杂的工作时, 发现了一个和当前工作不相关但是又很讨厌的bug. 你这时想先修复bug再做手头的工作, 那么就可以用 git stash 来保存当前的工作状态, 等你修复完bug后,执行'反储藏'(unstash)操作就可以回到之前的工作里.$gitstashsave"work in progress for foo feature"上面这条...
2016-06-01 14:28:00
115
转载 ubuntu openssh-server
1. sudo apt-get install openssh-server2. sudo service ssh start3. sudo service ssh status4. ssh root@192.168.225.1025. scp -r root@192.168.225.102:~/wp/githooks/ ~/githooks转载于...
2016-05-31 09:21:00
99
转载 Ubuntu 14.04 下 MongoDB 服务器 和 PHP MongoDB Driver 安装
https://phphub.org/topics/309转载于:https://www.cnblogs.com/Brittany-yan/p/5454689.html
2016-05-03 13:42:00
113
转载 nvm linux命令
nvm alias default 0.12.10nvm alias default 0.10.24nvm listNVM_NODEJS_ORG_MIRROR=http://npm.taobao.org/mirrors/node nvm install v0.12.10NVM_NODEJS_ORG_MIRROR=http://npm.taobao.or...
2016-04-29 16:31:00
210
转载 ubuntu12.04 安装 ruby1.9.3
sudo apt-add-repository ppa:brightbox/ruby-ngsudo apt-get updatesudo apt-get install ruby rubygems ruby-switchsudo apt-get install ruby1.9.1转载于:https://www.cnblogs.com/Brittany-yan/p/5445...
2016-04-29 09:55:00
122
转载 select2
jQuery('#parentId').select2({ placeholder: 'Please select a parent department', allowClear: true, ajax: { url: url, dataType: 'json', ...
2016-04-27 17:08:00
122
转载 hibernate
String sql = "SELECT COUNT(*) as count, Date(created) as date FROM redeem_code_history WHERE merchant_user_id = :merchantUserId GROUP BY Date(created) ORDER BY created DESC"; Query query =...
2016-04-26 10:10:00
117
转载 javascript获取host
document.writeln(location.protocol);document.writeln(location.origin); //包括端口号document.writeln(location.host); //不包括端口号document.writeln(location.port); //默认为80的就为空document.wri...
2016-04-12 14:45:00
1694
转载 php常用函数
1. 去除html标签:strip_tags2. 转义html标签:htmlspecialchars转载于:https://www.cnblogs.com/Brittany-yan/p/5378426.html
2016-04-11 14:50:00
103
转载 php 生成和下载xml文件
方法一 $doc = new DOMDocument('1.0', 'utf-8'); $doc->formatOutput = true; $rootEle = $doc->createElement('root'); $doc->appendchild($rootEle); $...
2016-04-11 14:23:00
673
转载 talos项目记录
1. 跑schedule :php src/cli-schedule/cli.php -a sales.coupon.offer-coupons 所用方法在schedule里转载于:https://www.cnblogs.com/Brittany-yan/p/5368101.html
2016-04-08 14:51:00
201
转载 在ubuntu 12.04 中配置java环境(安装jdk, tomcat, maven, eclipse)
1. 安装jdk 1.7 在ubuntu( /usr/lib/jvm/java-7-openjdk-amd64)中默认有安装jdk 1.7 如果没有 可下载 :http://www.oracle.com/technetwork/java/javase/downloads/jdk7-downloads-1880260.html 解压 :sudotarzxvf j...
2016-03-31 10:14:00
137
转载 linux 常见命令
1. 根据端口号找进程 :netstat-lnp|grep 80802. 压缩文件: zip 压缩文件名 源文件3. 压缩目录: zip -r 压缩文件名 源目录转载于:https://www.cnblogs.com/Brittany-yan/p/5336170.html...
2016-03-30 10:37:00
86
转载 zend framework 初识
1. 请求顺序 : index.php --> Bootstrap.php --> IndexController.php2. 验证顺序 :Bootstrap.phpfunction __contruct($app) { parent:: __construct($app); file_put_contents('d:/mylog.txt...
2016-03-25 15:45:00
89
转载 mysql 关键字bug
今天运行语句 select * from order;出现bug:ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'or...
2016-03-24 09:43:00
124
转载 ubuntu 新建zend framework 项目
1. sudo apt-get install zend-framework /usr/share/php/libzend-framework-php2. 配置include_path /etc/php5/conf.d下的zend-framework.ini, 将include_path前的分号去掉3. 进入/usr/bin目录下sudo zf create proj...
2016-03-23 14:29:00
116
转载 nginx 配置
1. 安装nginx : sudo apt-get install nginx2. 写conf : /etc/nginx/conf.d 或者 /etc/nginx/sites-avaliableserver { listen 80; root /home/susie/workspace/ec/src/www-web; index index....
2016-03-23 09:04:00
74
转载 mysql基本命令
1. 登陆 : mysql -uroot -proot2. 查看数据库: show database;3. 查看表: show tables;4.当前选择的库状态:SELECT DATABASE();5.显示数据表字段:describe 表名;6. 数据库操作添加:INSERT INTO [表名] VALUES('','',......顺序排列的数据); ...
2016-03-22 11:06:00
114
转载 mysql导入.sql文件
1. source /home/susie ...../**.sql2. \. /home/susie/.../**.sql批量导入.sql文件首先新建一个main.sql,然后在main.sql文件里面这么写:source C:/sql/1.sql;source C:/sql/2.sql;source C:/sql/3.sql;....编辑好后,再source ma...
2016-03-21 12:20:00
110
转载 regular expression 基本语法
正则检测网址:http://regexpal.isbadguy.com/ (不包含界定符) 或 http://tool.chinaz.com/regexunicode转换工具 :http://tool.chinaz.com/tools/unicode.aspx1. 概述界定符 : 表示一个正则表达式的开始和结束 如: /[0-9]/ 或 #[0-9]# ...
2016-03-17 15:25:00
166
转载 export-data.js
var timeBtnClick = (function() { function _todayClick() { $('.select-time .today').on('click', function() { $('#export-date-start-time').val(countDate.getDate(0)); ...
2016-03-17 14:44:00
763
转载 各种浏览器的agent信息(IE Chrome Safari Firefox)
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/47.0.2526.73 Safari/537.36Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:42.0) Gecko/20100101 Firefox/42.0 # FirefoxMoz...
2016-03-17 10:26:00
1371
转载 full-background.js
$(window).on('load', function () { $(window).trigger('resize');});$(function () { var $window = $(window), isLoaded = false; function resizeBg() { var winWidth = $win...
2016-03-15 13:53:00
128
转载 regular expression (php函数)
1. 正则表达式是一种字符串搜索和匹配的工具2. php中常用正则表达式函数preg_match($pattern, $subject)preg_match_all($pattern, $subject, array &$matches)preg_replace($pattern, $replacement, $subject)preg_filter($p...
2016-03-14 14:54:00
148
转载 git merge 分支
把master merge到apple_campus1.git stash2.git checkout master3.git pull4.git checkout apple_campus5.git pull6.git merge master7.git gui #解决冲突,再重新提交8.git stash pop6.git rebase -i origin/delevep...
2016-02-19 15:20:00
129
转载 用git提交代码步骤
1.git add XXXX2.git commit - 'xxx'3.git stash4. //git pull --rebase4. git rebase origin/develop git rebase --continue //解决冲突之后5.git push origin develop6.git stash popgit 常用命令总结:g...
2016-02-19 14:57:00
76
转载 js 对日期加减
function getDate(days) { var now = new Date(), newDate = new Date(now.getTime() - 86400000 * days), yyyy = newDate.getFullYear(), mm = (newDa...
2016-01-21 10:28:00
500
转载 https://github.com/aptana/studio3/releases aptana
https://github.com/aptana/studio3/releases aptana转载于:https://www.cnblogs.com/Brittany-yan/p/5089446.html
2015-12-30 17:11:00
446
转载 http://codepen.io/zhou-yg/pen/NqgPmg 在线编辑器
http://codepen.io/zhou-yg/pen/NqgPmg 在线编辑器转载于:https://www.cnblogs.com/Brittany-yan/p/5085547.html
2015-12-29 14:08:00
809
转载 full page h5
https://github.com/alvarotrigo/fullPage.js转载于:https://www.cnblogs.com/Brittany-yan/p/5082439.html
2015-12-28 14:30:00
75
转载 enquirejs
http://wicky.nillia.ms/enquire.js/转载于:https://www.cnblogs.com/Brittany-yan/p/4886140.html
2015-10-16 19:06:00
463
转载 popup
http://vast-engineering.github.com/jquery-popup-overlay/http://photoswipe.com/转载于:https://www.cnblogs.com/Brittany-yan/p/4878291.html
2015-10-14 18:21:00
68
转载 一个不错的slider
http://bqworks.com/slider-pro/转载于:https://www.cnblogs.com/Brittany-yan/p/4869694.html
2015-10-11 18:14:00
106
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人