- close viewer
- in registry key \Software\JavaSoft\Prefs\com\glavsoft\viewer\connections/History\0 delete value ui...
- run viewer again
select your vm:
xe vm-list
detect id of dom of its vm:
xe vm-param-list uuid=8e2dd6ac-4883-0e6e-5cce-afbf214fa916 | grep dom-id
read vnc port by that dom_id:
####bash color example:
echo -e "\e[0;31mМонтирую каталоги с диска u120 как:\e[0m"
####bash colors:
Original info and image: http://zipizap.wordpress.com/2011/09/28/quick-bash-colors/
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
unicorn -c config/unicorn.rb |
tar:
tar -zcvf archive_name.tar.gz dir_name
untar:
tar -zxvf file.tar.gz
example, if you want to change gitignore, but only in your local repo, do next:
git update-index --assume-unchanged .gitignore
If you are changed some files, but won't include its in your commit, do next:
- include files only you need:
git add filename
- stash other files:
git stash --keep-index
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
url=http://www.redmine.org/projects/redmine/wiki/RedmineTextFormatting | |
Email addresses | |
Email addresses are automatically turned into clickable links: | |
"Email someone":mailto:someone@foo.bar -- Email link with different text: Email someone | |
More complex email instructions can be added to an email link. A default subject, default body and CC information can be defined. Note that spaces in any of these fields need to be replaced with the code %20. | |
"Email webmaster and admin":mailto:webmaster@foo.bar?cc=admin@foo.bar -- Email to webmaster, CC admin: Email webmaster and admin | |
"Email someone for help":mailto:someone@foo.bar?subject=Website%20Help -- Email link with the subject "Website Help": Email someone for help |
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 jquery | |
//= require jquery_ujs | |
$(function() { | |
var source = new EventSource('/stream'); | |
source.addEventListener('counter', function(e) { | |
$('body').after(e.data + '<br />'); | |
}); | |
}); |
find -L . -name "*.png.webp" -exec rm {} \;