This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
digraph { | |
compound = "true" | |
newrank = "true" | |
subgraph "root" { | |
"[root] aws_autoscaling_group.ecs_asg" [label = "aws_autoscaling_group.ecs_asg", shape = "box"] | |
"[root] aws_autoscaling_policy.asg_policy" [label = "aws_autoscaling_policy.asg_policy", shape = "box"] | |
"[root] aws_cloudwatch_metric_alarm.cpu_alarm" [label = "aws_cloudwatch_metric_alarm.cpu_alarm", shape = "box"] | |
"[root] aws_db_instance.wordpress-db" [label = "aws_db_instance.wordpress-db", shape = "box"] | |
"[root] aws_db_subnet_group.default" [label = "aws_db_subnet_group.default", shape = "box"] | |
"[root] aws_ecs_cluster.wordpress-cluster" [label = "aws_ecs_cluster.wordpress-cluster", shape = "box"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
######################################################################### | |
# 10-row School abacus | |
# by | |
# Michael H | |
######################################################################### | |
# Description partially extracted from from wikipedia | |
# | |
# Around the world, abaci have been used in pre-schools and elementary | |
# | |
# In Western countries, a bead frame similar to the Russian abacus but |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
failed: [localhost] => (item=pp-edi) => {"changed": true, "cmd": "bash -lc \"cd /var/www/pp-edi/releases/20151008014442/; bundle install\"", "delta": "0:00:16.737223", "end": "2015-10-08 01:47:12.374375", "item": "pp-edi", "rc": 5, "start": "2015-10-08 01:46:55.637152", "warnings": []} | |
stdout: Fetching gem metadata from https://rubygems.org/.......... | |
Fetching version metadata from https://rubygems.org/... | |
Fetching dependency metadata from https://rubygems.org/.. | |
Fetching [email protected]:PurchasingPlatform/as2.git | |
Fetching [email protected]:PurchasingPlatform/pp-client.git | |
Installing rake 10.2.1 | |
Using i18n 0.6.11 | |
Installing multi_json 1.10.1 | |
Installing activesupport 3.2.19 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Verifying that +overdrive is my blockchain ID. https://onename.com/overdrive |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
- name: Debug | |
hosts: localhost | |
tasks: | |
- debug: var=ansible_eth0["ipv4"]["address"] | |
- name: Get DNS record information | |
hosts: localhost | |
tasks: | |
- route53: command=get zone=foo.com record=subdomain.foo.com type=A private_zone=true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git ext/readline/extconf.rb ext/readline/extconf.rb | |
index 4920137..8e81253 100644 | |
--- ext/readline/extconf.rb | |
+++ ext/readline/extconf.rb | |
@@ -19,6 +19,10 @@ def readline.have_func(func) | |
return super(func, headers) | |
end | |
+def readline.have_type(type) | |
+ return super(type, headers) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Run the following command to install ruby p451 in Ubuntu 14.04 with libreadline version 6.3.4 | |
curl -fsSL https://gist.github.com/LeonB/10503374/raw | rbenv install --patch 2.0.0-p451 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
import os | |
import time | |
import boto | |
import boto.manage.cmdshell | |
def launch_instance(ami='ami-a73264ce', | |
instance_type='t1.micro', |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ---------------------------------------------------------------------------------------- | |
# helloworld.s. Hello world in assembly! | |
# ---------------------------------------------------------------------------------------- | |
.global _start | |
.text | |
_start: | |
# write(1, message, 13) | |
mov $1, %rax # system call ID. 1 is write |