- normal
code block
ok?
- block?
how block is treated?
table solid line for n-th child | |
table { | |
border: 2px solid !important; | |
height: 90%; | |
} | |
table tr:nth-child(3n) { | |
border-bottom: 2px solid !important; | |
} |
import os | |
import sys | |
from fab_deploy import * | |
from fabric.contrib.console import confirm | |
from fabric.api import env, cd, prefix, local, sudo as _sudo, run as _run, hide, task, settings, abort | |
from fabric.contrib.files import exists, upload_template | |
from fabric.colors import yellow, green, blue, red | |
from fabric.operations import _prefix_commands, _prefix_env_vars | |
from contextlib import contextmanager |
code block
ok?
how block is treated?
# base requirements | |
sudo apt-get update | |
sudo apt-get install -y software-properties-common | |
sudo apt-get install -y python-setuptools python-dev libffi-dev libssl-dev git sshpass tree | |
sudo easy_install pip | |
sudo -H pip install cryptography | |
# sudo -H pip install ansible==2.1.1.0 if you don't need virtualenv | |
# virtualenv |
Install latest Ansible via pip + dependencies via a shell script
This file is used to install ansible in test kitchen when you set in the kitchen.yaml file
require_ansible_omnibus: true
By default test kitchen will always download and use the latest version of this install file.
WARNING: AS SOON AS YOU MERGE CODE HERE IT IS INSTANTLY AVAILABLE TO EVERYONE DOING OMNIBUS KITCHEN ANSIBLE INSTALLS:
ssh -D 8123 -f -C -q -N server
# From https://github.com/wnyc/PIL/blob/master/Scripts/gifmaker.py | |
# | |
# The Python Imaging Library | |
# $Id$ | |
# | |
# convert sequence format to GIF animation | |
# | |
# history: | |
# 97-01-03 fl created | |
# |
""" MODULE images2gif | |
Provides a function (writeGif) to write animated gif from a series | |
of PIL images or numpy arrays. | |
This code is provided as is, and is free to use for all. | |
Almar Klein (June 2009) | |
- based on gifmaker (in the scripts folder of the source distribution of PIL) |
open -a preview [files..]