-
执行超过4个字符长的命令,按up或者down之后第一个字符没有消失。
解决方案:
找到cmder安装目录 cmder\vendor\ 修改clink.lua文件
将如下代码
-
git status时中文文件名乱码
现象:
\344\275\240\345\245\275
执行以下命令即可:
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
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
Vagrant.configure(2) do |config| | |
config.vm.box = "u14" | |
# config.vm.box_url = "http://mirrors.opencas.cn/ubuntu-vagrant/vagrant/trusty/20160323.1/trusty-server-cloudimg-amd64-vagrant-disk1.box" | |
config.vm.hostname = "vamdt" |
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
import javax.mail.MessagingException; | |
import javax.mail.Session; | |
import javax.mail.Transport; | |
import javax.mail.internet.InternetAddress; | |
import javax.mail.internet.MimeBodyPart; | |
import javax.mail.internet.MimeMessage; | |
import javax.mail.internet.MimeMultipart; | |
import java.util.*; | |
public class SendMail { |
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
telnet mail.host 25 | |
ehlo mail.host #握手 | |
mail from:<test@mail.host> #发送方 | |
rcpt to: <testing@target.mail.host> #收件方 | |
data #正文 | |
TO: testing@target.mail.host | |
FROM: test@mail.host | |
SUBJECT: telnet test | |
test,aha |
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
#!/usr/bin/env bash | |
JMETER_PATH=/path/to/jmeter | |
JMETER_PLAN_DIR=/path/to/jmx | |
set -xe | |
cd $(dirname $0) | |
pwd | |
for file in $(ls $JMETER_PLAN_DIR); do |
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
Windows Registry Editor Version 5.00 | |
[HKEY_CLASSES_ROOT\*\shell] | |
[HKEY_CLASSES_ROOT\*\shell\openwemacs] | |
@="&Edit with Emacs" | |
[HKEY_CLASSES_ROOT\*\shell\openwemacs\command] | |
@="E:\\tools\\emacs\\bin\\runemacs.exe \"%1\"" | |
[HKEY_CLASSES_ROOT\Directory\shell\openwemacs] | |
@="Edit &with Emacs" | |
[HKEY_CLASSES_ROOT\Directory\shell\openwemacs\command] |
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
e.=explorer . | |
gl=git log --oneline --all --graph --decorate $* | |
ls=ls --color --show-control-chars $* | |
pwd=cd | |
clear=cls | |
history=cat %CMDER_ROOT%\config\.history | |
unalias=alias /d $1 | |
g=git $* | |
gs=git status $* |
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
#!/usr/bin/env bash | |
usage() { | |
printf 'go-update.sh go$VERSION.$OS-$ARCH.tar.gz\n' | |
exit 1 | |
} | |
[ -z "$1" ] && usage | |
go_pkg_name="$1" |
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
#!/usr/bin/env bash | |
# eg, check gd extensions | |
php -r 'phpinfo();' | grep -A 20 gd$ |