原创 vnc 粘貼
vncconfig -nowin&
原创 Apache 多DNS 及其轉發配置
<VirtualHost 192.168.1.38:80> ServerAdmin [email protected] DocumentRoot E:/MyWork/splitsystem/raisefact
原创 Centos 開機自動運行腳本
vi /etc/rc.d/rc.local
原创 Show databases
show databases; The command mysql shows each database.
原创 Google 企業域名郵箱註冊地址
使用Gmail做域名郵箱需要註冊Google的企業應用套件,標準版是免費的,註冊地址:http://www.google.com/apps/intl/zh-CN/group/index.html
原创 Ruby production 模式啓動站點
ruby script/rails server mongrel start -e production,以production 模式執行 一、取消 environment.rb 文件中的對 ENV['RAILS_ENV'] ||=
原创 CentOS 安裝Object-C
1. $ yum -y install gcc-objc2. 從http://wwwmain.gnustep.org下載GNUstep Startup和GNUstep Base,並從源碼進行安裝。3.. $ export PATH=$PA
原创 linux 檢查端口占用
yum install lsof lsof -i :80 點贊 收藏 分享 文章舉報 reddream228 發佈了41 篇原創文章 · 獲贊 0 · 訪問量 7萬+
原创 Ruby on rails 環境搭建
1. 下載 rubyinstaller-1.9.2-p290.exe ,隨意安裝進一個盤(安裝的時候要把註冊環境變量 tcl 和 關聯 .rb 都選上). 安裝好後,打開cmd, 用 ruby -v 檢測出版本號,則正常。 2. 安裝
原创 mongrel 命令
Usage: mongrel_rails <command> [options] -e, --environment ENV
原创 ubuntu 時間同步
ntpdate ntp.ubuntu.com 點贊 收藏
原创 Glassfish 日誌設置
原文轉載: http://download.oracle.com/docs/cd/E18930_01/html/821-2416/gklmn.html 關鍵: com.sun.enterprise.server.logging.G
原创 svn 創建分支
建立分支最簡單的方法svn copy可以直接對兩個URL操作,下面是從最新revision上創建branches。$ svn copy http://svn.example.com/repos/calc/trunk /
原创 從騰訊上弄下來的 設置首頁
$("a.fav").click(function(e){ e.preventDefault(); var bookmarkUrl = this.href; var bookmarkTitle = this.title; if (
原创 mysql 修改root 密碼
mysql -u root mysql> use mysql; mysql> UPDATE user SET Password = PASSWORD('newpass') WHERE user = 'root'; mys