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
" GigaSpaces Cloudify settings, excerpt from my .vimrc + additional comments | |
" * CTRL+F9 to run flake QuickFix, CTRL+Enter/Shift+CTRL+Enter to navigate | |
" * Tabulation settings. You might need to adjust the folder name "gigaspaces" | |
map <C-F9> :make<CR> | |
noremap <C-CR> :cn<CR>:cc<CR> | |
noremap <S-C-CR> :cN<CR>:cc<CR> | |
hi CursorLine guibg=#F4F4F4 |
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
- name: chef_node_one | |
type: cloudify.types.chef.db_server | |
properties: | |
chef_config: | |
version: 11.10.4-1 | |
chef_server_url: https://chef.example.com:443 | |
validation_client_name: chef-validator | |
validation_key: "-----BEGIN RSA PRIVATE KEY-----\n.......\n-----END RSA PRIVATE KEY-----\n" | |
node_name_prefix: chef-node- | |
node_name_suffix: .chef.example.com |
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
# WARNING: | |
# /etc/sudoers must not have "Default requiretty" for Puppet plugin to work | |
imports: | |
- http://www.getcloudify.org/spec/cloudify/3.0/types.yaml | |
plugins: | |
puppet_plugin: | |
derived_from: cloudify.plugins.agent_plugin |
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
# In new virtualenv: | |
PACKAGES="cloudify-dsl-parser cloudify-rest-client cloudify-cli cloudify-openstack-provider" | |
for pkg in $PACKAGES;do | |
pip install --upgrade https://github.com/Cloudify-Cosmo/$pkg/archive/master.zip | |
done |
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
# WARNING: | |
# /etc/sudoers must not have "Default requiretty" for Puppet plugin to work | |
imports: | |
- http://www.getcloudify.org/spec/cloudify/3.1/types.yaml | |
plugins: | |
puppet_plugin: | |
derived_from: cloudify.plugins.agent_plugin |
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
; Keys | |
(global-set-key [M-left] 'windmove-left) | |
(global-set-key [M-right] 'windmove-right) | |
(global-set-key [M-up] 'windmove-up) | |
(global-set-key [M-down] 'windmove-down) | |
(global-set-key [f2] 'save-buffer) | |
; Settings | |
(global-hi-lock-mode 1) | |
(ido-mode 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
" --- Global settings | |
set nocompatible | |
syntax on | |
set ts=4 sw=4 noet hls ai | |
set bs=indent,eol,start | |
set hi=100 | |
set laststatus=2 | |
set incsearch | |
" --- netrw settings |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> | |
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"> | |
<head> | |
<title>Webkit background image wrapping bug</title> | |
<meta http-equiv="content-type" content="text/html; charset=utf-8" /> | |
</head> | |
<body> | |
<br/> | |
50x40px div. background-image - 40x1 px, 37 top pixels transparent, 3 bottom pixes are red, green and blue from top to bottom. Followed by 50x40px div with background-color #888:<br/><br/> |
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
knife exec -E 'nodes.all.sort_by(&:name).each do |node| puts "#{printf "%-16s",node.ipaddress} #{node.name}" end' | |
# or | |
knife exec -E 'nodes.all.sort_by(&:ipaddress).each do |node| puts "#{printf "%-16s",node.ipaddress} #{node.name}" end' |
OlderNewer