Blogs

Hacked by Li


A tranche of daily Http: requests to my server, a peculiar block of chinese addresses and other IPs in my apache conf blacklist. These guys are fucking relentless.


Perl script scraping the Apache error logs and poking them into mysql using DBI:
teaserpic: 

Drupal WYSIWYG module and gallery.menalto.com hack

Gallery2 image buttons missing from the your rich-text editor ? I'm sure this is relevant to the other CMS', Joomla and wordpress.
From the drupal issues queue http://drupal.org/node/300305
http://drupal.org/node/350100

G2-icon-tinymce

Locate the wysiwyg_tinymce_plugins function in tinymce.inc
teaserpic: 

LS1 to Caprice B-body Swap

LS1 engine harness layout

teaserpic: 

Gallery2 .htaccess rewrite conditions

# BEGIN Url Rewrite section
# (Automatically generated.  Do not edit this section)
<IfModule mod_rewrite.c>
    RewriteEngine On

    RewriteBase /

    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -d [OR]
    RewriteCond %{REQUEST_FILENAME} gallery\_remote2\.php
    RewriteCond %{REQUEST_URI} !/index\.php$
    RewriteRule .   -   [L]

How to push sedans

So, yer out of gas and have to push huh ?

All kidding aside, here' s how I push drupal and gallery2 from dev to a production host.

localhost
dump drupal DB with backup_migrate module
### location: /var/www/"websitedirectory"/drupal/sites/default/files/backup_migrate/manual
export gallery2 DB w phpmyadmin
### note: backup function in gallery2 produced an xml dump that phpmyadmin import didn't like

Syndicate content
James Horvath Gooey Website
James Horvath Gooey Oooey