Skip to content

Instantly share code, notes, and snippets.

View crigor's full-sized avatar

Christopher Rigor crigor

View GitHub Profile

Keybase proof

I hereby claim:

  • I am crigor on github.
  • I am crigor (https://keybase.io/crigor) on keybase.
  • I have a public key whose fingerprint is 456E C67F A711 AA43 4B99 A78A 1234 8C77 CEBE 1753

To claim this, I am signing this object:

Keybase proof

I hereby claim:

  • I am crigor on github.
  • I am crigor (https://keybase.io/crigor) on keybase.
  • I have a public key whose fingerprint is 40D1 6E63 43E1 D567 8F77 D458 11EA 2C3D 7681 19FE

To claim this, I am signing this object:

template: Hello, %s!
defaultName: Stranger
server:
applicationConnectors:
- type: http
port: 8033
adminConnectors:
- type: http
port: 8081
ip-10-144-55-138 cookbooks # PATH=/usr/local/ey_resin/bin:$PATH /home/ey/bin/chef-solo -j /etc/chef-custom/dna.json -c /root/docker_cookbooks/solo.rb
[2016-07-04T02:52:51+00:00] INFO: Forking chef instance to converge...
Starting Chef Client, version 12.7.2
[2016-07-04T02:52:51+00:00] INFO: *** Chef 12.7.2 ***
[2016-07-04T02:52:51+00:00] INFO: Chef-client pid: 12220
[2016-07-04T02:52:53+00:00] INFO: Setting the run_list to recipe[main] from CLI options
[2016-07-04T02:52:53+00:00] INFO: Run List is [recipe[main]]
[2016-07-04T02:52:53+00:00] INFO: Run List expands to [main]
[2016-07-04T02:52:53+00:00] INFO: Starting Chef Run for i-518fbcd6
[2016-07-04T02:52:53+00:00] INFO: Running start handlers
ip-10-144-55-138 cookbooks # PATH=/usr/local/ey_resin/bin:$PATH /home/ey/bin/chef-solo -j /etc/chef-custom/dna.json -c /root/docker_cookbooks/solo.rb
[2016-07-04T02:56:15+00:00] INFO: Forking chef instance to converge...
Starting Chef Client, version 12.7.2
[2016-07-04T02:56:15+00:00] INFO: *** Chef 12.7.2 ***
[2016-07-04T02:56:15+00:00] INFO: Chef-client pid: 13474
[2016-07-04T02:56:17+00:00] INFO: Setting the run_list to recipe[main] from CLI options
[2016-07-04T02:56:17+00:00] INFO: Run List is [recipe[main]]
[2016-07-04T02:56:17+00:00] INFO: Run List expands to [main]
[2016-07-04T02:56:17+00:00] INFO: Starting Chef Run for i-518fbcd6
[2016-07-04T02:56:17+00:00] INFO: Running start handlers
@crigor
crigor / connect.rb
Created September 28, 2016 10:20
Modified version of tpol's script. Uses mysql2 gem.
#!/usr/bin/ruby
# gem install mysql2 -v 0.3.12b6
#require 'mysql'
require 'mysql2'
def usage
puts "USAGE: connect.rb <connections> [<runtime>]"
exit
@crigor
crigor / audit.rules
Created September 17, 2018 11:09 — forked from Neo23x0/audit.rules
Linux Auditd Best Practice Configuration
# ___ ___ __ __
# / | __ ______/ (_) /_____/ /
# / /| |/ / / / __ / / __/ __ /
# / ___ / /_/ / /_/ / / /_/ /_/ /
# /_/ |_\__,_/\__,_/_/\__/\__,_/
#
# Linux Audit Daemon - Best Practice Configuration
# /etc/audit/audit.rules
#
# Compiled by Florian Roth