Skip to content

Instantly share code, notes, and snippets.

View JonnoN's full-sized avatar

Jonathan Nicol JonnoN

  • looking for work
  • Seattle, WA
View GitHub Profile
@JonnoN
JonnoN / gist:5c7a36017d38caa3a2d70cea77fd9ac8
Last active September 17, 2019 20:34
SQL for measuring binlog group commit efficiency
-- (run this all at once)
set @binlog_commits_1 = (select variable_value from information_schema.global_status where variable_Name = 'Binlog_commits');
set @binlog_group_commits_1 = (select variable_value from information_schema.global_status where variable_Name = 'Binlog_group_commits');
set @trigger_count_1 = (select variable_value from information_schema.global_status where variable_Name = 'Binlog_group_commit_trigger_count');
set @trigger_timeout_1 = (select variable_value from information_schema.global_status where variable_Name = 'Binlog_group_commit_trigger_timeout');
select sleep(60);
set @binlog_commits_2 = (select variable_value from information_schema.global_status where variable_Name = 'Binlog_commits');
set @binlog_group_commits_2 = (select variable_value from information_schema.global_status where variable_Name = 'Binlog_group_commits');
set @trigger_count_2 = (select variable_value from information_schema.global_status where variable_Name = 'Binlog_group_commit_trigger_count');
set @trigger_
@AnthonyDiGirolamo
AnthonyDiGirolamo / userChrome.css
Last active June 4, 2023 19:40
thunderbird custom style for message and folder pane list
@namespace url(http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul);
/* Set Font Size In Folder Pane */
#folderTree >treechildren::-moz-tree-cell-text {
/*font-family: Lucida Sans !important;*/
font-size: 12pt !important; }
/* Set Font Size In Thread Pane */