<div dir="ltr">And so it came to pass that from from that day hence he should be called "Ella Flower".<div><br></div><div>A couple of things I didn't get to in my Ansible talk... you can have basic "for" loops in the YAML files, for example:</div><div><br></div><div><div>  - name: Install packages for all systems</div><div>    yum: name={{ item }} state=present</div><div>    with_items:</div><div>      - tmux</div><div>      - iotop</div><div>      - htop</div><div>      - vim-enhanced</div><div>      - zip</div><div>      - unzip</div><div>      - wget</div><div>      - lsof</div><div>      - bash-completion</div><div>      - dstat</div><div>      - ntp</div><div>      - dos2unix</div></div><div><br></div><div>And because Ansible understands state, you can add "handlers" that only get called if the task is actually run/updated. So for example, in the below, if the ssh config file is changed on the system, it will restart ssh:</div><div><br></div><div>tasks:</div><div><div>  - name: configure ssh to increase security</div><div>    copy: src=files/sshd_config dest=/etc/ssh/sshd_config owner=root group=root mode=600 backup=yes</div><div>    notify:</div><div>      restart sshd</div><div><br></div></div><div>... other tasks ...</div><div><div><br></div><div>  handlers:</div><div>  - name: restart sshd</div><div>    service: name=sshd state=restarted </div></div><div><br></div><div>You can get pretty complex, this is just a simple example.</div><div><br></div><div>And yes, tawodi can fly.</div><div><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Oct 8, 2014 at 9:13 PM,  <span dir="ltr"><<a href="mailto:jep200404@columbus.rr.com" target="_blank">jep200404@columbus.rr.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Thanks again to Pillar and Ben Rogers for hosting us at The Forge<br>
<br>
Ben Rogers recommends<br>
    Test Driven Development (By Example???) by Kent Beck<br>
likes Microsoft Natural Ergonomic Keyboard 4000<br>
pair programming<br>
One might write test, while other writes code,<br>
then swap duties for next module<br>
<br>
wp:Microsoft_Natural_keyboard#Natural_Ergonomic_Keyboard_4000<br>
close edge of keyboard is high, far edge of keyboard is low<br>
'6' on left bank frustrates traditionally trained touch-typists.<br>
<a href="http://blog.codinghorror.com/keyboarding-microsoft-natural-ergonomic-4000/" target="_blank">http://blog.codinghorror.com/keyboarding-microsoft-natural-ergonomic-4000/</a><br>
<br>
    It's like, how much more black could this be? and the answer is none.<br>
    None more black.<br>
<br>
    (so get a Ninja keyboard)<br>
<br>
wp:Happy Hacking Keyboard<br>
wp:Model M keyboard<br>
<a href="http://blog.codinghorror.com/the-code-keyboard/" target="_blank">http://blog.codinghorror.com/the-code-keyboard/</a><br>
<a href="http://blog.codinghorror.com/the-keyboard-cult/" target="_blank">http://blog.codinghorror.com/the-keyboard-cult/</a><br>
<br>
<br>
There were a number of small presentations.<br>
I like this way of doing meetings.<br>
<br>
Jim Prior gave trivial presentation<br>
echo `echo "print $i + 1" | python`<br>
# How to do above with awk instead of python?<br>
    awk "BEGIN {print $i + 1}"<br>
    echo "$i" | awk '{print $1 + 1}'<br>
