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 | |
// myrep.php -- automated MySQL repairer | |
// | |
// Modified by Jeff Beeman, October, 2010 | |
// -- Added table optimization | |
// -- Reformatted code syntax | |
// | |
// Original: | |
// (C) Copyright 2008 David Cutting | |
// Released under the GNU GPL v3 |
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
SELECT alias, COUNT(pid) AS total FROM url_alias GROUP BY alias HAVING COUNT(pid) > 1 ORDER BY total ASC; |
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 is out of date. See https://github.com/jrbeeman/emacs.d |
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
#!/usr/bin/php | |
<?php | |
/** | |
* Utility a script that will loop through feed nodes of a given importer and, | |
* in a performant way, re-import them all. | |
* | |
* Usage: feeds-bulk-import @site-alias importer_name | |
*/ |
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 | |
/** | |
* Implements hook_form_alter(). | |
*/ | |
function mymodule_form_alter(&$form, &$form_state, $form_id) { | |
if (!empty($form['#node_edit_form']) && !empty($form['metatags'])) { | |
$form['metatags']['tokens']['#access'] = FALSE; | |
} | |
if ($form_id == 'flag_form') { |
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
[core] | |
excludesfile = /Users/jbeeman/.gitignore_global | |
editor = subl -n -w | |
[diff] | |
tool = vimdiff | |
memonicprefix = true | |
[difftool] | |
prompt = false |
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
diff --git a/core/composer.json b/core/composer.json | |
index 307aefa31d..bb9d0f2736 100644 | |
--- a/core/composer.json | |
+++ b/core/composer.json | |
@@ -5,31 +5,31 @@ | |
"license": "GPL-2.0-or-later", | |
"require": { | |
"php": ">=5.5.9", | |
- "symfony/class-loader": "~3.2.8", | |
- "symfony/console": "~3.2.8", |