I hereby claim:
- I am oussemos on github.
- I am oussemos (https://keybase.io/oussemos) on keybase.
- I have a public key ASCxCAEYXnNknY5hAD_x_6Eb2rIta_QRiDxgFTuED7-HsQo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| #/bin/sh | |
| sudo yum update -y | |
| sudo yum install nginx -y | |
| sudo sh -c "echo '<h1>Hello Smile</h1>' > /usr/share/nginx/html/index.html" | |
| sudo /etc/init.d/nginx restart | |
| sudo chkconfig nginx on |
| { | |
| "variables" : { | |
| "region" : "eu-west-1" | |
| }, | |
| "builders" : [ | |
| { | |
| "type" : "amazon-ebs", | |
| "access_key" : "xxxxxxxxxx", | |
| "secret_key" : "xxxxxxxxxx", | |
| "instance_type" : "t2.micro", |
| import boto3 | |
| wired_buckets = [ | |
| 'bucket', | |
| ] | |
| s3 = boto3.resource('s3') | |
| for wired_bucket in wired_buckets: |
| #!/bin/bash | |
| bucket=$1 | |
| set -e | |
| echo "Removing all versions from $bucket" | |
| versions=`aws s3api list-object-versions --bucket $bucket |jq '.Versions'` | |
| markers=`aws s3api list-object-versions --bucket $bucket |jq '.DeleteMarkers'` |
| # This file is overwritten upon Agent upgrade. | |
| # To make modifications to the check configuration, please copy this file | |
| # to `disk.yaml` and make your changes on that file. | |
| init_config: null | |
| instances: | |
| - excluded_filesystems: | |
| - tmpfs | |
| - none | |
| - nsfs | |
| - shm |
| --- | |
| - hosts: all | |
| pre_tasks: | |
| - name: Set correct sudoers entry for Vagrant | |
| lineinfile: "dest=/etc/sudoers.d/vagrant state=present create=yes regexp='^%vagrant ' line='%vagrant ALL=(ALL) NOPASSWD: ALL' validate='visudo -cf %s'" | |
| - name: Update apt cache | |
| apt: update_cache=yes cache_valid_time=7200 | |
| - hosts: mysql |
| 398 update-ca-trust force-enable | |
| 401 update-ca-trust extract | |
| 403 openssl s_client -showcerts -connect github.com:443 </dev/null 2>/dev/null|openssl x509 -outform PEM >mycertfile.pem | |
| 405 cp mycertfile.pem /etc/pki/ca-trust/source/anchors/ | |
| 406 update-ca-trust extract |
| #!/bin/sh | |
| # | |
| # Date : July 4th, 2005 | |
| # Author: Benson Wong | |
| # [email protected] | |
| # | |
| # This shell script corrects email messages where the file system | |
| # date does not match the Date: header in the email. | |
| # | |
| # This will fix problems with mail clients like Apple's mail.app |
| # Kernel sysctl configuration file for Linux | |
| # | |
| # Version 1.9 - 2011-03-23 | |
| # Michiel Klaver - IT Professional | |
| # http://klaver.it/linux/ for the latest version - http://klaver.it/bsd/ for a BSD variant | |
| # | |
| # This file should be saved as /etc/sysctl.conf and can be activated using the command: | |
| # sysctl -e -p /etc/sysctl.conf | |
| # | |
| # For binary values, 0 is disabled, 1 is enabled. See sysctl(8) and sysctl.conf(5) for more details. |