<a href="http://lists.colug.net/pipermail/colug-432/2014-September/003357.html" target="_blank">http://lists.colug.net/pipermail/colug-432/2014-September/003357.html</a><br>
<br>
<a href="http://www.columbusunderground.com/forums/topic/5xnw-pizza-crawl-100214-6pm-starting-at-the-ohio-tap-room" target="_blank">http://www.columbusunderground.com/forums/topic/5xnw-pizza-crawl-100214-6pm-starting-at-the-ohio-tap-room</a><br>
<a href="http://theohiotaproom.com/" target="_blank">http://theohiotaproom.com/</a><br>
wp:Beer_bottle#Growler<br>
Andrew Kubera<br>
Growler web framework uses asyncio (URL???)<br>
not <a href="https://github.com/miyagawa/github-growler" target="_blank">https://github.com/miyagawa/github-growler</a><br>
not Boeing EA-18G Growler<br>
<a href="http://www.catb.org/~esr/writings/cathedral-bazaar/cathedral-bazaar/ar01s04.html" target="_blank">http://www.catb.org/~esr/writings/cathedral-bazaar/cathedral-bazaar/ar01s04.html</a><br>
wp:Release early, release often<br>
show us your code. What is URL for it?<br>
<br>
Jason Green<br>
colorized prompts (URL for such?, perhaps on <a href="https://github.com/gJigsaw??" target="_blank">https://github.com/gJigsaw??</a>?)<br>
Indicating success or failure of previous command in color of following prompt<br>
is cool. That's something I'd not heard of before.<br>
Jason, please post your command prompt code.<br>
<br>
Melvyn Ian Drag<br>
optimzing Python code for matrix multiplication<br>
wp:Row-major order<br>
wp:colum-major order<br>
cache friendly 32 KB pages<br>
partial differential equations<br>
    use matrix multiplication to solve them<br>
<br>
graphics transformation can use matrix multiplication<br>
    wp:Rotation formalisms in three dimensions<br>
    xrandr transform<br>
    (see 'xrandr --output VGA1 --transform ' commands in<br>
    <a href="https://mail.python.org/pipermail/centraloh/2012-July/001336.html" target="_blank">https://mail.python.org/pipermail/centraloh/2012-July/001336.html</a>)<br>
<br>
numpy arrays can be either<br>
declaration can specify either row-major or column-major order<br>
order: {'C', 'F'}<br>
'C': c-like (row-major order)<br>
'F': fortran-like (column-major order)<br>
see ">>> c = b.reshape(2,3,order='F')"<br>
in <a href="http://stackoverflow.com/questions/20341614/numpy-array-row-major-and-column-major" target="_blank">http://stackoverflow.com/questions/20341614/numpy-array-row-major-and-column-major</a><br>
<br>
Eric Floehr<br>
Tonight's presentation is brought to you by the letter A (for Ansible).<br>
wp:Ursula K. Le Guin<br>
wp:Ansible<br>
wp:Ansible (software)<br>
<a href="https://pypi.python.org/pypi/ansible" target="_blank">https://pypi.python.org/pypi/ansible</a><br>
setting up multiple machines<br>
chef<br>
puppet<br>
fabric<br>
paramiko<br>
ansible<br>
set up template in a virtual environment<br>
mkvirtualenv ansible-demo<br>
# <a href="http://virtualenvwrapper.readthedocs.org/en/latest/command_ref.html" target="_blank">http://virtualenvwrapper.readthedocs.org/en/latest/command_ref.html</a><br>
pip install ansible-demo<br>
    jinja2<br>
vi host (list of machine to configure)<br>
Centos 6 virtual machine<br>
base centos OS install<br>
ansible all -m ping -u root --ask-pass<br>
ansible all -m command -a "ls -l" -u root --ask-pass<br>
yaml file playbook<br>
vi base<br>
---<br>
- name: Apply common configuration<br>
  hosts: all<br>
  tasks:<br>
  -name: Update to latest software<br>
   yum: name=* state=latest<br>
<br>
  - name: Install packages required by Ansible<br>
    yum: name=libselinux-python state=present<br>
<br>
  - name: Add my user<br>
    user: name=eflower comment="Ella Flower" groups=wheel append=yes password=correcthorsebatterystaple<br>
<br>
  - name: Generate ssh keys<br>
    authorized_key: user=eflower generate_ssh_keys=yes ssh_key_bits=2048<br>
<br>
  - name: Copy over my public key<br>
    authorized_key: user=eflower key="{{ lookup('file', '/home/eflower/.ssh/id_rsa.pub') }}"<br>
<br>
  - name: Tighten ssh<br>
# install some favorite packages<br>
<br>
ansible-playbook base.yml -u root --ask-pass<br>
<br>
mkpasswd --method=SHA512<br>
# What about correct horse battery staple?<br>
If tawodi can fly.<br>
<br>
wp:Adventure game<br>
<a href="https://pypi.python.org/pypi/adventure" target="_blank">https://pypi.python.org/pypi/adventure</a><br>
written by Brandon Rhodes to learn Python 3<br>
<a href="https://github.com/brandon-rhodes/python-adventure" target="_blank">https://github.com/brandon-rhodes/python-adventure</a><br>
<br>
terminal program that emulates green phosphor<br>
<a href="https://github.com/Swordfish90/cool-retro-term" target="_blank">https://github.com/Swordfish90/cool-retro-term</a><br>
wp:<a href="https://en.wikipedia.org/wiki/Swordfishtrombones" target="_blank">https://en.wikipedia.org/wiki/Swordfishtrombones</a><br>
wp:Tom Waits<br>
wp:Rumble Fish<br>
<a href="http://www.columbusitalianfestival.com/" target="_blank">http://www.columbusitalianfestival.com/</a><br>
<br>
How are Rumble Fish and The Wizard of Oz (1939 film) alike?<br>
wp:The Wizard of Oz (1939 film)<br>
wp:The Graduate<br>
<br>
coursera<br>
windows<br>
    stock values<br>
    pandas<br>
    Python for Data Analysis by Wes McKinney<br>
<br>
Peter Carswell<br>
Panda3D<br>
michael dawson<br>
    making games<br>
    <a href="http://www.amazon.com/Python-Programming-Absolute-Beginner-Edition/dp/1435455002" target="_blank">http://www.amazon.com/Python-Programming-Absolute-Beginner-Edition/dp/1435455002</a><br>
<br>
wp:Fiat 124 Sport Spider<br>
wp:Ford Pantera<br>
<br>
wp:Neodymium<br>
wp:Mountain Pass rare earth mine<br>
wp:Long Now Foundation<br>
wp:Tesla Motors<br>
If Tesla Motors were to cease operations,<br>
how long could Tesla car owners operate their cars?<br>
<br>
VGA worked better than usual<br>
<br>
continued at Brazenhead<br>
<a href="http://www.hdrestaurants.com/brazenhead/5thavenue/index.htm" target="_blank">http://www.hdrestaurants.com/brazenhead/5thavenue/index.htm</a><br>
<br>
wp:tcsh<br>
<br>
wp:Comparison of command shells<br>
<br>
wp:Common_pawpaw<br>
wp:Osage_orange<br>
hand boils in LHC (well maybe not)<br>
wp:LHC<br>
wp:Supercritical fluid<br>
wp:Critical point (thermodynamics)<br>
wp:File:Phase-diag2.svg<br>
wp:Pressure volume diagram<br>
wp:Triple point<br>
wp:Space_suit#Exposure_to_space_without_a_space_suit<br>
<br>
wp:Magic_number_(programming)#Unnamed_numerical_constants<br>
wp:Asimina triloba<br>
wp:Watermelon Man (composition)<br>
_______________________________________________<br>
CentralOH mailing list<br>
<a href="mailto:CentralOH@python.org">CentralOH@python.org</a><br>
<a href="https://mail.python.org/mailman/listinfo/centraloh" target="_blank">https://mail.python.org/mailman/listinfo/centraloh</a><br>
</blockquote></div><br></div></div>