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
pid: 1325 exe: /usr/libexec/mysqld cmdline: /usr/libexec/mysqld --basedir=/usr --datadir=/var/lib/mysql --user=mysql --log-error=/var/log/mysqld.log --pid-file=/var/run/mysqld/mysqld.pid --socket=/var/lib/mysql/mysql.sock: /usr/lib64/libssl.so.1.0.1e | |
pid: 1356 exe: /usr/sbin/exim cmdline: /usr/sbin/exim -bd -q1h: /usr/lib64/libssl.so.1.0.1e | |
pid: 1367 exe: /usr/sbin/httpd cmdline: /usr/sbin/httpd: /usr/lib64/libssl.so.1.0.1e | |
pid: 1456 exe: /usr/sbin/bacula-fd cmdline: /usr/sbin/bacula-fd -u root -g bacula -c /etc/bacula/bacula-fd.conf: /usr/lib64/libssl.so.1.0.1e | |
pid: 20203 exe: /usr/sbin/httpd cmdline: /usr/sbin/httpd: /usr/lib64/libssl.so.1.0.1e | |
pid: 20204 exe: /usr/sbin/httpd cmdline: /usr/sbin/httpd: /usr/lib64/libssl.so.1.0.1e | |
pid: 20205 exe: /usr/sbin/httpd cmdline: /usr/sbin/httpd: /usr/lib64/libssl.so.1.0.1e | |
pid: 20206 exe: /usr/sbin/httpd cmdline: /usr/sbin/httpd: /usr/lib64/libssl.so.1.0.1e | |
pid: 20207 exe: /usr/sbin/httpd cmdline: /usr/sbin/httpd: /usr/lib64/libssl.so.1.0.1e | |
pid: 20208 exe: /usr/sbin |
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
# (c) 2015, Jan-Piet Mens <jpmens(at)gmail.com> | |
# | |
# This file is part of Ansible | |
# | |
# Ansible is free software: you can redistribute it and/or modify | |
# it under the terms of the GNU General Public License as published by | |
# the Free Software Foundation, either version 3 of the License, or | |
# (at your option) any later version. | |
# | |
# Ansible is distributed in the hope that it will be useful, |
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: Launch {{env}}-{{service}} Instance(s) | |
hosts: localhost | |
gather_facts: false | |
connection: local | |
vars_files: | |
- group_vars/env/{{ environment }}.yml | |
- group_vars/service/{{ service }}.yml | |
- group_vars/admin.yml | |
# Launch instances with the following parameters. Register the output. |
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
# Hello, and welcome to makefile basics. | |
# | |
# You will learn why `make` is so great, and why, despite its "weird" syntax, | |
# it is actually a highly expressive, efficient, and powerful way to build | |
# programs. | |
# | |
# Once you're done here, go to | |
# http://www.gnu.org/software/make/manual/make.html | |
# to learn SOOOO much more. |
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
#!/bin/bash | |
# This script will help you setup Docker for TLS authentication. | |
# Run it passing in the arguement for the FQDN of your docker server | |
# | |
# For example: | |
# ./create-docker-tls.sh myhost.docker.com | |
# | |
# The script will also create a profile.d (if it exists) entry | |
# which configures your docker client to use TLS | |
# |
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 sys | |
import os | |
import time | |
try: | |
import boto | |
from boto.elasticache.layer1 import ElastiCacheConnection | |
from boto.regioninfo import RegionInfo |
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
console.log("start BiriBiriWorkerBox"); | |
// ==== config | |
var accountId = "123456789012"; | |
var cognitoRoleArn = "arn:aws:iam::123456789012:role/Cognito_WorkerBoxUnauth_DefaultRole"; | |
var cognitoIdentityPoolId = "us-east-1:xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"; | |
var queueUrl = "https://sqs.ap-northeast-1.amazonaws.com/123456789012/workerbox"; | |
// ==== mraa | |
var mraa = require('mraa'); |
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
console.log('Loading event'); | |
var aws = require('aws-sdk'); | |
var s3 = new aws.S3({apiVersion: '2006-03-01'}); | |
var autoscaling = new aws.AutoScaling({apiVersion: '2011-01-01'}); | |
exports.handler = function(event, context) { | |
console.log('Received event:'); | |
console.log(event); | |
//console.log(typeof event.Subject); | |
if (event.hasOwnProperty('Message')) { |
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
var AWS = require('aws-sdk'); | |
AWS.config.update({ | |
accessKeyId: '{AWS_KEY}', | |
secretAccessKey: '{AWS_SECRET}', | |
region: '{SNS_REGION}' | |
}); | |
var sns = new AWS.SNS(); |
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
module.exports = function ( grunt ) { | |
/** | |
* Load required Grunt tasks. These are installed based on the versions listed | |
* in `package.json` when you do `npm install` in this directory. | |
*/ | |
grunt.loadNpmTasks('grunt-contrib-clean'); | |
grunt.loadNpmTasks('grunt-contrib-copy'); | |
grunt.loadNpmTasks('grunt-contrib-jshint'); | |
grunt.loadNpmTasks('grunt-contrib-concat'); |