This file contains hidden or 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 | |
| CONTAINER=$1 | |
| COMMAND=$2 | |
| ID=`docker inspect --format '{{ .State.Pid }}' $CONTAINER` | |
| sudo nsenter -m -u -n -i -p -t $ID $COMMAND |
This file contains hidden or 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
| --- | |
| - /opt/foreman/vendor/ruby/1.9.1/gems/activerecord-3.2.21/lib/active_record/relation/finder_methods.rb:313:in | |
| `find_with_ids' | |
| - /opt/foreman/vendor/ruby/1.9.1/gems/activerecord-3.2.21/lib/active_record/relation/finder_methods.rb:107:in | |
| `find' | |
| - /opt/foreman/vendor/ruby/1.9.1/gems/activerecord-3.2.21/lib/active_record/querying.rb:5:in | |
| `find' | |
| - /opt/foreman/app/models/host.rb:16:in `method_missing' | |
| - /opt/foreman/vendor/ruby/1.9.1/gems/foreman_snapshot-0.1.0/app/models/hostgroup_extensions.rb:16:in | |
| `block in snapshot!' |
This file contains hidden or 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
| # | |
| # Installs NRPE and asks puppet managed Nagios to create required | |
| # configurations using exported resources feature. | |
| # The exported resourcs relays on PuppetDB, make sure Puppet Master using it. | |
| # | |
| # === Parameters | |
| # | |
| # [*nagios_servers*] | |
| # FQDN of Nagios server. | |
| # The parameter used as a list of allows servers in nrpe.cfg |
This file contains hidden or 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
| /** | |
| * | |
| * Created by shelbysturgis on 1/23/14. | |
| */ | |
| define(['scripts/d3.v3', 'scripts/elasticsearch', 'scripts/c3/c3'], function (d3, elasticsearch) { | |
| "use strict"; | |
| var client = new elasticsearch.Client({ | |
| host: 'http://elasticsearch-abraverm.rhcloud.com/elasticsearch', |
This file contains hidden or 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 | |
| CLIENT_LIST_START=$(docker exec -i vpn-server grep -m 1 -n "Connected Since" /tmp/openvpn-status.log | cut -d ":" -f 1) | |
| CLIENT_LIST_END=$(docker exec -i vpn-server grep -m 1 -n "ROUTING[ _]TABLE" /tmp/openvpn-status.log | cut -d ":" -f 1) | |
| CLIENT_COUNT=$((${CLIENT_LIST_END} - ${CLIENT_LIST_START} - 1)) | |
| if [ ! -e "/tmp/vpn_check" ]; then | |
| echo 1 > "/tmp/vpn_check" | |
| fi | |
| NUM_CHECK=$(cat "/tmp/vpn_check") | |
| if [ ! $CLIENT_COUNT -gt "0" ]; then |
This file contains hidden or 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
| /** | |
| * Copyright (c) 2010 - 2016 by Eric Van Dewoestine | |
| * | |
| * Permission is hereby granted, free of charge, to any person obtaining a | |
| * copy of this software and associated documentation files (the "Software"), | |
| * to deal in the Software without restriction, including without limitation | |
| * the rights to use, copy, modify, merge, publish, distribute, sublicense, | |
| * and/or sell copies of the Software, and to permit persons to whom the | |
| * Software is furnished to do so, subject to the following conditions: | |
| * |
This file contains hidden or 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
| # CentOS-SCLo-rh.repo | |
| # | |
| # Please see http://wiki.centos.org/SpecialInterestGroup/SCLo for more | |
| # information | |
| [centos-sclo-rh] | |
| name=CentOS-7 - SCLo rh | |
| baseurl=http://mirror.centos.org/centos/7/sclo/$basearch/rh/ | |
| gpgcheck=1 | |
| enabled=1 |
This file contains hidden or 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: Install Termite and vte-ng requirements | |
| dnf: | |
| state: present | |
| name: "{{ item }}" | |
| with_items: | |
| - gtk-doc | |
| - glib2-devel | |
| - gcc-c++ | |
| - libtool |
This file contains hidden or 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
| # /etc/udev/rules.d/95-monitor-hotplug.rules | |
| IMPORT{program}="/usr/bin/xpub", ACTION=="change", SUBSYSTEM=="drm", KERNEL=="card0", RUN+="/bin/su $env{XUSER} -c /home/$env{XUSER}/bin/screen_layout.sh" |
This file contains hidden or 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 my Blockstack ID is secured with the address 14xoso9ZyWcdL3bByNEpHaGuiU6coGvgit https://explorer.blockstack.org/address/14xoso9ZyWcdL3bByNEpHaGuiU6coGvgit |
OlderNewer