Only allow specific IP address to access this bucket via API or HTTP.
{
"Version": "2008-10-17",
"Id": "S3PolicyId1",
"Statement": [
{
"Sid": "IPDeny",
### BEGIN INIT INFO | |
# Provides: Xvfb | |
# Required-Start: $local_fs $remote_fs | |
# Required-Stop: | |
# X-Start-Before: | |
# Default-Start: 2 3 4 5 | |
# Default-Stop: 0 1 6 | |
# Short-Description: Loads X Virtual Frame Buffer | |
### END INIT INFO | |
# To automatically run on startup use command: |
worker: QUEUE=* bundle exec rake environment resque:work | |
scheduler: bundle exec rake environment resque:scheduler |
sudo rkhunter --quiet --checkall --no-mail-on-warning |
#!/bin/sh | |
slapcat -v -l ldap.ldif |
#!/bin/bash | |
# Check your release, none LTS need to apply this script | |
# lsb_release -a | |
cd /tmp && mkdir src && cd src | |
wget http://ftp.gnu.org/gnu/bash/bash-4.3.tar.gz | |
#download all patches | |
for i in $(seq -f "%03g" 0 27); do wget http://ftp.gnu.org/gnu/bash/bash-4.3-patches/bash43-$i; done |
# Microsoft Windows | |
# (Win 7/Vista/XP/Win ME/Win 2000/Win 98) | |
# - Start -> Run -> type cmd | |
# At the command prompt, type: | |
ipconfig /flushdns | |
# Certain Linux distributions | |
# Restart the nscd daemon | |
/etc/rc.d/init.d/nscd restart |
[supervisord] | |
nodaemon=true | |
loglevel=debug | |
[program:bamboo] | |
redirect_stderr=true | |
command=/bin/bash -c "MARATHON_ENDPOINT=${MARATHON_ENDPOINT}; BAMBOO_ENDPOINT=${BAMBOO_ENDPOINT}; BAMBOO_ZK_HOST=${BAMBOO_ZK_HOST}; BAMBOO_ZK_PATH=${BAMBOO_ZK_PATH}; /var/bamboo/bamboo -bind="${BIND-:8000}" -config=${CONFIG_PATH-:config/production.example.json}" |
#!/usr/bin/env ruby | |
require 'socket' | |
require 'optparse' | |
# Collect INFO from Redis, report it to Graphite | |
opts = OptionParser.new do |opts| | |
opts.banner = "Usage: redis-graphite.rb redis_host[:port] graphite_host [graphite_prefix(e.g. redis.cluster-name.server-identifier)]" | |
opts.on( '-h', '--help', 'Display this screen' ) do | |
puts opts |
Only allow specific IP address to access this bucket via API or HTTP.
{
"Version": "2008-10-17",
"Id": "S3PolicyId1",
"Statement": [
{
"Sid": "IPDeny",
description "Faye websockets" | |
start on runlevel [2345] | |
stop on runlevel [!2345] | |
#Respawn the process if it crashes | |
#If it respawns more than 10 times in 5 seconds stop | |
#respawn | |
respawn limit 10 5 |