Skip to content

wanghaibo/phpworkflow

Repository files navigation

phpworkflow

workflow for php

##git use https## git config --global url."https://".insteadOf git://

##yum install git on centos5## rpm -Uvh http://dl.fedoraproject.org/pub/epel/5/i386/epel-release-5-4.noarch.rpm yum install git-core

##git clone not default port## git clone ssh://user@git.example.com:8080/opt/git/my_project.git

##git allow remote push## [receive] denyCurrentBranch = ignore ##镜像下载 http://mirrors.163.com/ ##git bash自定义home目录 -打开git安装目录\etc\profile -找到normalize HOME -添加HOME="D:/code" cd $HOME

##centos6 升级git 原文链接

###提取git两个版本的差异,并打包文件

  • git add * && git commit -a -m'loginfo' && git log --pretty=oneline -2|awk '{print $1}'|xargs git diff --name-only|xargs zip ~/update.zip &&sz ~/update.zip

###curl resolve

###内存清理

  • #!/bin/bash
  • source /etc/profile
  • source /root/.bash_profile
  • sync
  • echo 3 > /proc/sys/vm/drop_caches

###mysql清理请求

  • mysqladmin -uroot -p processlist|awk -F "|" '{print $2}'|xargs -n 1 mysqladmin -uroot -p kill

###cannot find input file: Makefile.in

  • aclocal
  • autoconf
  • autoheader
  • automake --add-missing

###mount && remount

  • mount -t tmpfs -o size=2560m,mode=0755 tmpfs /var/www/html/Baidu/Quote
  • mount -o remount,size=2560m,mode=0755 tmpfs /var/www/html/Baidu/Quote

About

workflow for php

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages