svn-rev-diff-export is a handy bash snippet that allows you to export files changed between two revisions.
svn-rev-diff-export.sh -u <path> -f revFROM -t revTO -o <path>
-f, --rev-from revFROM
| echo 'export PATH=$HOME/local/bin:$PATH' >> ~/.bashrc | |
| . ~/.bashrc | |
| mkdir ~/local | |
| mkdir ~/node-latest-install | |
| cd ~/node-latest-install | |
| curl http://nodejs.org/dist/node-latest.tar.gz | tar xz --strip-components=1 | |
| ./configure --prefix=~/local | |
| make install # ok, fine, this step probably takes more than 30 seconds... | |
| curl https://npmjs.org/install.sh | sh |
| @echo off | |
| color 0a | |
| title 清理win7系统垃圾--- | |
| echo ★☆★☆★☆★☆★☆★☆★☆★☆★☆★☆★☆★ | |
| echo ★☆★☆★☆★☆★☆★☆★☆★☆★☆★☆★☆★ | |
| echo.★☆ ☆★ | |
| echo.★☆ ☆★ | |
| echo.★☆ ☆★ | |
| echo ★☆ 正在清除系统垃圾文件,请稍等..... ☆★ | |
| echo.★☆ ☆★ |
| #!/bin/sh | |
| yum -y groupinstall "Development Tools" | |
| wget http://dl.fedoraproject.org/pub/epel/5/x86_64/epel-release-5-4.noarch.rpm | |
| wget http://rpms.famillecollet.com/enterprise/remi-release-5.rpm | |
| rpm -Uvh epel-release-5*.rpm | |
| rpm -Uvh remi-release-5*.rpm | |
| yum -y install python-devel screen | |
| yum --enablerepo=remi install libcurl-devel -y | |
| mkdir /opt/miner | |
| cd /opt/miner |
| #! /usr/bin/env python2.7 | |
| #encoding:utf-8 | |
| #@description:一个python守护进程的例子 | |
| #@tags:python,daemon | |
| import sys | |
| import os | |
| import time | |
| import atexit | |
| from signal import SIGTERM |