Jon Warbrick, July 2014, V3.2 (for Ansible 1.7)
First one found from of
Jon Warbrick, July 2014, V3.2 (for Ansible 1.7)
First one found from of
| #!/usr/bin/python | |
| # -*- coding: utf-8 -*- | |
| import numpy as np | |
| import matplotlib.pyplot as plt | |
| class RidgeRegressor(object): | |
| """ | |
| Linear Least Squares Regression with Tikhonov regularization. |
| #!/bin/bash | |
| yum install wget | |
| wget http://download.fedoraproject.org/pub/epel/7/x86_64/epel-release-7-10.noarch.rpm | |
| rpm -ivh epel-release-6-8.noarch.rpm | |
| yum install byobu | |
| byobu-enable | |
| # Default Key Bindings | |
| # F2 -> Create new window |
| [[local|localrc]] | |
| #OFFLINE=True | |
| RECLONE=True | |
| HORIZON_BRANCH=stable/mitaka | |
| KEYSTONE_BRANCH=stable/mitaka | |
| NOVA_BRANCH=stable/mitaka | |
| NEUTRON_BRANCH=stable/mitaka | |
| GLANCE_BRANCH=stable/mitaka | |
| CINDER_BRANCH=stable/mitaka |
| #! /usr/bin/python | |
| # Dispatch - synchronize two folders | |
| import os | |
| import filecmp | |
| import shutil | |
| from stat import * | |
| class Dispatch: | |
| ''' This class represents a synchronization object ''' |
Sure, Github wins on the UI. Hands down. But, despite my initial annoyance with Gerrit when I first started using it almost a year ago, I am now a convert. Fully. Let me tell you why.
Note: This is an opinionated (on purpose) piece. I assume your preferences are like mine on certain ideas, such as:
| #!/bin/bash | |
| # Sometimes you need to move your existing git repository | |
| # to a new remote repository (/new remote origin). | |
| # Here are a simple and quick steps that does exactly this. | |
| # | |
| # Let's assume we call "old repo" the repository you wish | |
| # to move, and "new repo" the one you wish to move to. | |
| # | |
| ### Step 1. Make sure you have a local copy of all "old repo" | |
| ### branches and tags. |
People
:bowtie: |
π :smile: |
π :laughing: |
|---|---|---|
π :blush: |
π :smiley: |
:relaxed: |
π :smirk: |
π :heart_eyes: |
π :kissing_heart: |
π :kissing_closed_eyes: |
π³ :flushed: |
π :relieved: |
π :satisfied: |
π :grin: |
π :wink: |
π :stuck_out_tongue_winking_eye: |
π :stuck_out_tongue_closed_eyes: |
π :grinning: |
π :kissing: |
π :kissing_smiling_eyes: |
π :stuck_out_tongue: |
| [[local|localrc]] | |
| # Modify to your environment | |
| #FIXED_RANGE=10.0.0.0/24 | |
| #FLOATING_RANGE=192.168.1.224/27 | |
| #PUBLIC_NETWORK_GATEWAY=192.168.1.225 | |
| #PUBLIC_INTERFACE=em1 | |
| #PHYSICAL_NETWORK=public | |
| #OVS_PHYSICAL_BRIDGE=br-ex | |
| #HOST_IP=104.199.204.70 |
| This gist demonstrates how to do a map-side join, loading one small dataset from DistributedCache into a HashMap | |
| in memory, and joining with a larger dataset. | |
| Includes: | |
| --------- | |
| 1. Input data and script download | |
| 2. Dataset structure review | |
| 3. Expected results | |
| 4. Mapper code | |
| 5. Driver code |