This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # 关于oracle plsql developer | |
| imp file=xxx fromuser=xxx touser=xxx | |
| sqlplus "/as sysdba" | |
| startup |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # in app/models/ | |
| class NoisyImage | |
| require 'RMagick' | |
| include Magick | |
| attr_reader :code, :code_image | |
| def initialize(length = 4) | |
| text_size = 20 | |
| validbglinecolors = ['#FFF', '#FFF', '#FFF', '#FFF', '#FFF'] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/sh | |
| case "$1" in | |
| start) | |
| /usr/local/lighttpd/sbin/lighttpd -f /etc/lighttpd/lighttpd.conf > /dev/null 2>&1 | |
| ;; | |
| stop) | |
| killall lighttpd | |
| ;; | |
| restart) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # at bottom of environment.rb | |
| ActionMailer::Base.delivery_method = :smtp | |
| ActionMailer::Base.default_content_type = "text/html" | |
| ActionMailer::Base.smtp_settings = { | |
| :address => "smtp.126.com", | |
| :port => 25, | |
| :domain => "www.zhaoonline.com.com", | |
| :authentication => :login, | |
| :user_name => "[email protected]", | |
| :password => "xxxxxxxx", |
NewerOlder