I hereby claim:
- I am vincentvdk on github.
- I am vincentvdk (https://keybase.io/vincentvdk) on keybase.
- I have a public key whose fingerprint is 5CF6 F20A 0D0C 6F75 CF5B D4CA 350E 608F 48A2 73A3
To claim this, I am signing this object:
for system in systems: | |
if system.get('name') == host: | |
#print system['name'] | |
sys_id = system.get('id') | |
#id2 = int(idken) | |
print sys_id | |
#get the system name and print it | |
print "%s" % (system.get('name')) | |
#basechan = client.system.listBaseChannels(session, int(sys_id)) |
dn: cn=ansible,cn=schema,cn=config | |
objectClass: olcSchemaConfig | |
cn: ansible | |
olcAttributeTypes: {0}( 1.3.6.1.4.1.7637.70.1.2.1 NAME 'ansibleVar' DESC 'A va | |
riable=value setting for an Ansible host' EQUALITY caseIgnoreMatch SUBSTR cas | |
eIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{1024} ) | |
olcObjectClasses: {0}( 1.3.6.1.4.1.7637.70.1.1.1 NAME 'ansibleHost' DESC 'Ansi | |
ble host entry' SUP top AUXILIARY MAY ansibleVar ) |
running from Ansible works : | |
→ ansible 192.168.13.42 -m shell -a "update-alternatives --display java | grep currently | awk '{print \$5}'" -u root -k [master] | |
SSH password: | |
192.168.13.42 | success | rc=0 >> | |
/usr/lib/jvm/jre-1.6.0-openjdk.x86_64/bin/java | |
running from playbook |
host_var | |
======== | |
--- | |
storage_vg: vg_vms | |
vms: | |
node-00008: | |
disksize: 10000 | |
lvsize: 10G | |
memory: 1024 | |
cpu: 1 |
select concat(d.name, '.', if (b.name is null, '', b.name + '.'), a.name) from `dns` d, `domains` a | |
left join `domains` b on b.id = a.parent_id | |
where d.domain_id = a.id | |
limit 0, 500; |
I hereby claim:
To claim this, I am signing this object:
package main | |
import ( | |
"encoding/json" | |
"fmt" | |
) | |
func main() { | |
b := []byte(`{"key":"value"}`) |
CTRL + A
— Move to the beginning of the lineCTRL + E
— Move to the end of the lineCTRL + [left arrow]
— Move one word backward (on some systems this is ALT + B)CTRL + [right arrow]
— Move one word forward (on some systems this is ALT + F)CTRL + U
— (bash) Clear the characters on the line before the current cursor positionCTRL + U
—(zsh) If you're using the zsh, this will clear the entire lineCTRL + K
— Clear the characters on the line after the current cursor positionESC + [backspace]
— Delete the word in front of the cursorCreate a ~/.zshenv
file with content ZDOTDIR=/opt/config/zsh