Skip to content

Instantly share code, notes, and snippets.

View bcmiller's full-sized avatar

Bill C. Miller bcmiller

  • emortgagelogic.om
  • arlington, tx
View GitHub Profile
@bcmiller
bcmiller / groups-distro.txt
Created April 13, 2012 18:26
groups-distro
mysql> SELECT COUNT(uid), groups FROM (SELECT count(nid) as groups, ou.uid from og_uid ou INNER JOIN users u on ou.uid = u.uid WHERE u.status = 1 GROUP BY ou.uid) subq GROUP BY groups;;
+------------+--------+
| COUNT(uid) | groups |
+------------+--------+
| 34630 | 1 |
| 14223 | 2 |
| 12062 | 3 |
| 14619 | 4 |
| 1611 | 5 |
| 970 | 6 |
@bcmiller
bcmiller / puppet-tryit.txt
Created April 25, 2012 17:26
puppet-tryit
[email protected]:/mnt/apci/Puppet# ./trytest.sh
info: Loading facts in php_zend_api_no
info: Loading facts in gem_bin_path
info: Loading facts in root_home
info: Loading facts in facter_dot_d
info: Loading facts in root_home
info: Loading facts in facter_dot_d
info: Loading facts in gem_bin_path
info: Loading facts in php_zend_api_no
debug: Executing '/mnt/apci/Puppet/nodes_extlookup.rb a.bcmiller.allplayers.com'