I hereby claim:
- I am addomafi on github.
- I am adautomartins (https://keybase.io/adautomartins) on keybase.
- I have a public key ASDBKXIFMd9xWhKxsBomATp6J9FBCGITOSxLBEAvcTukmwo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
#!/bin/bash | |
users=$1 | |
sudoers=$2 | |
for user in $users; do | |
set -- `echo $user | tr ':' ' '` | |
user=$1 | |
pem=$(echo "ssh-rsa $2" | base64 -w 0) | |
echo "Adding user ${user}" |
-- Drop Message Reports Data | |
truncate table OSB1213_SOAINFRA.WLI_QS_REPORT_DATA; | |
alter table OSB1213_SOAINFRA.WLI_QS_REPORT_DATA DISABLE constraint FK_WLI_QS_REPORT_DATA; | |
truncate table OSB1213_SOAINFRA.WLI_QS_REPORT_ATTRIBUTE; | |
alter table OSB1213_SOAINFRA.WLI_QS_REPORT_DATA ENABLE constraint FK_WLI_QS_REPORT_DATA; | |
-- Create Message Report Index | |
create index OSB1213_SOAINFRA.IDX$$_36870001 on | |
OSB1213_SOAINFRA.WLI_QS_REPORT_ATTRIBUTE("DB_TIMESTAMP","MSG_GUID"); | |
This guide explain how to create all the required certificates to enable SSL client authentication and revogation of certificates
Attention: I suppose that you already know how to generate a Self-Signed certificate for Root CA!
[ ca ]
defaults write com.apple.finder AppleShowAllFiles TRUE;killall Finder
defaults write com.apple.finder AppleShowAllFiles FALSE;killall Finder
Install HomeBrew first
brew update
brew tap caskroom/cask
brew install brew-cask
If you get the error "already installed", follow the instructions to unlink it, then install again:
virt-install -n manjaro-test -r 2640 --arch=x86_64 --os-type=linux --os-variant=archlinux --disk path=/home/addomafi/VirtualMachines/manjaro-kde.img,size=20,format=raw,bus=ide -w bridge=virbr0,model=virtio --graphics vnc,password=10s04k82 --noautoconsole --virt-type kvm --import
sudo qemu-system-x86_64 -enable-kvm -drive file=~/VirtualMachines/manjaro-kde.img,index=0,if=ide,media=disk -m 2640 -vnc :0 -smp 4,sockets=1,cores=4,threads=1,maxcpus=4
#!/usr/bin/env python | |
from airflow.api.common.experimental.trigger_dag import trigger_dag | |
from airflow.utils import timezone | |
import json, sys, datetime, six | |
if __name__ == '__main__': | |
trigger_dag_id = sys.argv[1] |
import sys | |
import boto3, json | |
from datetime import datetime, timedelta | |
import dateutil.parser | |
from time import sleep | |
# pbpaste | | jq -r '(map(keys) | add | unique) as $cols | map(. as $row | $cols | map($row[.])) as $rows | $cols, $rows[] | @csv' | sed s/\"//g | |
# based on http://www.quora.com/Amazon-S3/What-is-the-fastest-way-to-measure-the-total-size-of-an-S3-bucket |