This file contains 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
Oct 21 19:11:39 sendmail[20611]: unable to qualify my own domain name (AY1210150342185b33738) -- using short name | |
Oct 21 19:11:39 sendmail[20611]: q9LBBdDv020611: [email protected], size=2840, class=0, nrcpts=3, msgid=<[email protected]>, relay=root@localhost | |
Oct 21 19:11:39 sm-mta[20624]: q9LBBdEI020624: from=<[email protected]>, size=2971, class=0, nrcpts=3, msgid=<[email protected]>, proto=ESMTP, daemon=MTA-v4, relay=localhost [127.0.0.1] | |
Oct 21 19:11:39 sendmail[20611]: q9LBBdDv020611: [email protected],[email protected],[email protected], [email protected] (0/0), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=92840, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (q9LBBdEI020624 Message accepted for delivery) | |
Oct 21 19:11:40 sm-mta[20626]: STARTTLS=client, relay=aspmx.l.google.com., version=TLSv1/SSLv3, verify=FAIL, cipher=ECDHE-RSA-RC4-SHA, bits=128/128 | |
Oct |
This file contains 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
Oct 21 19:11:39 sendmail[20611]: unable to qualify my own domain name (AY1210150342185b33738) -- using short name | |
Oct 21 19:11:39 sendmail[20611]: q9LBBdDv020611: [email protected], size=2840, class=0, nrcpts=3, msgid=<[email protected]>, relay=root@localhost | |
Oct 21 19:11:39 sm-mta[20624]: q9LBBdEI020624: from=<[email protected]>, size=2971, class=0, nrcpts=3, msgid=<[email protected]>, proto=ESMTP, daemon=MTA-v4, relay=localhost [127.0.0.1] | |
Oct 21 19:11:39 sendmail[20611]: q9LBBdDv020611: [email protected],[email protected],[email protected], [email protected] (0/0), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=92840, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (q9LBBdEI020624 Message accepted for delivery) | |
Oct 21 19:11:40 sm-mta[20626]: STARTTLS=client, relay=aspmx.l.google.com., version=TLSv1/SSLv3, verify=FAIL, cipher=ECDHE-RSA-RC4-SHA, bits=128/128 | |
Oct |
This file contains 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
<% | |
# if you need to work on a branch with a different schema, use | |
# git config --bool branch.the-new-branch.database true | |
# http://mislav.uniqpath.com/rails/branching-the-database-along-with-your-code/ | |
branch = `git symbolic-ref HEAD 2>/dev/null`.chomp.sub('refs/heads/', '') | |
suffix = `git config --bool branch.#{branch}.database`.chomp == 'true' ? "_#{branch}" : "" | |
%> | |
common: &common |
This file contains 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
ctrl+up, ctrl+down可以一行一行的滚动屏幕,pageUp pageDown一页一页翻动 | |
ctrl+L 选择当前行,ctrl+d 选择当前文字块,ctrl+shift+d是直接复制当前行 | |
ctrl + j join lines | |
Survive Before Multi-Selection | |
1.Press Alt or Command and then click in each region where you require a cursor. | |
2.Select a block of lines, and then press Shift + Command + L. |
This file contains 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
require 'resque/tasks' | |
namespace :ns do | |
desc "test task accepts param" | |
task :task, [:param] => [:environment] do |t,args| | |
abort "Please specify a param!" unless args[:param] | |
puts args[:param] | |
end | |
end |
This file contains 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
To get started, press Ctrl – Alt – Ton your keyboard to open the terminal. When it opens, run the commands below to download the deb package. | |
wget https://launchpad.net/~clipgrab-team/+archive/ppa/+files/clipgrab_3.2.0.9~precise2_i386.deb | |
Next, run the commands below to install ClipGrab. | |
sudo dpkg -i clipgrab* | |
If the above commands fail to install ClipGrab, run the commands below to force the installation. |
This file contains 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
30 2 * * * `/bin/sh /bin/dbbak.sh` |
This file contains 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
require 'mina/bundler' | |
require 'mina/rails' | |
require 'mina/git' | |
require 'mina/rbenv' | |
# Basic settings: | |
# domain - The hostname to SSH to | |
# deploy_to - Path to deploy into | |
# repository - Git repo to clone from (needed by mina/git) | |
# user - Username in the server to SSH to (optional) |
This file contains 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
0 * * * * /bin/bash -l -c 'cd /home/geek/www2/magic_orders && /home/geek/.rvm/gems/ruby-1.9.3-p194/bin/rails runner '\''TaobaoAppToken.first.check_or_refresh!'\''' |
This file contains 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
[global_config] | |
title_transmit_bg_color = "#839496" | |
title_inactive_fg_color = "#93a1a1" | |
title_transmit_fg_color = "#eee8d5" | |
title_inactive_bg_color = "#586e75" | |
[keybindings] | |
[profiles] | |
[[default]] | |
palette = "#073642:#d30102:#859900:#b58900:#6c71c4:#d33682:#2aa198:#839496:#586e75:#cb4b16:#859900:#b58900:#268bd2:#d33682:#2aa198:#93a1a1" | |
login_shell = True |