Skip to content

Instantly share code, notes, and snippets.

View lantins's full-sized avatar

Luke Antins lantins

View GitHub Profile
@lantins
lantins / gist:5f853fd68d44fe305001
Created July 17, 2014 14:08
lantins - ssh key
ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAgEAvTS/Zj6fG/bWRwwtHsm1LV2pPsh9H6acQqxoOP9MuXPuA1JQ/bbIMOmn+Kpg4UcPKqv6/t55hdFmvzrKPrdES68fh6MUJsJ1MYUbx/vszZlNEuW+V7Evc/uXiK+xY2MGeDNrHdqWBuqTeGkkVQRhSe+XY0OCMY5K1YJdLM+O/MSyZ6kHd1ukJs8wJbAVZluQfML6GqLgIX1OYno8V/PGXloVWtKjjZrgQIezTPVlSGwJ1d3rHGggH800vOh2bQawpySYxSLDK/vS1BCl1Fwqe5HAVJm/Rsu06/iKMxgvtzsRl83zbriyaznR1qEcUJTSKISeve/847C9LrHnX1LEcmi1hZ1e7w3IJHkRxasVWdRNbwzm5gSwOetdfw8Jj6UXtZVl3eY+VH6cDgcxf4umJTDvzqapb0I2wbYWqIAN7pmDPwxtpxkO1djf69TKJ7Q2mhRWstWom3e+RcPg7H3PyNH+WhzNmskZgIJojg6uiiAgS/tl9CV7bjF/r/KdzbYgFIbyPs5K0bklQJsUS5ZbksgTR0VU4yEtM4gA8bk4ovNiYoAGjqVFXw5mkxOodnocIxZu6F7cihxZKaKbdNIimLkdAlC5lzusAbU48p67ZDCfiDHFz6kpN+a3jEgb/joGLWztW6IdaGkPyp3UXVNrQd/YeWGq46ijnFo11GZLeBk= [email protected] 2012-10-09

RDD (README Driven Development)

This talk is focused on the development of software, rather then websites.

You may of herd people talk about Agile, BDD, TDD but what about RDD? RDD, or README Driven Development is a simple process that works well in small teams or own your own.

The basic steps are as follows:

@lantins
lantins / gist:9805471
Last active August 29, 2015 13:57
Ideas of possible talks I could give at Code Cumbria
  • Tarsnap: online backup for the truly paranoid (and my little tool, tarsnapple)
  • TeX: Creating beutiful technical documents
  • RDD: README Driven Development
  • Designing binary protocols for low bandwidth entertainments
  • Designing binary file formats
  • Red, Green, Refactor, TDD Live Coding Example (Ruby & Minitest)
  • Ruby gem ecosystem, ship your own Gem!
  • Writing command line programes with Ruby and GLI
  • Unit testing C code
  • Game programming 101, what you need to know to build a game from scratch
ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAgEAvTS/Zj6fG/bWRwwtHsm1LV2pPsh9H6acQqxoOP9MuXPuA1JQ/bbIMOmn+Kpg4UcPKqv6/t55hdFmvzrKPrdES68fh6MUJsJ1MYUbx/vszZlNEuW+V7Evc/uXiK+xY2MGeDNrHdqWBuqTeGkkVQRhSe+XY0OCMY5K1YJdLM+O/MSyZ6kHd1ukJs8wJbAVZluQfML6GqLgIX1OYno8V/PGXloVWtKjjZrgQIezTPVlSGwJ1d3rHGggH800vOh2bQawpySYxSLDK/vS1BCl1Fwqe5HAVJm/Rsu06/iKMxgvtzsRl83zbriyaznR1qEcUJTSKISeve/847C9LrHnX1LEcmi1hZ1e7w3IJHkRxasVWdRNbwzm5gSwOetdfw8Jj6UXtZVl3eY+VH6cDgcxf4umJTDvzqapb0I2wbYWqIAN7pmDPwxtpxkO1djf69TKJ7Q2mhRWstWom3e+RcPg7H3PyNH+WhzNmskZgIJojg6uiiAgS/tl9CV7bjF/r/KdzbYgFIbyPs5K0bklQJsUS5ZbksgTR0VU4yEtM4gA8bk4ovNiYoAGjqVFXw5mkxOodnocIxZu6F7cihxZKaKbdNIimLkdAlC5lzusAbU48p67ZDCfiDHFz6kpN+a3jEgb/joGLWztW6IdaGkPyp3UXVNrQd/YeWGq46ijnFo11GZLeBk= [email protected] 2012-10-09
<!DOCTYPE html>
<html>
<head>
<meta name="description" content="Multiple `page controllers` using CanJS " />
<script src="//code.jquery.com/jquery-1.10.1.min.js"></script>
<script src="//canjs.com/release/2.0.4/can.jquery.js"></script>
<meta charset=utf-8 />
<title>JS Bin</title>
</head>
<body>
<tbody>
<!-- table rows -->
<% if domains.blank? %>
<tr class="">
<td colspan="5">
<div class="text-center">No domain names to display.</div>
</td>
</tr>
<% else %>
<% domains.each do |domain| %>
scope 'hosting/*hostname', :format => false do
resource :email, :only => [:edit, :update], :controller => 'email/service' do
get '', :controller => 'email/service', :action => :show, :as => :service
resources :catchall, :controller => 'email/catchall'
resource :relay, :controller => 'email/relay' do
resources :allow, :only => [:index, :new, :create, :delete, :destroy], :controller => 'email/relay_allow'
end
resources :forwards, :controller => 'email/forwards' do
resources :to, :controller => 'email/forward_tos'
end
{
"id":69,
"protocol":"svtu",
"identity":"00-00-03-a2-f2-61",
"received_at":"2012-07-07T08:27:10Z",
"transport":"ip",
"message":{
"format":"decoded",
"header":{
"protocol_version":"iris_extended_ascii",
- name: ensure scripts in /etc/update-motd.d/ directory are current
action: >
copy src=files/update-motd.d/$item dest=/etc/update-motd.d/$item
owner=root group=root mode=0755 state=file
with_items:
- 00-header
- 01-ansible-managed
- 50-landscape-sysinfo
- 90-updates-available
- 91-release-upgrade
root@server1:~/ansible# make tests
PYTHONPATH=./lib nosetests -d -v
test_complex_enumeration (TestInventory.TestInventory) ... ok
test_complex_exclude (TestInventory.TestInventory) ... ok
test_complex_vars (TestInventory.TestInventory) ... ok
Test the case when playbook 'hosts' var is a list. ... ok
test_script (TestInventory.TestInventory) ... ok
test_script_all (TestInventory.TestInventory) ... ok
test_script_combined (TestInventory.TestInventory) ... ok
test_script_multiple_groups (TestInventory.TestInventory) ... ok