I hereby claim:
- I am dmgig on github.
- I am dmgg (https://keybase.io/dmgg) on keybase.
- I have a public key ASDVdQUy1w4fQ4GKUG5DnC8QS4ZIUD404XDZ7hy0VzMWJwo
To claim this, I am signing this object:
| <html> | |
| <head> | |
| <link rel="stylesheet" href="node_modules/bootstrap/dist/css/bootstrap.min.css"> | |
| <script src="node_modules/jquery/dist/jquery.min.js"></script> | |
| <script src="node_modules/bootstrap/dist/js/bootstrap.min.js"></script> | |
| <script src="https://cdnjs.cloudflare.com/ajax/libs/angular.js/1.5.2/angular.js"></script> | |
| </head> | |
| <body> | |
| <div class="container" ng-app="DataValidationApp"> |
| #!/bin/bash | |
| LOGPATH='/var/log/apache2' | |
| FILES="$(ls -1 ${LOGPATH}/access_log* )" | |
| for FILE in $FILES | |
| do | |
| echo $FILE | |
| if [ ${FILE: -3} == ".gz" ] | |
| then |
| cat my.log | grep "completion time:" | awk '{ if($8 > 10) print $8 }' |
I hereby claim:
To claim this, I am signing this object:
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta charset="utf-8"> | |
| <title>QUnit Matrix Tests</title> | |
| <link rel="stylesheet" href="//code.jquery.com/qunit/qunit-1.19.0.css"> | |
| </head> | |
| <body> | |
| <div id="qunit"></div> | |
| <div id="qunit-fixture"></div> |
| #! /bin/bash | |
| # Note: This script disables foreign key checks and ignores all errors! | |
| DUMPDIR='/tmp/mysql_dumps/' | |
| USERNAME='root' | |
| PASSWORD='MyP@55' | |
| DATABASE='databaseName' |
| /** | |
| * editBox | |
| * auto-updating form, with reset/resave | |
| * @author D.M. Giglio | |
| */ | |
| (function(window, document, $){ | |
| 'use strict'; | |
| $(document).ready(function(){ |
| # mysql: momentarily enable, then view, general log table | |
| SET GLOBAL log_output = 'TABLE'; | |
| SET GLOBAL general_log = 'ON'; | |
| SELECT SLEEP(5); | |
| SET GLOBAL general_log = 'OFF'; | |
| SELECT * FROM mysql.general_log; | |
| ###### |
| # whole table check | |
| pt-table-checksum --databases=world --tables=city --user=root --ask-pass --no-check-binlog-format | |
| # with a parameter for smaller samples | |
| pt-table-checksum --databases=world --tables=city --where="name LIKE '%a%'" --user=root --ask-pass --no-check-binlog-format |
| PTDEBUG=1 pt-heartbeat --host="mysql-b" --user=root --ask-pass --database="percona" --monitor --master-server-id="14" --frames=1m,5m,15m,1h,12h,1d |