I hereby claim:
- I am fred on github.
- I am frederico (https://keybase.io/frederico) on keybase.
- I have a public key ASCKg-KYS58Ub3P-nBUGn9Sg-6JWPFqWxOegmzG8ed_FeAo
To claim this, I am signing this object:
#!/usr/bin/env ruby | |
# how to run: | |
# ruby ./omise_export.rb | |
require 'date' | |
require 'json' | |
# CHANGE the next 4 variables | |
# just be aware of timezone overlapping between months, Omise will parse dates as UTC time | |
skey = 'your secret key' |
#!/usr/bin/env ruby | |
# how to run: | |
# ruby ./omise_export.rb | |
# Works on Mac OS X | |
# It will generate (and overwrite) a csv file with name full_transactions.csv | |
require 'date' | |
require 'json' | |
# Update your valid Live Secret Key, this is only a test key: |
require 'aws-sdk' | |
require 'json' | |
require 'uri' | |
# Your current cloudtrail S3 preffix | |
BASE="AWSLogs/xxxxxxxxxxxxxxx/CloudTrail/ap-southeast-1" | |
BUCKET_NAME="bucket_name" | |
AWS_ACCESS_ID = 'XXXXXXXXXXXXXX' | |
AWS_SECRET_KEY = 'xxxxxxxxxxxxxxxxxxxxx' |
# Ruby Script to Get messages from SQS containing information of Cloudtrail json.gz file in S3 | |
# everytime a cloudtrail event occurs, AWS will upload the log in json.gz format to S3 and notify in SQS | |
# we use SQS to get new log events and download from S3, combine all in one json file for bulk importing to Elasticserach | |
# ready to be used with Kibana | |
# Run this houly or every 30 minutes. | |
require 'aws-sdk' | |
require 'json' |
I hereby claim:
To claim this, I am signing this object:
^3[47][0-9]{13}$
^(6541|6556)[0-9]{12}$
^389[0-9]{11}$
^3(?:0[0-5]|[68][0-9])[0-9]{11}$
^65[4-9][0-9]{13}|64[4-9][0-9]{13}|6011[0-9]{12}|(622(?:12[6-9]|1[3-9][0-9]|[2-8][0-9][0-9]|9[01][0-9]|92[0-5])[0-9]{10})$
^63[7-9][0-9]{13}$
^(?:2131|1800|35\d{3})\d{11}$
^9[0-9]{15}$
0xcF2a48e8a200E830C2Bc36CC2368f2BBec9c4d37 |
tiktok.com | |
tiktokv.com | |
tiktoktv.com | |
tiktokcn.com | |
tiktokcdn.com | |
musical.ly |
require 'json' | |
require 'net/http' | |
require 'uri' | |
require 'csv' | |
require 'logger' | |
class KandjiDeviceReport | |
BATCH_SIZE = 300 | |
def initialize(api_token, sub_domain) |
#!/bin/bash | |
# Script to completely remove TeamViewer from macOS | |
# This script should be run with root privileges via MDM | |
# Exit immediately if a command exits with a non-zero status | |
set -e | |
# Display a message indicating the uninstallation has started | |
echo "Starting TeamViewer uninstallation process..." |