I hereby claim:
- I am ianalexander on github.
- I am ianalexan (https://keybase.io/ianalexan) on keybase.
- I have a public key whose fingerprint is 5AEB FBE6 DEAF 6BFC 4110 3BD7 0610 E6C0 D4B3 D083
To claim this, I am signing this object:
| #! /usr/bin/python | |
| # ec2-enc.py | |
| # A simple Puppet ENC that converts EC2 Security Groups to Puppet classes | |
| import boto.ec2 | |
| import sys | |
| # EC2Group: Puppet Class | |
| GROUPS = {'default': 'role::default', 'web': 'role::web', 'app': 'role::app'} |
| #!/usr/bin/ruby | |
| ## | |
| # Classifies a puppet node based on its EC2 security group. | |
| # Requires the AWS gem. | |
| # Also requires a node_groups.yml file which specifies security groups | |
| # and the classes/params that should be applied, in the following | |
| # format (additionally keyed by security group name). | |
| # http://docs.puppetlabs.com/guides/external_nodes.html | |
| # |
| function creator(o, data, node) { | |
| var content = document.createElement(node); | |
| content.cellspacing = "3" | |
| var cell = document.createTextNode(data); | |
| content.appendChild(cell); | |
| o.appendChild(content); | |
| } | |
| function displayData(arr) { | |
| var table = document.createElement('table'); |
I hereby claim:
To claim this, I am signing this object:
#neural-style Installation
This guide will walk you through the setup for neural-style on AWS.
First we need to install torch, following the installation instructions here:
26.11.2015, ttur@futurice.com
See https://github.com/jcjohnson/neural-style for information on what is neural-style
See www.spiceprogram.org/artcorn to see what I've done with it
See this file for the related commands and installation procedures
| var a = $('ol.empReviews li.empReview').map(function (){ | |
| return [[ | |
| $(this).find('span.reviewer').text(), | |
| $(this).find('time.date').text(), | |
| $(this).find('.interviewOutcomes .flex-grid div span:eq(0)').text(), | |
| $(this).find('.interviewOutcomes .flex-grid div span:eq(1)').text(), | |
| $(this).find('.interviewOutcomes .flex-grid div span:eq(2)').text(), | |
| $(this).find('.interviewDetails').text(), | |
| $(this).find('.interviewQuestions span.interviewQuestion').text().replace('Answer Question', '') | |
| ]]; |