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
AWSTemplateFormatVersion: 2010-09-09 | |
Description: "Deploys a linux jenkins agent build server" | |
Parameters: | |
IamInstanceProfileParameter: | |
Type: String | |
InstanceTypeParameter: | |
Type: String | |
ImageIdParameter: |
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
import csv | |
from prettytable import from_csv | |
def main(): | |
write_csv() | |
read_csv() | |
import_pt_from_csv() | |
def write_csv(): |
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
{ | |
"Version": "2012-10-17", | |
"Statement": [ | |
{ | |
"Sid": "VisualEditor0", | |
"Effect": "Allow", | |
"Action": [ | |
"iot:UpdateThing", | |
"iot:GetThingShadow", | |
"iot:UpdateThingShadow", |
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
- Create user | |
aws iam create-user --user-name <username> | |
- Create login profile (to allow AWS Console access) | |
aws iam create-login-profile --user-name <value> --password <value> --password-reset-required | |
- Create access key (for programatic access) | |
aws iam create-access-key --user-name <username> | |
- Add user to group |
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
https://www.youtube.com/watch?v=6sWec7b0JIc | |
https://www.youtube.com/watch?v=xBLjXdyh3zs | |
https://www.youtube.com/watch?v=JsijdbjVlXw | |
https://www.youtube.com/watch?v=ExpkMy6DJ6o | |
https://docs.conan.io/en/latest/ |
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
import logging | |
import argparse | |
import os | |
import botocore | |
import json | |
import boto3 | |
logging.basicConfig(format='%(asctime)s : %(levelname)s : %(message)s', level=logging.INFO) |
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
\copy (<SQL Query - no ;>) To '/home/user/query.csv' With header CSV delimiter as ';' |
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
psql -h <endpoint/ip> -p <port> -d <dbname> -U <user> -W <password> |
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
References: | |
https://docs.microsoft.com/pt-br/visualstudio/install/use-command-line-parameters-to-install-visual-studio?view=vs-2017 | |
https://docs.microsoft.com/pt-br/visualstudio/install/workload-and-component-ids?view=vs-2017 | |
https://docs.microsoft.com/pt-br/visualstudio/install/workload-component-id-vs-community?view=vs-2017 | |
https://docs.microsoft.com/en-us/visualstudio/install/use-command-line-parameters-to-install-visual-studio?view=vs-2017 | |
Powershell commands: | |
setx /M PATH "%PATH%;C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\MSBuild\15.0\Bin; |
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
Documentation: | |
http://docs.graylog.org/en/3.0/pages/configuration/rest_api.html | |
http://docs.graylog.org/en/2.3/pages/users_and_roles/permission_system.html | |
https://github.com/Graylog2/graylog2-server/issues/4133 | |
https://github.com/Graylog2/graylog2-server/blob/2.3.1/graylog2-server/src/main/java/org/graylog2/shared/security/RestPermissions.java#L49 | |
Internal API documentation: | |
https://<your graylog address>/api/api-browser/ | |
Get permissions list: |
NewerOlder