View gmail_stats.rb
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
# This program parses an mbox file from Google Takeout to identify the senders and subjects lines that use the most space in a Gmail account | |
# Disclaimer: sizes or message detection may not be accurate, takes a few minutes for a 30GB file | |
# Usage: ruby gmail_stats.rb filename.mbox | |
# keep track of totals | |
$senders = {} | |
$subjects = {} | |
$labels = {} |
View payza_m.php
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
<?php | |
defined('BASEPATH') OR exit('No direct script access allowed'); | |
/** | |
* The Payza Gateway | |
* | |
* @subpackage Gateway | |
* @category Payments | |
*/ |