Skip to content

Instantly share code, notes, and snippets.

View mrmoneyc's full-sized avatar

Chun-Ping (Jeremy) Chang mrmoneyc

View GitHub Profile
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import json
import argparse
import boto3
# Parsing paramateres
parser = argparse.ArgumentParser(description='Change WAF Rule Action')
parser.add_argument('--web-acl-id', dest='web_acl_id', type=str, required=True, help='WAF Web ACL ID')
Gem::Version.new('0.3.2') < Gem::Version.new('0.10.1')
=> true
Gem::Version.new('0.3.0') == Gem::Version.new('0.3')
=> true

Keybase proof

I hereby claim:

  • I am mrmoneyc on github.
  • I am mrmoneyc (https://keybase.io/mrmoneyc) on keybase.
  • I have a public key ASA9Qq-dk4JV12yVD9nxJY4enWhKl1Dgx65SL4VeqXGYVwo

To claim this, I am signing this object: